Re: Detecting system protected folders.
Re: Detecting system protected folders.
- Subject: Re: Detecting system protected folders.
- From: Sandro Noël <email@hidden>
- Date: Fri, 18 Dec 2009 20:52:29 -0500
On 2009-12-18, at 3:25 PM, Greg Guerin wrote:
> Sandro Noël wrote:
>
>> it does not work, even if i select the root folder of my hard drive i still get the permission to rename it.
>
>
> What effective user id is it running as? What groups is that user id a member of?
>
> Run this Terminal command to identify the user: id -p
>
uid snoel
groups staff _developer _lpoperator _lpadmin _appserveradm admin _appserverusr localaccounts everyone com.apple.access_screensharing
> Run this Terminal command to examine permissions: ls -ld /
drwxrwxr-t 31 root admin 1122 18 Dec 20:32 /
>
> If the code isn't doing what you want, then please explain more precisely what you want to happen. Give examples.
Well for instance if I try to rename the music folder in my personal home folder using Finder
The system/finder will not let me do that because the folder is needed by the system.
The cell never enters edit mode.
I can however write to these folders as I am the owner
I want to reproduce the same functionality.
cheers,
Sandro Noel._______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden