The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

how set permission(perms=0777) for all file and sub folder in root folder

Discussion in 'General Discussion' started by amiry2, Sep 21, 2011.

  1. amiry2

    amiry2 Member

    Joined:
    Sep 4, 2011
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    hi
    i use tomcat5.32 + cpanel .
    i want all files and sub folders in home/user/public_htm/ROOT/WEB-INF have this permission "perms=0777" .

    when i set permission "perms=0777" to "home/user/public_htm/ROOT/WEB-INF" there is not apply for its sub folders and files .

    please present a solution.
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,482
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Re: how set permission(perms=0777) for all file and sub folder in root fold

    This thread should prove helpful, but you will need SSH to accomplish:
    Switching to suPHP
     
  3. amiry2

    amiry2 Member

    Joined:
    Sep 4, 2011
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Re: how set permission(perms=0777) for all file and sub folder in root fold

    hi
    thanks Infopro .
    this link not helpful ، this link is for suPHP but i use tomcat+jsp Consequently i can not set php values .
    Please submit solutions other .
     
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,482
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Re: how set permission(perms=0777) for all file and sub folder in root fold

    Sorry, a bit too succinct I guess. :/

    In that unrelated to your issue thread, there are commands posted that will work for you to chmod recursively, a directory or directories and the files in them.

    While the topic is different, the answer is there for what you seek to do, change permissions on a directory of files.
     
  5. amiry2

    amiry2 Member

    Joined:
    Sep 4, 2011
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Re: how set permission(perms=0777) for all file and sub folder in root fold

    hi
    thanks for your response .
    my cpanel can not change multiple file or recursive permission Simultaneously .There is No way to Apply these permission (Perm : 0777) for all files and sub folders ...
    Help Us Please !!
     
  6. JawadArshad

    JawadArshad Well-Known Member
    PartnerNOC

    Joined:
    Apr 8, 2008
    Messages:
    447
    Likes Received:
    4
    Trophy Points:
    18
    Location:
    PK
    cPanel Access Level:
    DataCenter Provider
    Re: how set permission(perms=0777) for all file and sub folder in root fold

    I am not aware of any built in method to change permissions recursively. You could use other methods to achieve the same. Some are discussed in the threads below.

    http://forums.cpanel.net/f34/chmod-recursively-28232.html
    http://forums.cpanel.net/f34/change-folders-subfolders-permission-137085.html

     
  7. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,482
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Re: how set permission(perms=0777) for all file and sub folder in root fold

    You'll need to speak with your host about this and have them do it for you.
     
Loading...

Share This Page