Chris Custine wrote:
If you do su then your $USER will still be "ole", but if you do "su -" to invoke a login shell, then $USER will be "root".

Ah - Cool - Good Tip!  Thanks!

Either way, you would still have effective root privileges and you should be able to write to the dir, but the problem is that the script tells jsvc to use the current $USER value at the time you run the script.

Hmmm...I always run the script after "su" ing...but
I still get the permission denied.  If I
edit apacheds replacing $USER with "root" then it works fine.

This is part of a bigger problem with the daemon startup and installation permissions and I think we are going to be addressing all of this shortly.

Terrific.
Cheers,
- Ole

SNIP

Reply via email to