2010-04-09 10:53
Is it possible to delete a read only file? I haven't found a way through the 'normal' channels, i.e File Manager, or GPE File Manager.
It's only a .pdf invoice from my ISP that I downloaded via email that's residing in N900/Documents/
Thankees ![]()
2010-04-09 13:55
2010-04-09 16:12
Thanks for the reply, but as it's a read only file that doesn't happen. If I got one on the N95 I just fired up Y-Browser and changed the attributes. But there's no Y-Browser for the 900.
There's probably a way to do it via X Terminal, like there is via the command prompt in Windows. Not sure what the commands are though.
2010-04-09 17:21
how lame.. i would expect the file manager to work
you can use
chmod +w filename
in an xterm to add write permissions..
2010-04-09 18:41
2010-04-09 18:46
Wrong type of read-only.. and no.. some PDFs can be altered if they contain a form to fill in, for example!
What's rediculous is that deleting a file is not the same as writing to it un Unix..
If you remove a file, where are you removing it from? you're removing it from a folder/directory.. so, you need write access to the folder, not the file!! I don't understand why it doesn't allow you override this, the permission can be altered using regular chmod.. but it could be overridden by the filemanager..
2010-04-10 8:12
2010-04-10 10:12
Sorted it via Justin_02's method in the end.
The chmod +w filename command kept returning a "File or folder does not exist error". So maybe I needed to work through to that directory and file first.
All donedid now anyway, thanks all.
2010-04-10 12:00
Sorry for the brief instruction.. was between offices using phone to post!!
you need to find the filename in question, which can be tricky on the command line..
for example, a file in Documents directory called test.txt would be
chmod +w MyDocs/.documents/test.txt
Not wonderfully intuitive..
Alternatively, you can do a general attack using a recursive set
chmod -R +w MyDocs/.documents
chmod -R +w MyDocs/.images
would set all files in the Documents and Images folder
2010-04-10 12:05
Thanks for the info.
I'll make a note of all that.
Might be worth hunting down a bit more info to get the gist of this Terminal a bit more.
2010-04-10 12:26
2013-01-16 10:08