Understanding permissions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi,

I'm using lighttpd as http server, and it
complains about permissions when I ask for
a file on my public_html directory. Using
strace on lighty I get:

stat("/home/mauricio/public_html", 0x7fffceb2dcb0) = -1 EACCES (Permission denied)


However, using ls:

ls -ld public_html public_html/index.html

drwxr-xr-x 3 mauricio users 4096 2009-04-13 19:41 public_html
-rw-r--r-- 1 mauricio users 4075 2009-04-13 19:41 public_html/index.html


Since 'r' is there in all users field, should
not every user, including 'http' used by
lighty, be able to read?

Thanks for your help,
Maurício



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux