Find the answer to your Linux question:
Results 1 to 2 of 2
I need to find out the disk usage using the command du -chs folderName. I'm executing this using a java program. For this I need to grand the permission to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2008
    Posts
    2

    Grant permissions for tomcat


    I need to find out the disk usage using the command du -chs folderName.
    I'm executing this using a java program. For this I need to grand the permission
    to tomcat for accessing the folder.

    Can anyone help me in granting permission to tomcat for accessing the folder using "visudo".

  2. #2
    Just Joined!
    Join Date
    Dec 2007
    Location
    Bangalore
    Posts
    33
    one simple thing you can do is change the group of the folder to nobody and give necessary permissions.

    If that does not work out, post the error you get when you execute ur program.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •