View Full Version : Ubuntu server - permission denied while upload file using FTP client..
Leow
22nd August 2009, 07:58
Command: put "/home/leow/Public/house_solution/index.php" "index.php"
Error: /var/www/house_solution/index.php: open for write: permission denied
How do we fix the permission issue?
The server I have set up is based on Perfect Server Ubuntu Guide..
falko
23rd August 2009, 12:34
What's the output of ls -la /var/www/house_solution/?
Leow
23rd August 2009, 17:49
The output is:
drwxr-xr-x 2 root root 4096 2009-07-28 23:51 .
drwxr-xr-x 6 root root 4096 2009-07-28 23:51 . .
What does that mean?
Thanks..
falko
24th August 2009, 13:32
This means that only the root user has write permissions for that directory. Either change the ownership of the directory or its permissions.
Leow
24th August 2009, 16:41
This means that only the root user has write permissions for that directory. Either change the ownership of the directory or its permissions.
Thanks, Falko. I was reluctant to change the permissions as some say it is unsecure to do so..
I will look into this soon..Thanks very much.
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.