1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Default CHMOD setting for new created folder

Discussion in 'Apache' started by lapoo, Nov 21, 2007.

  1. #1
    Ok I've a problem there is a way to set a defoult value for CHMOD of new created folder maybe trought the .htaccess file.

    I try to be more clear
    When I create a new folder the server automatically set the CHMOD on a value If I want to set another value I've to CHMOD every new dir.
    I want to set a default value for new folder
    How is it possible?
     
    lapoo, Nov 21, 2007 IP
  2. ForgottenCreature

    ForgottenCreature Notable Member

    Messages:
    7,443
    Likes Received:
    168
    Best Answers:
    0
    Trophy Points:
    260
    #2
    The server automatically does. You'll have to change your CHMOD permissions by editing the folders hand by hand.

    I don't think its possible.
     
    ForgottenCreature, Nov 21, 2007 IP
  3. hostingonweb

    hostingonweb Peon

    Messages:
    47
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    When you upload a file or folder with FTP software a free one I would suggest is Filezilla, in that you can right click on the folder and set the permissions for the folder.
     
    hostingonweb, Nov 21, 2007 IP
  4. SSANZ

    SSANZ Peon

    Messages:
    861
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #4
    It is possible however I can't remember where to set this option, maybe account creation directory permission config? lawl.
     
    SSANZ, Nov 22, 2007 IP
  5. lapoo

    lapoo Peon

    Messages:
    38
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Thank for the answer
    I know i cand do this and I use CuteFTP for this.
    the problem is that i've joomla installed and when it create automatic new folder the server set default CHMOD to 775 and report as owner the name "Apache" and for this folder I can't change the CHMOD.
    So i have to delete the folder create it newly manually and then I can set the CHMOD.
    And this is the problem.
     
    lapoo, Nov 22, 2007 IP
  6. hostingonweb

    hostingonweb Peon

    Messages:
    47
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Ah! As this is for Joomla you will have to do this manually whenever you install a new extension/component for Joomla.
     
    hostingonweb, Nov 22, 2007 IP
  7. lapoo

    lapoo Peon

    Messages:
    38
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    :mad::mad:arghhhh.

    This is a bad new couse my component create a folder for every new user upload so i have to modify manually it?
    but joomla have a option that CHMOD every folder it create but seems doesn't work now i believe is problem of my server so I try to explain to my hosting owner but it seem he doesn't know what is Joola
     
    lapoo, Nov 22, 2007 IP
  8. jexxie

    jexxie Peon

    Messages:
    71
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Why not write a cronjob that sets the permissions properly on the directories as needed?

    Also, you can set the default permissions files and directories are created with, with in UMASK shell variable usually.
    man umask
    Code (markup):
     
    jexxie, Nov 23, 2007 IP
  9. lapoo

    lapoo Peon

    Messages:
    38
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Sorry jexxie but i don't know wath's neither a CRONJOB nor UMASK let me to search about them...
     
    lapoo, Nov 23, 2007 IP