[ubuntu-uk] help with cifs permissions, please

Neil Greenwood neil.greenwood.lug at gmail.com
Fri Aug 10 14:26:18 BST 2007


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.

Hwyl,
Neil.



More information about the ubuntu-uk mailing list