Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This 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!


  Search this Thread
Old 11-15-2010, 06:14 AM   #1
LQ Newbie
Registered: Nov 2010
Posts: 2

Rep: Reputation: 0
Unhappy readonly attribute

From this morning my account suddenly became read only. For example, when I open a file to edit, it shows [readonly] and it wont let me change anything. However, when I look at the permissions by issuing ls -l command, it indicates that read write permissions for the owner is on. As a user, my whole account is stored under \home, the account has all three permissions read, write and execute. If I become superuser and issue any of chmod, chown, or chgrp commands, following messages come out: for example,

# chmod -R 755 u00053072
chmod: changing permissions of 'myacc' : Read-only file system
chmod: cannot read directory 'myacc' : Permission denied

'myacc' is my user account.
Can anybody please tell me how to get rid of the read only attribute?
Old 11-15-2010, 06:47 AM   #2
Registered: Oct 2009
Location: England
Distribution: Kubuntu, Ubuntu, Debian, Proxmox.
Posts: 555

Rep: Reputation: 115Reputation: 115
The filesystem has become mounted read only. I'm not sure how this would happen, perhaps due to an error that can't be automatically corrected. Type in "cat /etc/fstab" and "cat /etc/mtab" and post the output here.
Old 11-15-2010, 08:00 AM   #3
LQ Guru
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,511

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Maybe your looking at an iso9660 file system.
Old 11-18-2010, 03:15 AM   #4
LQ Newbie
Registered: Nov 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Smile solution

Thank you very much for helping me. Sorry for being late in replying. One thing, I was not looking at iso9660. However, disk might have been mounted read only as cantab suggested. Reason is that my system has a RAID. For some reason, it hung up, hence the problem. The RAID needed to be rebooted. I rebooted the servers but did not reboot the RAID.

With best regards, saban


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting 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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
-bash: HISTSIZE: readonly variable -bash: HISTFILESIZE: readonly variable deathsfriend99 Linux - Newbie 4 12-08-2009 01:51 PM
update problem "Attribute error object has no attribute 'rsplit' ruse Linux - Newbie 0 08-28-2009 02:46 AM
Difference between Readonly Filesystem and Mounting filesystem as readonly bluepenguine Linux - Newbie 1 06-19-2009 02:26 AM
ldap_add: Undefined attribute type (17) additional info: ojectclass: attribute type vinaytp Linux - Newbie 2 05-28-2009 05:57 AM
readonly boot karlan Linux - General 1 03-10-2004 10:09 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:30 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration