Forums / Installing on a Windows Server / 500 site chmod 777.... 'command not understood'

500 site chmod 777.... 'command not understood'

Locked

Started by ren on 21 Nov 2007, 12:45 AM · Views: 57,762

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
21 Nov 2007, 12:45 AM
#1
ren avatar

ren

New Zenner

Join Date:
Nov 2007
Posts:
11
Plugin Contributions:
0

500 site chmod 777.... 'command not understood'

I'm a total newbie and this might seem like a stupid question.

I'm up to:

On the server locate the file: /catalog/includes/dist-configure.php
Rename this file to configure.php and change the permissions to 777 (read-write-execute for all)

Next, on the server locate the file: /catalog/admin/includes/dist-configure.php
Rename this file to configure.php and change the permissions to 777 (read-write-execute for all)
I've renamed the files without trouble but cannot change the permissions.
I'm using FileZilla and when I right click on the file the box comes up with each box highlighted but not ticked and the numberic value is xxx. When I try either ticking every box or changing the numeric value to 777 I get this:

500 site chmod 777... command not understood.

am I missing something very obvious here?

21 Nov 2007, 12:49 AM
#2
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: 500 site chmod 777.... 'command not understood'

if php is running as cgi then you will use 755 for the file and folder permissions,
then reset the includes/configure.php file to 444 after install

Zen cart PCI compliant Hosting

21 Nov 2007, 1:02 AM
#3
ren avatar

ren

New Zenner

Join Date:
Nov 2007
Posts:
11
Plugin Contributions:
0

Re: 500 site chmod 777.... 'command not understood'

how would I find out if php is running as cgi... or do I even need to?

btw - thanks for the quick response! :D

21 Nov 2007, 1:21 AM
#4
ren avatar

ren

New Zenner

Join Date:
Nov 2007
Posts:
11
Plugin Contributions:
0

Re: 500 site chmod 777.... 'command not understood'

Okay - I tried changing to 755 and I get the same message... except for the number of course

21 Nov 2007, 5:51 AM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: 500 site chmod 777.... 'command not understood'

I suspect "command not understood" is a result of your hosting server disallowing you to change file permissions using FTP.

Use the FileManager tool in your hosting account's control panel instead.

https://www.zen-cart.com/tutorials/index.php?article=9

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.