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

Re: Permission question



Hal, 2002-Sep-16 16:15 -0400:
> When permissions on a link and a linked to library differ, which 
> permissions control usage?  For example, can a program running with a 
> non-root user utilize libpam when the permissions in /lib are:
> 
> lrwxrwxrwx    1 root     root           14 Sep  1 09:31 libpam.so.0 -> 
> libpam.so.0.72
> -rw-r--r--    1 root     root        29420 Jan 21  2002 libpam.so.0.72
> 
> This is the setup from a stock woody install.

AFAIK, the link's permissions determine what is available for the
target, and then the target's permissions are used.  So, for the link
you show above, all permission settings are available and the target
sets what are used.

jc

--
Jeff Coppock		Systems Engineer
Diggin' Debian		Admin and User



Reply to: