Daemon running as user nobody needs to copy file from Desktop
Posted
by Randall
on Stack Overflow
See other posts from Stack Overflow
or by Randall
Published on 2010-06-16T15:42:14Z
Indexed on
2010/06/16
17:12 UTC
Read the original article
Hit count: 306
I have a daemon that is running as user nobody.
It needs to copy a file that I specify into /Users/Shared/MyFolder
If I tell it to copy a file that is already in /Users/Shared/ it works fine.
If I tell it to copy it from somewhere in my home directory like the desktop, the copy fails.
I'm using NSFileManager copyPath:toPath:
Any ideas?
© Stack Overflow or respective owner