delete locked files?
- Started
- Last post
- 9 Responses
- awrench
Is there a way of deleting locked PDF files? when i try to get rid of one it tells me i cant cuz its locked (its one i got off the net not made)
im on OS X 3.8,
cheers al
- ********0
get info
change permissions
that should do it
- ribit0
Cocktail?
- rabattski0
if permissions change doesn't work. if you can't delete it as root. than you might want to look into this.
http://www.osxfaq.com/Tutorials/…
for most cases this works when you're in your shell:
>chflags nouchg (filename)
>rm (filename)
- hot_fs010
On a semi-related note, one thing that pisses me off about Windows - when you copy files from a CD and they're all flagged as read-only (because they were on a cd) why can't Windows recognise or remember somehow that if the files weren't read-only when they were copied to CD they're not meant to be read-only when you copy them onto another machine eh?
- sparker0
you might try "rm -f file" as well...
- gruntt0
hold down your option key and delete trash... that used to work.
try that with the command ket as well as the shift key... one of those might work.
- rabattski0
yep. "used" to work. seriously. sometimes you can have files you can't even trash as root. link supplied earlier should resolve it even in a worst case scenario.
- sparker0
as a unix system, there is nothing you cannot do as root.
- mcmagic0
rename the file delete.rtf
then go to text edit and save a file called delete.rtf
when it says do you want to save over... say yes
then you can delete the pdf (now called delete.rtf)
or have I missed the point?