Giving file permissions to nobody

User avatar
Thunderstone
Site Admin
Posts: 2504
Joined: Wed Jun 07, 2000 6:20 pm

Giving file permissions to nobody

Post by Thunderstone »



This is probably more of a UNIX knowledge issue than a
Webinator issue, but it is causing me some problems.
My web server runs as nobody.
How does one give nobody ownership of files?
Files which the web server creates are owned by
nobody, but I know of no way to actively give nobody ownership of
files. I gave the install script "nobody" as the server's user ID, but this
didn't work. I'd rather not make everything world-writable. :-)

If anyone can give me a nudge in the right direction, or let me
know if I'm missing something obvious, I'd greatly
appreciate it.

Thanks,

Heather Sarik


User avatar
Thunderstone
Site Admin
Posts: 2504
Joined: Wed Jun 07, 2000 6:20 pm

Giving file permissions to nobody

Post by Thunderstone »




Were you logged in as root when you installed?
You generally need to be root to use chown (which the install script does).
So:
login as root
chown nobody files