• 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: Removing folder from /Applications
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Removing folder from /Applications


  • Subject: Re: Removing folder from /Applications
  • From: Robert Cerny <email@hidden>
  • Date: Tue, 08 Jul 2008 13:34:49 +0200


On 8.7.2008, at 12:52, Glover,David wrote:

Hi there,



I've create a little app that is required to remove an obsolete folder
from /Applications.  This works fine when the user is logged in as an
Admin, but not when logged in as a Standard user, as they obviously
require authorization.



So, I added some code to request an Admin username and password using
Authorization Services, immediately before calling removeFileAtPath to
remove the folder.  However, the folder still cannot be removed after
inputting an Admin username and password.



Please can anybody offer any insight into what I'm missing here?



Kind regards



Dave

Hi Dave, hard to help without any code.

Robert
_______________________________________________

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


  • Follow-Ups:
    • RE: Removing folder from /Applications
      • From: "Glover,David" <email@hidden>
References: 
 >Removing folder from /Applications (From: "Glover,David" <email@hidden>)

  • Prev by Date: Removing folder from /Applications
  • Next by Date: Re: controlling system muting ?
  • Previous by thread: Removing folder from /Applications
  • Next by thread: RE: Removing folder from /Applications
  • Index(es):
    • Date
    • Thread