Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: Sjoerd on January 12, 2003, 07:16:58 PM
-
I can't do a CHMOD on my SMEserver.
I want to instal a forum (Invisionboard) and get this error:
-----------------------------------------------------------------------------------------------------------------
The following errors must be rectified before continuing!
Cannot write to 'conf_global.php'. Please adjust the permissions to allow this script to write to the file. if in doubt, CHMOD via FTP to 0777
-----------------------------------------------------------------------------------------------------------------
My ftpprogram: (WS_FTPpro):
-----------------------------------------------------------------------------------------------------------------
50 CWD command successful.
/primary/html loaded from [Directory Listing Cache]DIR177.tmp
site chmod 777 /primary/html/Invisionboard
550 CHMOD not allowed on /primary/html/Invisionboard
-----------------------------------------------------------------------------------------------------------------
How can I fix this?
-
You can log on to the server, either locally or via ssh, and run the chmod command.
-
I'm a Linuxnewbie. What is the command to do that?
I would like to do it with my FTPprogram.
-
You can't do it with your FTP program; you have to do it at the shell. The command is chmod 777 .
-
Dan Brown wrote:
> You can't do it with your FTP program; you have to do it at
> the shell. The command is chmod 777 .
Mode 777 should almost never be used. I believe you when you say it is what the documentation suggestions, but that will almost certainly leave your site less secure than it might be.
Charlie
-
Author: Dan Brown (dan_AT_familybrown.org)
Date: 01-12-03 14:04
You can't do it with your FTP program; you have to do it at the shell. The command is chmod 777 .
---------------------------------------------------------------------------
This is for just one file.
I have to set a whole directory at chmod 777.
-
Read the manual page for chmod. You can display the manual by typing 'man chmod' at the command prompt. When you're done reading, type 'q'. But be careful: chmod 777 gives write and execute permissions to everyone. I would first try if setting write permission for the file you couldn't write to solves the problem.