Re: cp creates directory with different permissions -- then reverts them
Re: cp creates directory with different permissions -- then reverts them
- Subject: Re: cp creates directory with different permissions -- then reverts them
- From: Michael Cashwell <email@hidden>
- Date: Mon, 30 Oct 2006 13:50:40 -0500
On Oct 30, 2006, at 1:36 PM, Michael Smith wrote:
On Oct 30, 2006, at 9:01 AM, Jeffrey Ellis wrote:
... It has only System as owner, and no access for anyone else.
drwx------ chmod 700. Of course, this changes when the copy is
finished, but the user will be alerted as to the initial settings
of the folder, as it appears with a great big "No Access" icon.
Can you suggest what I might be doing to cause this?
The initial mode for the folder will be modified by the process
umask. It sounds like yours is 0700 or similar.
The real question might be "how do you tell the Finder to resync
its view of the folder that's been copied", and there I fear I
can't help you. Other folks here surely can, though.
One approach I've seen for this is to do the scribbling (writing,
copying, changing of permissions, etc.) somewhere hidden on the same
file system and then when that's finished move the item to the Finder-
visible location.
-Mike
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden