Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Mac > Mac Programmer > Re: What attrib...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 2 Topic 990 of 1040
Post > Topic >>

Re: What attribute for a locked file?

by Reinder Verlinde <reinder@[EMAIL PROTECTED] > Jan 30, 2008 at 09:28 PM

In article <tssmith-3C72DC.11240730012008@[EMAIL PROTECTED]
>,
 Timothy Smith <tssmith@[EMAIL PROTECTED]
> wrote:

> Running Leopard on a Mac Pro. Photoshop won't start--claims that a file 
> is locked. Well it isn't the PS app, and it isn't an image file that I'm

> trying to open. So?
> 
> I'd like to search down the applications file directory, and see if 
> there is a file that got locked that PS is trying to open. Some aux file

> of some sort.
> 
> So how? I could use 'find' in a terminal window, but nothing in the man 
> page indicates what attribute a locked file has. AFAIK, this is 
> Mac-specific, and not standard Unix semantics.

You would want /usr/bin/GetFileInfo

> (But then, my Unix 
> knowledge is rather out-of-date.) I also have a Python program that 
> lists files recursively that I could modify, if there were some known 
> attribute for a locked file.
> 
> Any help appreciated. Hope I haven't missed something obvious. Thx.

It may also help to run opensnoop while you launch Photoshop (actually, 
your Python script might want to run it (with -x argument?) and check 
the locked bit of each file it re****ts)

Reinder
 




 2 Posts in Topic:
What attribute for a locked file?
Timothy Smith <tssmith  2008-01-30 11:24:07 
Re: What attribute for a locked file?
Reinder Verlinde <rein  2008-01-30 21:28:23 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 9:37:48 CST 2008.