I am using a Sparcstation 20 running Solaris 2.4.
I have a web server that is being edited and updated by many different
people. I have sguid on all directories so that all newly created files
will automatically be under the same group, and every group member has
read and write permission.
The problem is that I want the user under which the web server runs to
access all of these files without giving world access to the files. The
obvious solution would be to make this user the owner of the file and to
remove write permission from the owner, but then every new file created on
the server has to be set to the new owner by hand before it can be tested
over the WWW server.
Would it be possible to have all files that are created under this
directory change owner to the WWW server user automatically in the way
that it is done for group permissions, and if yes, how?
I can't seem to find this information in the chmod manual.
Allmansland/De Schutter Digital Media
Priemstraat 53 Rue du Poincon - 1000 Brussels - Belgium
Tel. +32 2 5481700 - Fax +32 2 5481717