Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Locked file on the desktop

Locked file on the desktop
Thread Tools
Mac Elite
Join Date: Feb 2002
Location: Hilton Head, SC
Status: Offline
Reply With Quote
Dec 11, 2003, 11:46 PM
 
I've got this locked file on my desktop FWX.SIT

I can't throw it away... How do I modify this file so I can throw it away?
     
Senior User
Join Date: Nov 2000
Status: Offline
Reply With Quote
Dec 12, 2003, 05:17 AM
 
In the Terminal, run ls -lo ~/Desktop to display the flags on the files on your desktop.

You should see an entry for the file in question that looks something like this:
-rw-r--r-- 1 username staff uchg 0 12 Dec 22:12 foo

In this case, you can remove the uchg flag by typing chflags nouchg ~/Desktop/foo, if the file is owned by another user for some reason, add sudo to the start of the command to execute it as root.

If schg is listed where uchg is shown above, you'll need to remove that flag in single user mode. There are instructions on the various immutable flags available here:
http://osxfaq.com/Tutorials/Learning.../ugp2/page2.ws

- proton
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 06:11 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2