Osclass forums
Support forums => General help => 3.6.x => Topic started by: abc500x500 on August 19, 2016, 06:31:18 pm
-
Hi
i download osclass.zip from osclass.org.
after upload and extract to Linux server i see all file chmod is 755 but it must be 644.
I extract osclass.zip to my windows desktop os and again zip that by 7z software.
after upload and extract all file chmod are 644.
if developer of osclass zip package by 7z software problem will be solve.
7z software always zip scripts that after extracting on hosting all files=644 and all folders=755
-
644 for files and 755 for folders is what is needed and suggested.
Not sure what you mean and not a Osclass problem.
-
644 for files and 755 for folders is what is needed and suggested.
Not sure what you mean and not a Osclass problem.
Hi
I downloaded OSCLASS.zip from osclass.oeg and uploaded it to linux/directadmin host after extracting i saw all file permissions are 755 not 644.
I deleted all osclass files and folders from host.
in my windows os computer i extracted osclass.zip, and repack by 7z software and again uploaded this new zip file to linux/directadmin host after extracting all files permissions code was 644.
I say if osclass team compress new versions with 7z softwre no praoblems for permissions all files after extracting are 644 but if compress osclass with winzip and winrar and ... after extracting in linux host all files permissions code will be 755.
-
@abc500x500
The permissions are from your Hosting Plan, your Hosting Company or your Hosting server.
Nothing to do with zip or Osclass package.
-
@abc500x500
The permissions are from your Hosting Plan, your Hosting Company or your Hosting server.
Nothing to do with zip or Osclass package.
I wrote this topic for helping some users.
7z software has some ability that files after extracting in linux/dirctadmin and linux/cpanel in host panel files permissions is equal 644 but if we pack osclass with other software it become 755.
I download zip compress osclass script from osclass.org and extract it in my hosting and saw all osclass files permision was 755.
I deleted them and use zip pack by 7zip and after extracting all file was 644.
I had seen this advise several years ago in a Persian forums and afterward when extract a ziped script in myhost and see it 755 i delete them and use 7z software.
-
To recursively give directories read&execute privileges:
find /path/to/base/dir -type d -exec chmod 755 {} +
To recursively give files read privileges:
find /path/to/base/dir -type f -exec chmod 644 {} +
--------------------------------------
http://www.qore.pl - Ogoszenia (http://www.qore.pl)