Folder permission problem

Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
The Public Knowledge Project Support Forum is moving to

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.
Posts: 119
Joined: Sun Jan 08, 2006 1:01 pm

Folder permission problem

Postby msaghaei » Tue Aug 21, 2007 3:28 am

Hi Alec

We use

Code: Select all

chmod -R 777 some_path
to set the pemissions of files folder, but whenever a new paper is submitted the created subdirectories are not publicly writable, and this produces some problem during article processing, for example copyeditors can not upload the edited files. The server is Apache/2.2.3 (Ubuntu) PHP/5.2.1 with mysql database and the ojs version is 2.1. Any help will be appreciated.



Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Re: Folder permission problem

Postby asmecher » Tue Aug 21, 2007 8:47 am

Hi Mahmoud,

Are you using PHP Safe Mode? When safe mode is enabled, created directories do not belong to the process that created them. You may be able to work around this using the safe mode GID check option in php.ini.

FYI, using permissions of 777 is a potential security problem.

Alec Smecher
Public Knowledge Project Team

Return to “OJS Technical Support”

Who is online

Users browsing this forum: No registered users and 3 guests