Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
granting permission to tomcat
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
vinodramu
n00b
n00b


Joined: 23 Nov 2006
Posts: 44

PostPosted: Thu Feb 26, 2009 6:03 am    Post subject: granting permission to tomcat Reply with quote

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
View user's profile Send private message
timeBandit
Bodhisattva
Bodhisattva


Joined: 31 Dec 2004
Posts: 2673
Location: here, there or in transit

PostPosted: Fri Feb 27, 2009 8:32 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
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