Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I can not use “chown” command to unlock b/c the title of the directory has spaces between each word: “word word word.odt”. When I try it I get ‘read only filesystem’.
I can not use “chown” command to unlock b/c the title of the directory has spaces between each word: “word word word.odt”. When I try it I get ‘read only filesystem’.
Which filesystem is that?
A filesystem can be read-only for a number of reasons:
It was mounted with the readonly option: mount -o ro
You booted into emergency mode, where the root filesystem is mounted read-only
The storage device is read-only, e.g. a DVDROM or an ISO file
The kernel detected filesystem corruption and decided to prevent writing to keep data safe
As others have said, the spaces in the filename can be handled with backslashes (word1\ word2) or quotes ("word1 word2"). They don't result in a read-only filesystem.
I can not use “chown” command to unlock b/c the title of the directory has spaces between each word: “word word word.odt”. When I try it I get ‘read only filesystem’.
The chown command also might not unlock a read only filesystem if your user does not have write permissions in that directory/filesystem.
One example would be if you are in another users directory tree.
Another example would be if the file of concern were on a failing USB stick that has gone into the failsafe mode of read only.
Last edited by computersavvy; 11-30-2020 at 06:32 PM.
I think the directory may not have had any contents; i'm not even sure how it got there. I still haven't figured out how it got there - will have to look further, but i think i opened it the other day and there was nothing there. I had a few directories like this copy over with nothing there, just a familiar title. I have to delve into it more, just been busy with other compu stuff. Thanks.
If i recall correctly, i used the \ to open the file/directory. Thx.
On windows the \ is the directory name separator. On Linux it is (mostly) an escape character that eliminates the special meaning of the following character for the shell.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.