[Orca-users] Re: Q: Default permissions for the web repository in Solaris

Sean O'Neill sean at seanoneill.info
Mon Nov 4 15:38:40 PST 2002


At 08:57 PM 11/4/2002 +0000, izsun wrote:
>Hi all,
>
>I have a HTML directory into which orca/rrd spool web content
>including all graphs/html files.
>
>Every night, the permissions for 'group' and 'other' get
>nullified and so I have to have a cronjob that
>essentially undoes that affect by doing:
>
>14 * * * * /bin/chmod -R a+rx /export/home/iz/HTML
>
>
>Is there a way to fix this in a config file somewhere, so that
>newly created files inherit permissions that already exist
>for the directory and existing (yesterday's) index.html file ?

Can you be a bit more specific ?  What do you mean by "nullified" ?

I think you mean you have Orca running as one user but the "content" 
directory where your Orca stuff is written to in your webserver area is 
owned by another user - I think.

My Orca stuff (html stuff anyway) is written into:

/local/http/docroot/orca

This directory and all its contents are owned by the "perfboy" login.  All 
my Orca stuff runs as "perfboy" - nothing for my Orca runs as root.

Apache runs as nobody.  Everything else in my docroot area is owned by 
root.  This way Apache can't do anything "funny" with it.

With this configuration, I have no problems with permission, owner, group, 
whatever settings being "nullified".

Is this what you are referring to ?


--
........................................................
......... ..- -. .. -..- .-. ..- .-.. . ... ............
.-- .. -. -... .-.. --- .-- ... -.. .-. --- --- .-.. ...

Sean O'Neill



More information about the Orca-users mailing list