[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sheflug] Re: Trouble with permissions



At 12:34 26/07/02 +0100, Craig Andrews wrote:

>Ah! Yes, the whole thing is back to front.
>
>As windows filesystems (and so SMB) has no concept of Unix file permissions,
>it has a blanket set of permissions (usually 755) which are used on all
>files, and are unchangeable... except at mount time.
>
>The solution is to pass an option  to mount along these lines:
>
>mount -tsmbfs //myhost/myshare /mnt/mymountpoint -o username=username,
>password=password,  fmask=666, dmask=777
>
>This will set all files to globally read/write, and all directories to
>globally read/write/execute, for the machine _mounting_ the share, but will
>in no way affect the share itself.

You beauty!!  :-)
Yes, everything's sorted now. I can console myself on being on the right 
lines but I thought the line in /etc/fstab would do the trick. Obviously 
wrong and I can make a note in my little black book.

Sheflug comes galloping to the rescue once again... just like the US Cavalry.

Thanks once again.

I have plenty more queries lined up for you all so don't worry.  ;-)

Cheers


Steve


___________________________________________________________________

Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html

  GNU the choice of a complete generation.