Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

File Permissions Rate Topic   - - - - -

 
  • ezhobby
  • Member
  • Members
  • Join Date: 10-Apr 17
  • 36 posts

Posted 14 May 2017 - 02:22 PM #1

I hate to ask this:  Is there a listing of suggested permissions for all of the directories and files for Multi-vendor.  I set them to what I think they should be, but I'm not a developer.  In the other carts that I use they have a list of all the required permissions by directory and file level.

 

Thanks

Bill

ezhobbies.com

Multi-Vendor 4.5.2.SP2



 
  • BarryH
  • Senior Member
  • Members
  • Join Date: 03-Sep 07
  • 1459 posts

Posted 14 May 2017 - 02:47 PM #2

Hi

Hopefully this will help.......

http://docs.cs-cart....ght=permissions

 

Regards

Barry


BarryH

 

CS-Cart v4.4.3 (Plus one being developed v4.5.2 SP2)
UK User


 
  • ezhobby
  • Member
  • Members
  • Join Date: 10-Apr 17
  • 36 posts

Posted 14 May 2017 - 03:17 PM #3

Thanks Barry



 
  • beatwear
  • Member
  • Members
  • Join Date: 25-Apr 14
  • 32 posts

Posted 20 October 2017 - 10:40 PM #4

Do I need to go through each and ever single file and directory to change these permissions? Is there an automated way of doing this? Seems like a lot to go into each directory to change file permissions. and to go into all sub-directories to change those permissions. I must be missing something.



 
  • martfox
  • Member
  • Authorized Reseller
  • Join Date: 15-Jan 10
  • 552 posts

Posted 21 October 2017 - 11:08 AM #5

Is there an automated way of doing this? Seems like a lot to go into each directory to change file permissions. and to go into all sub-directories to change those permissions. I must be missing something.


If you have ssh access to your server, you can change files/directories permissions in bulk with the commands below.
Go to your CS-Cart installation directory which will looks like:
 
/var/www/vhosts/<domain_name>/httpdocs/your_cscart_root_directory/ - for Linux with Plesk panel
 
or
 
/home/username/public_html/your_cscart_root_directory/ - for Linux with cPanel
 
or it will have an another path depending of your current server installation/configuration. Then execute the commands below:

For directories:
 
find . -type d -exec chmod 755 {} \;

For files:
 
find . -type f -exec chmod 644 {} \;

755 and 644 is just an example. It could be 777 and 666 as well (again it depends on your server configuration).

CS-Cart with 1 Year FREE Web Hosting | CS-Cart optimized SSD Cloud VPS Servers from €10.00/month
.
VPS SSD Cloud from €10.00 *** Dedicated Servers *** CS-Cart Authorized Reseller and Web Hosting Provider


 
  • mrmem
  • Member
  • Members
  • Join Date: 13-Jul 09
  • 89 posts

Posted 23 December 2017 - 05:35 AM #6

I just use filezilla and highlight the main folders and click change all folders in it to 755 then  all files to 644.