Mailinglist Archive: opensuse (3996 mails)

< Previous Next >
Re: [SLE] How can I do this?
  • From: Louis Richards <louis@xxxxxxxxxxxxxxxxxx>
  • Date: Sun, 05 Sep 2004 18:18:30 -0400
  • Message-id: <413B90B6.2000800@xxxxxxxxxxxxxxxxxx>
Randall R Schulz wrote:

<SNIP>

But not everything is possible.

The way I understood the request, Chris wants to have files that get created within a specific directory or set of directories to reflect a umask independent of that in effect in the process that does the creation. He's not trying to control each user's umask. Nor can he, of course--the best that can be done is to control the default or initial value, as your suggestion addresses.

I know of no way to make happen what Chris wants.

...

Actually, he said this was a separate file system. If the permissions required are lax, perhaps using a FAT file system would produce the desired results, or something close to them.


ACLs will do what he wants. Check out appendix B in the Administration Guide (assuming 9.1 here).

From the parent directory type ...

# setfacl -d -m group:yourgroup:rwx yourdirectory

HTH
Louis


< Previous Next >
Follow Ups