From: "Brewer, Edward" <BREWERE () OD ! NIH ! GOV>
To: tru64-unix-managers
Subject: ACL's and new file creation quesions.
Date: Tue, 09 Apr 2002 18:25:43 +0000 [thread overview]
Message-ID: <102653755322285.tru64-unix-managers.marc@archive.invalid> (raw)
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
reply other threads:[~2002-04-09 18:25 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox