This is good to know.  Many thanks for your help.

------------------
Marvin Blackburn
Systems Administrator
Glen Raven
"He's no failure.  He's not dead yet" --William Lloyd George

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Behalf Of Ken Mink
> Sent: Thursday, March 18, 2004 1:27 PM
> To: [EMAIL PROTECTED]; Triangle Linux Users Group discussion list
> Subject: Re: [TriLUG] redhat 2.1 chown problem
> 
> 
> From The Stevens Book:
> 'If _POSIX_CHOWN_RESTRICTED is in effect for the specified file, then:
> 1. only a superuser process can change the user ID of the file;
> 2. a nonsuperuser process can change the group ID of the file if
>   a. the process owns the file (the effective user ID equals 
> the user ID
> of the file and,
>   b. *owner* equals the user ID of the file and *group* equals either
> the effective group ID of the process or one of the process's
> supplementary group IDs.
> 
> This means that when _POSIX_CHOWN_RESTRICTED is in effect you can't
> change the user ID of other user's file. You can change the 
> group ID of
> files you own, but only to groups you below to."
> 
> From /usr/include/bits/posix_opt.h on my FC1 machine:
> #define   _POSIX_CHOWN_RESTRICTED 1
> 
> Hope this helps.
> Ken
> -- 
> "They that can give up essential liberty to obtain a little temporary
> safety deserve neither liberty nor safety."--Benjamin Franklin
> " 'Necessity' is the plea for every infringement of human liberty; it
> is the argument of tyrants; it is the creed of slaves."--William Pitt 
> 
> 
> 
-- 
TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
TriLUG Organizational FAQ  : http://trilug.org/faq/
TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
TriLUG PGP Keyring         : http://trilug.org/~chrish/trilug.asc

Reply via email to