• 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: Is Image Disk Trash Empty?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is Image Disk Trash Empty?


  • Subject: Re: Is Image Disk Trash Empty?
  • From: Christopher Stone <email@hidden>
  • Date: Tue, 25 Jan 2011 17:40:07 -0600

On Jan 25, 2011, at 12:13, Luther Fuller wrote:
I spoke too soon. The last line, above, always returns ...
ls: :Permission denied
because .Trashes folder permission is always set to "Write only (Drop Box)". (I had forgotten that I had changed permission on my test disk.) Is there any way to get around this problem?
______________________________________________________________________

Hey Luther,

I had to jump through some hoops to get here, but I did finally:

First I mounted a FireWire disk.
Second I duplicated a file and trashed it.
Third I used Find Any File to search the disk with elevated permissions for the trashed file's name.

(Option-Click on the 'Find' button to elevate permissions.)

File Buddy will also find it with ease, but you have to enable admin-access.


Then I fired up the Terminal:

sudo find /Volumes/Hammer/.Trashes/ -type f
sudo ls -lR /Volumes/Hammer/.Trashes/

I think you can use administrator privileges in a 'do shell script' to automate that:

 A: Use the administrator privileges, user name and password parameters like this:

http://developer.apple.com/library/mac/#technotes/tn2002/tn2065.html

--
Chris
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Is Image Disk Trash Empty?
      • From: Luther Fuller <email@hidden>
References: 
 >Is Image Disk Trash Empty? (From: Luther Fuller <email@hidden>)
 >Re: Is Image Disk Trash Empty? (From: Luther Fuller <email@hidden>)
 >Re: Is Image Disk Trash Empty? (From: Luther Fuller <email@hidden>)

  • Prev by Date: Re: getting reference as string for rebuilding a reference
  • Next by Date: Re: Is Image Disk Trash Empty?
  • Previous by thread: Re: Is Image Disk Trash Empty?
  • Next by thread: Re: Is Image Disk Trash Empty?
  • Index(es):
    • Date
    • Thread