Re: s bit on owner permission for dir
On Thu, Feb 07, 2002 at 02:15:55PM -0800, mike@localhost.bombur.vianetworks.nl wrote:
> Hi,
> I'm a little confused on the what
> the s bit does for the owner of a directory.
> For example
>
> drwsr-sr-- joe staff /var/www
>
> I understand that the s bit on the group permission
> would make all new files and directories
> under /var/www have equal group ownership to /var/www
> but the s bit on the ownership does what?
According to:
info 'File utilities' 'File permissions' 'Mode Structure'
1. set the process's effective user ID to that of the file upon
execution (called the "setuid bit"). No effect on directories.
--
groetjes, carel
Reply to: