Nasir.Kamal at Paytrust.com
Wed Jan 17 11:20:57 EST 2001
See if the the effective user is the owner of the files you want to change
ownership... Any other user cannot change the ownership of files that are
owned by someone else.....
From: Peter Smith [mailto:i_am_pete_smith at yahoo.com]
Sent: Wednesday, January 17, 2001 1:06 AM
To: sudo-users at courtesan.com
Subject: Newbie question
Hello list --
I just started using sudo and I'm puzzled by
something. Now frankly I'm pretty new to unix so I
might be about to totally make a fool of myself, but
I set up a group of users to manage our website. We've
got dynamically generated pages that have owner:group
of nobody:nobody. Every so often one of them gets
fubar'd and someone needs to delete it by hand. I set
these people up so they can run rm, chmod and chown as
rm works, chmod works, but chown gives a "Not owner"
error message every time. These commands are all set
up on one line, and I've checked and double checked
the path and spelling of the chown command.
Is there something particular about chown that makes
it break with sudo?
Thanks for any advice, and for your patience with a newbie.
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
sudo-users mailing list <sudo-users at courtesan.com>
For list information, options, or to unsubscribe, visit:
More information about the sudo-users