ACL's and new file creation quesions.

From: Brewer, Edward <BREWERE_at_OD.NIH.GOV>
Date: Tue, 09 Apr 2002 14:25:43 -0400

Admins,

        The answer came from:

Ann Majeske:

When you have a Default Access ACL on a directory, any files created
in that directory are given the permissions from the ACL anded with
the requested permissions passed to the creat() system call. The
umask is not used if the Default Access ACL is used. The touch
command is hardcoded to pass the permissions rw-rw-rw- to the creat()
system call, that's why the execute bit is not set on the created
file even though it is set in the Default Access ACL.

        So I created a file in temp gave it full permissions and mv and cp
the file to the test directory as both myself and root. This gave me the
results I expected and will help formulate future policies. Thanks again to
Ann!


Lee Brewer
Received on Tue Apr 09 2002 - 18:26:16 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:43 NZDT