Advertisement:

Author Topic: message to osclass.org: chmod 755 for file can solve easy by 7zip  (Read 1731 times)

abc500x500

  • Jr. Member
  • **
  • Posts: 96
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

Aficionado

  • Guest
Re: message to osclass.org: chmod 755 for file can solve easy by 7zip
« Reply #1 on: August 23, 2016, 02:56:41 pm »
644 for files and 755 for folders is what is needed and suggested.

Not sure what you mean and not a Osclass problem.

abc500x500

  • Jr. Member
  • **
  • Posts: 96
Re: message to osclass.org: chmod 755 for file can solve easy by 7zip
« Reply #2 on: August 24, 2016, 12:50:42 pm »
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.

Aficionado

  • Guest
Re: message to osclass.org: chmod 755 for file can solve easy by 7zip
« Reply #3 on: August 24, 2016, 02:58:20 pm »
@abc500x500

The permissions are from your Hosting Plan, your Hosting Company or your Hosting server.

Nothing to do with zip or Osclass package.

abc500x500

  • Jr. Member
  • **
  • Posts: 96
Re: message to osclass.org: chmod 755 for file can solve easy by 7zip
« Reply #4 on: August 27, 2016, 12:20:49 pm »
@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.

Drum

  • Newbie
  • *
  • Posts: 1
Re: message to osclass.org: chmod 755 for file can solve easy by 7zip
« Reply #5 on: November 12, 2018, 01:39:00 am »
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