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.

setting folder/file permissions how???

Discussion in 'General Discussion' started by Snowman30, Nov 28, 2005.

  1. Snowman30

    Snowman30 Well-Known Member
    PartnerNOC

    Joined:
    Apr 7, 2002
    Messages:
    681
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    DataCenter Provider
    This may be a dumb question....but

    Is there a way to specify what permissions files in a particular folder are set to when they are edited/uploaded etc?

    i know the default is 644 but what if i wanted a particular folder to be set to 755?

    how do i set this?
     
  2. nickp666

    nickp666 Well-Known Member

    Joined:
    Jan 28, 2005
    Messages:
    770
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    /dev/null
    im not sure if you can do it on a particular folder although you can set the default upload permissions in the ftp config, probably safer and easier just to:

    chmod -R 755 DirectoryName
     
  3. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    I'm not sure if it's possible in linux. It may be possible if the FTP server supports per directory umask settings. Oh for the days of VAX/VMS where doing just this were simple :eek:
     
Loading...

Share This Page