changing uid/gid
| From: | Pupeno | Date: | Mon, 06 Jan 2003 07:03:05 +0000 |
| Subject: | changing uid/gid | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-130371@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Is it posible to change the current uid/gid in a script that is being running
? of course, having the user and password ? like running su.
I'm writting a script that has to perform some operations on the files on the
server, make some directories in the place where the web is and make some
symlinks, the other option, is to make a bash script that would do the work
of making some globaly writeable directories to later let php do the job and
I don't like that option.
Thanks
Carpe diem.
- --
Pupeno: pupeno@pupeno.com
http://www.pupeno.com
- ---
Help the hungry children of Argentina,
please go to (and make it your homepage):
http://www.porloschicos.com/servlet/PorLosChicos?comando=donar
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE+GSorLr8z5XzmSDQRAn6iAJ96NIQIdVwUqeEpMbSkwAQAEHIfdwCgtfCf
eOfVoJXVBd/wzZ0aEwiWEZU=
=P6Tf
-----END PGP SIGNATURE-----