Access Denied
How can it be that I can upload a complete application to my site and when I wish to modify a file and try to overwrite the old one with the new one I get "Access Denied" message?
I'm using the same ID/PW both times...Grrrrr.. |
sounds like you have write access to the directory but not to any of the files in it. Check permissions by doing 'ls -l' in the directory in question from command line. Also try it one directory higher in the tree to see who owns the dir you're writing to. You may want to change the owner to the user you're doing this all with.
|
You say you are using the same ID? do you mean username or user id? you can have the same username but different IDs which can cause problems
Code:
grep <user_name> /etc/passwd Also what are the permissions? Code:
ls -l |
OK...
First of all...I made a mistake in my initial post. It's not "Access Denied"...It's "Permission Denied". To be more clear with the problem: I upload an application (PHP/mySQL) to my site using SmartFTP. Then I run a PHP install script. This script creates other files and initializes the tables in the database. I then retrieve the entire site to a local directory on my client computer so that I can customize using DreamweaverMX. When I try to save the files to the web server I get the "Permission Denied" message. I did the grep: <username>:x:10001:10001::var/www/vhosts/<domain>:/bin/sh Thanks, |
All times are GMT -5. The time now is 10:24 AM. |