Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

[SOLVED] Samba Network Share Read Only
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Solved: Samba Network Share Read Only
14th Feb, 2015, 04:33 AM
Post: #1
toblerone Offline
Registered
Posts: 2
Joined: Feb 2015
Reputation: 2
Samba Network Share Read Only
Hi there;

Software
XBian version: 1.0 (2015.02.07)
XBMC/Kodi version: 14.1
Overclock settings: N/A

Hardware
Device type and model: Raspberry Pi Model B+
Power supply rating: 1.5A
SD card size and make/type: Sandisk 8GB
Network (Ethernet or wireless): Ethernet 100M
Connected devices (TV, USB, network storage, ...): HDMI, USB HDD

Log files
Link to logfile(s): http://xbmclogs.com/show.php?id=425580

Problem description:
I cannot write to the USB 'Media' share on Windows. I can read it fine and write to other shares, just not the USB drive 'Media' share. How can I do something about this? I have read on Googled pages about changing the smb.conf file but whatever I did nothing changed, so I reverted all my changes. The Unix file perms are 777. I'm unsure about what to do next, so I'm here! Smile

How to reproduce:
Ummm, try to write to the share??
Find all posts by this user
Quote this message in a reply
14th Feb, 2015, 07:07 AM
Post: #2
toblerone Offline
Registered
Posts: 2
Joined: Feb 2015
Reputation: 2
RE: Samba Network Share Read Only
I found this here. It works!!!
Quote:RE: SAMBA with USB mountet Device under RC3
Hey,
I got the same issue. However, thanks to you @mk01 I know what was going on and how to fix it. There was no problem with the package (it was the newest one).

Here comes the output of net conf list:
Code:

Code:
[XBMC]
        path = /media/XBMC
        guest ok = yes
        read only = yes
        browseable = yes
        read list = xbian
        write list = xbian
        force user = xbian

[Backup]
        path = /media/Backup
        guest ok = yes
        read only = yes
        browseable = yes
        read list = xbian
        write list = xbian
        force user = xbian

[xbmc-backup]
        path = /xbmc-backup
        read only = no
        guest ok = yes
        force user = root
        browseable = yes

XBMC and Backup are labels of my partition, xbmc-backup share is made by xbian I guess.

So here is what I've done (as a superuser but net conf list required it earlier):
1. Copied all what's above to clipboard.
2. nano anyname.conf
3. Pasted.
4. Changed every read only = yes to read only = no and saved changes.
5. net conf drop (not sure if it is necessary but did it to clear earlier version)
6. net conf import anyname.conf
7. Reboot!

And now it works!
Thanks again @mk01 and hope it will help you, @Cre@tsheR, as well!
Find all posts by this user
Quote this message in a reply
14th Feb, 2015, 05:13 PM
Post: #3
f1vefour Offline
Administrator
******
Posts: 1,342
Joined: Mar 2013
Reputation: 58
RE: Samba Network Share Read Only
Thanks for finding and posting the resolution, also for marking it solved.

Please read rules and do a search before you post! | FAQs | How to post log file? | Can't find an answer? Contact us.
Visit this user's website Find all posts by this user
Quote this message in a reply
19th Feb, 2015, 08:55 AM
Post: #4
calhaus Offline
Registered
Posts: 39
Joined: Jul 2013
Reputation: 4
RE: Samba Network Share Read Only
Thanks for this! It worked for me also Wink
Find all posts by this user
Quote this message in a reply
19th Feb, 2015, 09:05 AM
Post: #5
CurlyMo Offline
Registered
Posts: 3,501
Joined: Dec 2012
Reputation: 202
RE: Samba Network Share Read Only
I've added an additional share by default that shares the /media folder:
Code:
[media]
path = /media
guest ok = yes
read only = no
force user = xbian
browseable = yes

pilight - modular domotica solution
Visit this user's website Find all posts by this user
Quote this message in a reply
19th Feb, 2015, 09:08 AM
Post: #6
calhaus Offline
Registered
Posts: 39
Joined: Jul 2013
Reputation: 4
RE: Samba Network Share Read Only
(19th Feb, 2015 09:05 AM)CurlyMo Wrote:  I've added an additional share by default that shares the /media folder:
Code:
[media]
path = /media
guest ok = yes
read only = no
force user = xbian
browseable = yes

I was adding this issue to github, i will not add it now. Smile
Find all posts by this user
Quote this message in a reply
23rd Feb, 2015, 08:43 PM
Post: #7
koswix Offline
Registered
Posts: 1
Joined: Feb 2015
Reputation: 0
RE: Samba Network Share Read Only
This issue also appeared for me in the last week (was fine previously, using the new raspberry pi).

Your fix worked, not sure why the XBIAN-CONFIG app wasn't able to write out the correct setting (or what caused it to change to read only).
Cheers.
Find all posts by this user
Quote this message in a reply
6th Mar, 2015, 06:00 PM
Post: #8
madmikelol Offline
Registered
Posts: 3
Joined: Mar 2015
Reputation: 0
RE: Samba Network Share Read Only
Tried this, but if I try "net conf drop" or "net conf import anyname.conf" I get the error WERR_ACCESS_DENIED. Any help to a complete noobie?
Find all posts by this user
Quote this message in a reply
7th Mar, 2015, 12:17 AM (This post was last modified: 7th Mar, 2015 12:18 AM by f1vefour.)
Post: #9
f1vefour Offline
Administrator
******
Posts: 1,342
Joined: Mar 2013
Reputation: 58
RE: Samba Network Share Read Only
Use sudo before the command.
Terminal

sudo net conf drop

Please read rules and do a search before you post! | FAQs | How to post log file? | Can't find an answer? Contact us.
Visit this user's website Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Possibly Related Threads...
Thread: Author Replies Views: Last Post
  [SOLVED] Space in Samba share maybeme 2 9,217 17th Jul, 2014 02:28 AM
Last Post: IriDium
  Can't see files on samba share . laddo71 14 41,043 17th Oct, 2013 08:34 AM
Last Post: belese

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 10th May, 2025, 05:52 AM Powered By MyBB, © 2002-2025 MyBB Group.