If it is currently owned by nobody, you've got to change the permissions on it so that you can write to it. At that point, you can decide to 1) keep it as is or 2) copy it, move your copy back on top of it, and then change perms to allow nobody to write to it later.
To get nobody to change the perms for you, put something like this in a file called fixperms.cgi (or whatever you need to do to get it to run as a CGI in your environment.)
Make sure it is executable and then point your browser at it. After you are done with it, get rid of it.#!/bin/sh /bin/chmod 777 /full/path/to/hosed/file.html /usr/bin/echo "Content-type: text\plain" /usr/bin/echo /usr/bin/echo "Hopefully that worked."
You may have to double check the full paths to chmod and echo but the above should be right on most sane systems.
-sauoq "My two cents aren't worth a dime.";
In reply to Re: nms wwwboard ownership silliness
by sauoq
in thread nms wwwboard ownership silliness
by kahrlzero
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |