LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 11-15-2010, 06:14 AM   #1
sban
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
cantab
Member
 
Registered: Oct 2009
Location: England
Distribution: *buntu, Vector
Posts: 499

Rep: Reputation: 102Reputation: 102
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
AwesomeMachine
Senior Member
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora
Posts: 1,835

Rep: Reputation: 260Reputation: 260Reputation: 260
Maybe your looking at an iso9660 file system.
 
Old 11-18-2010, 03:15 AM   #4
sban
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
 
  


Reply


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


All times are GMT -5. The time now is 04:25 AM.

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