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.

should i worry about /scripts ?

Discussion in 'General Discussion' started by mehrdad abed, Oct 10, 2006.

  1. mehrdad abed

    mehrdad abed Well-Known Member

    Joined:
    Mar 18, 2006
    Messages:
    127
    Likes Received:
    0
    Trophy Points:
    16
    Hi

    I really worry about /scripts/* because of the permission 755, the C-panel scripts may be run by everyone? Shouldn't I concern about it? Can I change the permission to something like 750?
     
  2. vijeesh

    vijeesh Member

    Joined:
    May 26, 2006
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    The scripts can be run only by the root user. Not all users. So there is nothing to worry about this.
     
  3. mehrdad abed

    mehrdad abed Well-Known Member

    Joined:
    Mar 18, 2006
    Messages:
    127
    Likes Received:
    0
    Trophy Points:
    16
    are you sure about it ? then why are their permissions 755 ?
     
  4. angelina_holy

    angelina_holy Well-Known Member

    Joined:
    Aug 6, 2006
    Messages:
    113
    Likes Received:
    0
    Trophy Points:
    16
    only the root has the permission to run the cpanel scripts .since the permission given is 755 , then owner ahs execute permission while all other doesn't have execute permission
     
  5. globule

    globule Member

    Joined:
    Mar 20, 2006
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    UK
    If the scripts have permissions 755 then any user can read or execute them, NOT just root.

    If you changed them to 744, only root would be able to execute them, but other users will be able to read them.

    If you changed them to 700, only root will be able to execute, read or write to those files.
     
Loading...

Share This Page