DirPermissions
Summary
Sets the access permissions for the new image directories.Usage
DirPermissions= 0777 or 0770
Description
This setting allows you to set the permission for new image directories.
Possible values:
0777: Setting it to 0777 means that anyone can read and write the files, and as such anyone can be considered a security risk.
0770: It's preferred to use 0770 and make sure the web server has correct user/group access.
As value chmod commands are used, which allow you to set certain permissions for files on your Web server. These commands allow you to specify permissions for the owner, the group and everyone else.
It can be useful to know the meaning of the numbers used:
The location of the numbers has a specific meaning. The second number sets the permissions for the owner, the third sets the permissions for the group, and the last number sets the permissions for everyone else.
The number itself also has a specific permission meaning:
"0" (zero) will permit nothing
"1" will permit executing only
"2" permits writing only
"3" permits writing and executing
"4" permits reading only
"5" permits reading and executing
"6" permits reading and writing
"7" permits reading, writing and executing.
And as an example, to allow everyone to read, write and execute use "0777".
Examples
DirPermissions=0777
This is the default setting.
Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2013 eZ Systems AS (except where otherwise noted). All rights reserved.