Thomas Johnson wrote:
> perhaps someone could correct me if i'm mistaken, but shouldn't i be able to 'give' ownership of a file i own to another user, without being root? in my case i'm doing some work on a web directory owned by my user. the http user needs to be able to write to some of the directories i am creating so i've been chown'ing them to http. So far i've had to su every time i do this but it seems like i should be able to do so without root privileges. the machine i'm working on is running slackware 8.1 if it makes a difference.

It depends on the value of _POSIX_CHOWN_RESTRICTED which is set in
/usr/include/bits/posix_opt.h on recent distros.  

where x = 1 = BSD style - only root can chown away files
          0 = System V - if user owns file then can chown it away

This variable is set at compile time, so (to the best of my knowledge)
you'd have to change that value and recompile the chown command to get
the BSD behavior.
-- 
scot

_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
Help beta test TCLUG's potential new home: http://plone.mn-linux.org
Got pictures for TCLUG? Beta test http://plone.mn-linux.org/gallery
tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list