• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Detecting system protected folders.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: Detecting system protected folders. (From: Greg Guerin <email@hidden>)

  • Prev by Date: Undo Names in NSPersistentDocument
  • Next by Date: Re: NSApplicationLoad() can't connect to window server in user logged out.
  • Previous by thread: Re: Detecting system protected folders.
  • Next by thread: Re: Detecting system protected folders.
  • Index(es):
    • Date
    • Thread