[ubuntu-uk] help with cifs permissions, please
darren.mansell at opengi.co.uk
Fri Aug 10 15:32:43 BST 2007
On Fri, 2007-08-10 at 14:26 +0100, Neil Greenwood wrote:
> On 10/08/07, Mac <Ammonius.Grammaticus at googlemail.com> wrote:
> > I now have /etc/fstab thus:
> > //serverIP/public /media/nas cifs
> > credentials=/root/.smbcredentials,iocharset=utf8,file_mode=0777,dir_mode=0777
> > 0 0
> > (all on one line, of course; and the correct credentials file exists in
> > /root/ and is chmoded 700 as per the HowTo)
> > Unfortunately, when I copy a directory from home to nas, I am not the
> > owner on the nas, and cannot delete the directory.
> Try adding a uid option to that line. I haven't tried it to see if it
> helps, since I don't have any CIFS shares.
CIFS should work in just the same was as SMB shares. The uid=1000 thing
should work, I always need it anyway.
More information about the ubuntu-uk