[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
User defaults database permissions
From: |
Sheldon Gill |
Subject: |
User defaults database permissions |
Date: |
Tue, 20 Jan 2004 23:52:44 +0800 |
User-agent: |
KMail/1.5.93 |
Currently, NSUserDefaults enforces 0600 on the user database.
That is, it _will_ change the permissions on the file whenever there is an
update irrespective of the current permissions.
I think this is a bug and should be removed.
Creating the file 0600 is right. I have no problem with that. I have a problem
with the framework deciding that permissions are wrong and changing them.
This current behaviour voids the "-u" flag in the defaults command for anyone
but the super user.
Should I submit a patch to achieve this?