First, I loathe unix and it's ignorant file permissions/owners crap which I find totally unnecessary and more of a pain in the royal butt than a benefit to the user.
Second, I'm being force-fed this stuff and I'd RATHER be force-fed elephant dung with a corn scoop!
Thank you, needed to vent that!
Ok, I run nph-build from the admin panel and
1. Any new file or directory it creates it sets the user to www
2. It sets file permissions to owner R/W
This means that anyone with a browser can view any file created by Links.... and write to it.
If I run nph-build from a script it
1. sets the user to my username and
2. sets the file permissions to user r/w which prevents anyone from seeing the .html files
3. it's pointless to run it from a script because any new files created between builds are created as www owners with owner read/write only which causes nph-build to error out.
THEREFORE.....
How can I:
a. change it so that every file that links creates whether it's through shell or web access, that it ALWAYS does so with my username and ALWAYS creates the file (even ratings and vote files) with the permissions set to -rw-r--r-- ?
Example Links does this:
-rw------- 1 www www 14496 Jan 15 00:58 index.shtml
I want this:
-rw-r--r-- 1 dunsel dunsel 14496 Jan 15 00:58 index.shtml
b. Get a bigger window to type this message into. 5 lines don't cut it guys... I need to see what I type!
If it's important, I'm running some flavor of that Free LSD induced crap put out by Berekley.
Thank you for your time... any help is greatly appreciated.
-Rod
Second, I'm being force-fed this stuff and I'd RATHER be force-fed elephant dung with a corn scoop!
Thank you, needed to vent that!
Ok, I run nph-build from the admin panel and
1. Any new file or directory it creates it sets the user to www
2. It sets file permissions to owner R/W
This means that anyone with a browser can view any file created by Links.... and write to it.
If I run nph-build from a script it
1. sets the user to my username and
2. sets the file permissions to user r/w which prevents anyone from seeing the .html files
3. it's pointless to run it from a script because any new files created between builds are created as www owners with owner read/write only which causes nph-build to error out.
THEREFORE.....
How can I:
a. change it so that every file that links creates whether it's through shell or web access, that it ALWAYS does so with my username and ALWAYS creates the file (even ratings and vote files) with the permissions set to -rw-r--r-- ?
Example Links does this:
-rw------- 1 www www 14496 Jan 15 00:58 index.shtml
I want this:
-rw-r--r-- 1 dunsel dunsel 14496 Jan 15 00:58 index.shtml
b. Get a bigger window to type this message into. 5 lines don't cut it guys... I need to see what I type!
If it's important, I'm running some flavor of that Free LSD induced crap put out by Berekley.
Thank you for your time... any help is greatly appreciated.
-Rod