[Samba] Write permission for local user on a windows mount

steve steve at steve-ss.com
Wed Jul 9 03:26:11 MDT 2014


On Wed, 2014-07-09 at 11:17 +0200, Grant Bagdasarian wrote:
> Hello,
> 
> I have a debian server(7.2) which has a mount to a windows shared directory. The share is configured under a specific user, let's say bobsshare.
> I also have a local user on the debian server named alice, but alice cannot write to the mounted directory.
> 
> What do I need to do to give alice write permissions on the mounted directory?
> 
> smbclient --version
> Version 3.6.6
> 
> fstab
> //mywindowsserver/share cifs username=domain/bobsshare,password=123456 0 0
> 
> I tried chmod, and chown but that didn't affect anything.
> Ls -al still shows:
> drwxr-xr-x 0 root root 0 Jul  9 10:29
> 
> Regards,
> 
> Grant
> 

Put alice in the same domain group as bob, make the share group rw and
mount using the cifs multiuser option.
HTH
Steve




More information about the samba mailing list