Set Default Permissions on New Files or Folders?
Mac OS X (10.4.8)
I have never encountered a
new folder that had differing permissions from its
parent folder, and have never heard of such a problem
by anyone.
Can you provide documentation of your claim?
By default OSX sets new folders to inherit
permissions from the parent folder. is this not
working for you?
I agree with you about the default permissions, but I
think that quotation is incorrect about the default
group - the group is inherited from from the parent
folder, at least in 10.3 and 10.4.
Generally, permissions of new items on a local volume
are determined by the ' umask' of the process
creating them, and in the case of the OS X GUI, it is
usually '022' (octal). The default can also be
changed by adding an ' NSUmask' key with an
appropriate value in a user's
".GlobalPreferences.plist" file (or that of the main
computer though this isn't recommended).
Thanks for an informative discussion, both of you.
What I have gathered is that ownership is inherited,
but mode is set by the OS according to ACLs.
I see recently rsync is handling a resource file for
every music file, while before then music files had
no resource fork. Terminal explains:
"Each file has one ACL, containing an ordered list of
entries. Each entry refers to a user or group, and
grants or denies a set of permissions."
So now I am wondering if the ACL is a resource fork.,
or if they were added by iTunes 7.
Set Default Permissions on New Files or Folders?