[ubuntu-uk] help with cifs permissions, please
Mac
Ammonius.Grammaticus at googlemail.com
Fri Aug 10 23:18:29 BST 2007
James Dalley wrote:
Mac> I saw a similar setup the other
>> day but the fileMode and DirMOde hade no 0 at the start just
>> 777.May help, may not! (1 , 99 % betting)Jay
Yes, that's similar to the format for smbfs: dmask=777,fmask=777. The
use of dmask and fmask is deprecated with cifs, and as I don't really
understand the syntax, I just slavishly followed the recommended
file_mode=0777 and dir_mode=0777.
I did wonder whether the cifs syntax would treat 777 and 0777 as
equivalent anyway. Can't think why it would make a difference to use one
rather than the other - but then the logic of a lot of this stuff is
very obscure (like cifs needing a blank line at the end of the
credentials file as an end-of-file marker, where smbfs doesn't).
So 777 worth a try - at least it has powerful magical connotations!
I'll have a go tomorrow, as my brain is starting to hurt.
Thanks
Mac
More information about the ubuntu-uk
mailing list