Unix permission coexistence with posix acl

Lennart Sorensen lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Fri Feb 1 15:20:44 UTC 2013


On Fri, Feb 01, 2013 at 09:42:11AM -0500, William Muriithi wrote:
> >
> > setgid on a directory forced anything created to inherit the group.
> > There is no way to do the same for owner of the file.  Whoever creates
> > it, owns it.  FreeBSD allows setuid on directories to do the same thing
> > to owner of the file, but linux and other unix systems do not.
> 
> Thank Len.  Understand now. How does FreeBSD achieve the purpose that Linux
> use setuid for? Running binaries like passwd  for example?

The only difference is that UNIX and Linux ignore setuid on directories.
FreeBSD uses it on directories to control inheriting the owner on
new files.

On files they all use setuid the same way (to control what user the
process runs as).

-- 
Len Sorensen
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list