Samba share - root can write, no one else can
I'm trying to set up a read/write share for a specific user. This is what my smb.conf entry looks like:
read only = no
path = /home/myuser
guest ok = no
browseable = no
valid users = myuser
security = user
I can mount the share just fine, but only root can write to it. A non-root user, including myuser, cannot write to it. What am I missing?
writable = yes
This program is not installed setuid root - "user" CIFS mounts not supported.
So I chmod u+s /sbin/mount.cifs so I can run mount as non-root user.
Is there a better solution? It's a bit of a pain having to add all of my shares to fstab, there are about a dozen or so that I connect to from time to time.
You should not have to do that. :scratch: Do the path's in the shares have permissions set for the users you expect ? Are they all part of the same group ?
If the groups don't work for your situation you could always set up by specific user. The links below might be helpfull.
|All times are GMT -5. The time now is 01:21 PM.|