From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96108784310155.tru64-unix-managers.marc@archive.invalid> From: "Axel Puskeppel, PHYSnet-RZ" Date: Thu, 15 Jun 2000 16:49:45 +0000 To: tru64-unix-managers Subject: How to set inital file ownership X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96108784310155 Hi managers, we have a Tru64-Unix 4.0F cluster running with NIS, enhanced security and file quotas enabled. For several projects we have created specific NIS-groups and NIS-users and given the specific NIS-group as secondary group membership to those users who work on these projects. Each project has got its own directory tree. By doing this, each member of a project has access to the project directory, but each file he creates there sets this users as file owner. This however means that each file, though created in the project directory, is added to his private file quota, which is no good, it should be added to the projects file quota. So what we need is: - each user has got his private file quota inside his primary group - each project has got its specific project file quota - project members have access to the project's directory though it's not their primary NIS group - files created in the project's directory should have project owner and project group as default owner and default group, file size has to be added to the projects file quota. By setting the set-group-ID bit with chmod g+rwxs to the directory we can set the default group ownership. But how to set the default file ownership equal to the ownership of the directory? Thanks for your suggestions and help - Axel .________________________________________________________________________ Axel G. Puskeppel Tel.: +49 (0)40 42838-2504 PHYSnet-Rechenzentrum Fax.: +49 (0)40 42838-2503 Universitaet Hamburg Pager: 3377-222-xxxx Jungiusstrasse 9 e-mail: puskeppel@physnet.uni-hamburg.de D-20355 Hamburg URL: http://www.physnet.uni-hamburg.de