• Home
  • Help
  • Search
  • Login
  • Register
Pages: [1]
Author Topic: How can I share root filesystem read-write via Samba?  (Read 4650 times)
theRealBigP
Newbie
*

Karma: 0
Posts: 22


View Profile
« on: September 07, 2009, 11:30:40 AM »

I'm trying to share the root of the Sheevaplug file system via Samba so that I can mount it from a Windows computer. I can view all the files from the remote Windows machine, but all attempts to write fail. The share I've defined in smb.conf looks like this:

Code:
[Root]
   comment = Root
   path = /
   guest ok = no
   browseable = yes
   public = yes
   writable = yes

Even if I select "Map network drive" from file explorer on Windows, and enter the root credentials, I still can't write to the share (but I can still read everything on it). Has anyone gotten something like this working?
Logged

mgillespie
Full Member
***

Karma: 8
Posts: 239



View Profile
« Reply #1 on: September 07, 2009, 12:03:11 PM »

Mine looks like this:

Code:
[global](partial)
workgroup = "WORKGROUP"
restrict anonymous = no
server string = "Sheeva"
security = share
netbios name = SHEEVA

[apps]
comment = Music
read only = no
path = /usb/smb/Music
guest ok = yes
browseable = yes
public = yes
force user = "root"
force group = "users"
force directory mode = 0777
force create mode = 0777


had similar problems to you, so tried everything I could.  One of those extra settings worked!!!
Logged

theRealBigP
Newbie
*

Karma: 0
Posts: 22


View Profile
« Reply #2 on: September 07, 2009, 01:55:30 PM »

Thanks a lot! I simply added 'force user = "root"' and that did the trick.
Logged

Pages: [1]
Print
Jump to: