cgi-bin directory has following permissions:
Quote:
ls -lh /usr/lib
.........
.........
drwxr-xr-x 2 root root 4,0K 2010-02-23 22:44 cgi-bin
.........
.........
|
and
Quote:
root@desktop:/usr/lib/cgi-bin# ls -lh
totale 16K
-rwxr-xr-x 1 root root 322 2010-02-23 23:18 script.cgi
root@desktop:/usr/lib/cgi-bin#
|
My home direcory is /home/savio:
Quote:
root@desktop:~# ls -lh /home
totale 4,0K
drwxr-xr-x 54 savio savio 4,0K 2010-02-23 23:21 savio
root@desktop:~#
|
I have the same problem also when I want make a folder in /var/www directory.
In fact, if I type:
su www-data
I enter in sh shell of apache2 user/group (www-data).
I want to give to www-data user (apache2 user) permissions for make directory in specific directory.
How can solve this problem?