• 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: How to tell if a disk is locked?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to tell if a disk is locked?


  • Subject: Re: How to tell if a disk is locked?
  • From: david <email@hidden>
  • Date: Sun, 20 Oct 2002 23:13:43 -0400

On Sunday, October 20, 2002, at 10:11 PM, John C. Welch wrote:

So System Events has all this great info about a disk except if it is
read-only or not...is there anyway in 10.2.x to tell if a disk is read-only
or not?

tell application "Finder"
get properties of disk "Macintosh HD" --or whatever disk
end tell

--you'll see these within the results:

--locked:false
--owner privileges:read write
--group privileges:read write
--everyones privileges:read only

if it is so set

hth
david in Maine USA
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >How to tell if a disk is locked? (From: "John C. Welch" <email@hidden>)

  • Prev by Date: How to tell if a disk is locked?
  • Next by Date: Re: Network Setup Scripting
  • Previous by thread: How to tell if a disk is locked?
  • Next by thread: Re: Network Setup Scripting
  • Index(es):
    • Date
    • Thread