Hey all,
I've thaught of a great idea of how to display to folk via my site, which music i'm listening to at the time of the page load, the lsof command… However, it only seems to want to show the open files in my /shares/internal/WEBSITE directory, and not those in my /shares/internal/MUSIC directory through php or sh.
When I run the command as root through the ssh it runs fine however, so I know that my syntax is correct.
Here's an "ls -al" of my "/shares/internal/" folder:
drwx------ 5 www-data www-data 4096 Mar 17 20:43 DOCUMENTS
drws--S--- 10 www-data www-data 4096 Apr 27 21:15 DOWNLOADS
drwx--x--x 5 www-data www-data 184320 Apr 30 22:22 MUSIC
drwx--x--x 47 www-data www-data 4096 May 3 15:59 PICTURES
drwsrwsr-x 3 www-data www-data 4096 Apr 19 03:50 PUBLIC
drws--S--- 2 www-data www-data 4096 Mar 25 03:48 VIDEOS
drws--S--- 11 www-data www-data 4096 May 3 23:37 WEBSITE
I'm guessing it's all permission based issues, but i've not really got a clue how to fix what I think is wrong. I feel that it's the "s" and "S" in the folder permissions that's causing the problems, as the files are all owned by the same "user".
Appreciate any help you can all give, Thanks
Joe.