root@SERVER:~# cat /etc/passwd | grep www-data
www-data:x:33:33:www-data:/var/www:/bin/sh
root@SERVER:~# ls -al /cluster/www/html/tmp/reportexport_274.xml
-rwxrwxrwx 1 www-data www-data 908 2011-03-30 14:03 /cluster/www/html/tmp/reportexport_274.xml
root@SERVER:~# sudo -u www-data cat /cluster/www/html/tmp/reportexport_274.xml
cat: /cluster/www/html/tmp/reportexport_274.xml: Permission denied
The directory is an nfs mount:
x:/cluster/www /cluster/www nfs _netdev,rw,soft,intr,rsize=32768,wsize=32768,nosuid,nodev,noatime,timeo=15 0 0
Linux x 2.6.32-31-server #61-Ubuntu SMP Fri Apr 8 19:44:42 UTC 2011 x86_64 GNU/Linux
How can this be? am I missing something?