Chown as regular user?
From: SimonV (Simon.vanherweghe_at_gmail.com)
Date: 05/26/05
- Previous message: Menno Duursma: "Re: ssh: access with passwords for group A, with keys only for group B?"
- Next in thread: Davide Bianchi: "Re: Chown as regular user?"
- Reply: Michael Heiming: "Re: Chown as regular user?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 26 May 2005 02:38:44 -0700
Hi,
I'm working on a web-based hosting administration in php. (Debian
Linux)
For the creation of new web directories and other server manipulations,
I use perl scripts that I've set-uid to a user who has the rights in
those directories.
Everything works fine so far, but now, the mail and ftp directory
should have their own user and group i.o. the user who created them.
But I've just read in a book that only a root user can do a chown...
I've tested it, and indeed, it isn't possible to do it, except when I'm
root.
And it isn't that safe to set-uid my scripts as root user.
Is there a work-around for this?
- Previous message: Menno Duursma: "Re: ssh: access with passwords for group A, with keys only for group B?"
- Next in thread: Davide Bianchi: "Re: Chown as regular user?"
- Reply: Michael Heiming: "Re: Chown as regular user?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]