View previous topic :: View next topic |
Author |
Message |
vinodramu n00b
Joined: 23 Nov 2006 Posts: 44
|
Posted: Thu Feb 26, 2009 6:03 am Post subject: granting permission to tomcat |
|
|
I need to find out the disk usage using the command du -chs directoryName.
I'm executing a shell script using java web application.
For this I need to grand the permission to "tomcat" for accessing the directory and shell script.
For eg:
My shell script is in the directory /var/lib/tomcat-6/webapps/webapplictionPRJ/scripts/
and I need to find out the disc usage of the directory /var/vpopmail/testDirectory.
The owner of directory '/var/vpopmail' is root and owner of directory '/var/vpopmail/testDirectory'
is vpopmail
Can anyone help me in granting permission to tomcat for accessing the directory using "visudo". |
|
Back to top |
|
|
timeBandit Bodhisattva
Joined: 31 Dec 2004 Posts: 2719 Location: here, there or in transit
|
Posted: Fri Feb 27, 2009 8:32 pm Post subject: |
|
|
Split from connecting to an ip masq subnet where it was off-topic. In addition, the same question was posted minutes earlier in another forum.
Please respect the Guidelines:- Stay on topic, do not hijack threads (#9).
- No cross-posting (#12).
If you feel your original post would have been better placed in Networking & Security (it's in a grey area), use the Report button to ask us to relocate it. Thanks. _________________ Plants are pithy, brooks tend to babble--I'm content to lie between them.
Super-short f.g.o checklist: Search first, strip comments, mark solved, help others. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|