[NTLUG:Discuss] NFS Resolution
Patrick Parks
patrick at patrickparks.com
Thu Sep 6 19:56:27 CDT 2001
On Thu, 2001-09-06 at 21:46, Michael Patrick wrote:
Thanks, that helps a little in my understanding. So if this was the
case, if any user copies a file, or creates a directory under this
testdir, will it retain the permissions of the testdir, or would it be
set by the owner?
> Hi Patrick.
>
> Unix permissions work like this:
>
> 1 - execute (or traverse if a directory)
> 2 - write
> 4 - read
>
> further.. the groupings are
>
> owner group others
>
> so 755 = rwxr-xr-x
>
> Read/Write/Execute for owner
> Read and Execute for owner's groups and Others
>
> so for someone random (i.e. everyone) to get into a directory, it would need at least
>
> d--------x
>
> now... they won't be able to list files.. that needs r-x
>
> The utility to change permissions is chmod
>
>
> chmod -R 755 michael.users testdir
>
> means that I want to assign rwxr-xr-x to testdir AND everything below it (-R is recurse)
>
> Michael
> _______________________________________________
> http://www.ntlug.org/mailman/listinfo/discuss
--
Patrick Parks
www.patrickparks.com
patrick at patrickparks.com
972.416.8377 (Home)
972.354.7712 (Fax)
504.723.6460 (PCS)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ntlug.org/pipermail/discuss/attachments/20010906/37023e1a/attachment.html
More information about the Discuss
mailing list