Hi guys,
I opened this threat in here because unfortunately our Linux forum hasn't been supported well. I am sorry for the inconvenience caused by me.
Problem:
I cannot download a file (index.php) from a particular folder (/var/www/teams/team1) via Filezilla. I am sure that it is related to the permissions. I get this error in Filezilla Error: Failed to open "/index.php" for writing
I can upload files but I cannot download anything.
This is what I did:
root@ubuntu:/home/ubuntu# chmod 755 -R /var/www
root@ubuntu:/home/ubuntu# chown john:football -R /var/www/teams/team1
root@ubuntu:/home/ubuntu# ls -l /var/www
total 8
drwxr-xr-x 3 root root 4096 2010-02-18 11:14 teams
root@ubuntu:/home/ubuntu# ls -l /var/www/teams/team1
total 4
-rwxr-xr-x 1 john football 23 2010-02-17 09:39 index.php
Every user will have their own team folders. Therefore, permission per team folder is important.
I'll be very happy if you can help me out.
Thanks