Wrong file permissions with file manager extract function

richardvd

Verified User
Joined
Jul 20, 2009
Messages
10
Location
The Netherlands
Yesterday i have installed suphp on a custombuild DirectAdmin installation.:)

The permissions of all files are 644. If you use the tar.gz extract function in the DirectAdmin file manager the files extracted with the permissions 664. Is it possible to change this to 644?
All files with 664 permissions give a 500 Internal server error.

If not any possibility to change this file manager function, how is it possible to change easy all files in many maps. (only the files not the maps).
 
Thanks for your fast reply.:)

I have added the lines to the directadmin.conf file, but the extract function extract all files continuous to 664 and I want 644 for files and 755 for maps.
 
Last edited:
Hello,

tar will produce whatever permissions are stored within the tar.gz file.

If the permissions in the tar.gz file are not what you want, then simply chmod the files/directories after you extract them.

eg:
FileManager -> select the file/directory, and use the chmod button/field below the table to set as desired.

John
 
Back
Top