-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Steven J Lamb wrote: > > My question that make this an setuid question is this. When I make it an > setuid I thought it ran the script as if I am its owner. So like I will > become root run my script and leave. If this is true and root owns the log > file why do I get a permission error Steven, What you want is sudo and not setuid. If you read the man page setuid allows a user to drop to a lower privileged user (root --> www-data), do some work as the lower user, sudo does essentially the opposite, allows a lower user to become root for a short time. Hope this helps, James -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEbJofkNLDmnu1kSkRAngIAJ9s9nPAPAkgvFC/ZAy+Y3JJt7Y6igCePofs R6hmWNyoIi2zncZir/cUv2Q= =QdZd -----END PGP SIGNATURE----- -- Scanned by ClamAV - http://www.clamav.net -- fedora-list mailing list fedora-list@xxxxxxxxxx To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list