Re: plist permissions
Re: plist permissions
- Subject: Re: plist permissions
- From: Al Kirkus <email@hidden>
- Date: Wed, 23 Oct 2002 13:14:23 -0500
Hi Chris.
I am a bit confused as to what you mean. I thought that to determine
the final file perms of a file you take the 1's compliment of the umask
and logically AND that with the file perms being requested by the
application creating the file. If this is correct, there is no umask
value available that would work because anything ANDed with a zero (the
perms that are being issued by NSUserDefaults when writing the plist
file) remains zero and I need a 1 in the GROUP READ bit.
Did I misunderstand the direction that you were pushing me?
Thanks, Al
On Wednesday, October 23, 2002, at 08:17 AM, Chris Ridd wrote:
On 23/10/02 2:01 pm, Al Kirkus <email@hidden> wrote:
Hi all.
This may be a bit OT but I am wondering if there is any way to change
my
the default privileges for my cocoa applications plist (preference)
files. They are being written as 600 and I would like to get 640.
I thought that maybe there was a global configuration option somewhere
that specifies this but I don't know where it might be.
Thanks, Al
Presumably you could use umask() to set this.
Cheers,
Chris
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.