Re: Permissions when saving file
Re: Permissions when saving file
- Subject: Re: Permissions when saving file
- From: Matt Jaffa <email@hidden>
- Date: Wed, 14 Apr 2004 15:12:52 -0600
I just used int reerere = system(char * cmd)
using chown as the command and it works great, thanks.
On Apr 14, 2004, at 11:57 AM, M. Uli Kusterer wrote:
At 11:03 Uhr -0600 14.04.2004, Matt Jaffa wrote:
Does having the atomically:NO or :YES affect this problem at all?
It could. YES means that a second file will be created, written to,
and then the two files' contents will be swapped. NO modifies the file
directly. So if you just switched from NO to YES, that may be where
your problem is coming from.
However, since your daemon is running as root, have you tried just
chowning the file to be owned by that particular user?
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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.