Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: jpchancey on April 14, 2005, 01:37:03 AM
-
STATUS:> Changing file attributes "config.php".
COMMAND:>SITE CHMOD 742 /ibays/Primary/html/config.php
550 /ibays/Primary/html/config.php:
Permission denied
ERROR:> Requested action not taken (e.g., file or directory not found, no access).
How do I make config.php a writable file??? It keeps saying that permission is not granted. This is done inside CuteFTP behind the network.
-
You can't do that with an FTP client without a lot of fiddling the FTP server config. Rather than do that it would be much easier to do it at the command line as root
login as root
cd /home/e-smith/files/ibays/Primary/html/
chmod 742 config.php
ls -la
while you are there check the user.group and chown as neccessary
chown newuser.newgroup config.php
logout
EDIT
Afterthought - You can do chmod etc with FileZilla in secure mode as it conects via SSH rather than FTP. Personally I thinks in FTP mode its a better FTP client than Cute anyway
EDIT2
Further afterthought - the Primary ibay does not allow execution of dynamic content (CGI/PHP etc).
You may have to create a new ibay with the correct permissions and point your domain there instead of the primary.
-
How do I make config.php a writable file???
Edit locally, then upload it when logged in as "admin".