I have installed emacs with yum and now I'm trying to create a .emacs file and put some commands in it, but I can't type anything in the emacs buffer. It says the buffer is read-only. I exited emacs and did touch .emacs and I get a message that it can't do that on a read-only file system. I googled around to see why this might be, but I can't see any links on this. Any tips why this might be doing this? I've heard that centos is strict on changes, but I don't know the extent it restricts changes. I followed a page where I did echo 0 >/selinux/enforce . But this is only good until reboot. But shouldn't I be now able to make changes in ~* Thanks, -wes
Billy Crook
2013-Nov-01 22:39 UTC
[CentOS] read-only file system when trying to save files
usually a disk failure when that happens out of the blue. try writing to /dev/shm/ if you have to save a file. (That's a virtual fs in memory, so be advised it will disappear on reboot.) check dmesg for errors. On Fri, Nov 1, 2013 at 5:36 PM, Wes James <comptekki at gmail.com> wrote:> I have installed emacs with yum and now I'm trying to create a .emacs file > and put some commands in it, but I can't type anything in the emacs > buffer. It says the buffer is read-only. I exited emacs and did touch > .emacs and I get a message that it can't do that on a read-only file > system. I googled around to see why this might be, but I can't see any > links on this. Any tips why this might be doing this? I've heard that > centos is strict on changes, but I don't know the extent it restricts > changes. I followed a page where I did echo 0 >/selinux/enforce . But > this is only good until reboot. But shouldn't I be now able to make changes > in ~* > > Thanks, > > -wes > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >-- Billy Crook ? Network and Security Administrator ? RiskAnalytics, LLC
Mark LaPierre
2013-Nov-01 22:55 UTC
[CentOS] read-only file system when trying to save files
On 11/01/2013 06:36 PM, Wes James wrote:> I have installed emacs with yum and now I'm trying to create a .emacs file > and put some commands in it, but I can't type anything in the emacs > buffer. It says the buffer is read-only. I exited emacs and did touch > .emacs and I get a message that it can't do that on a read-only file > system. I googled around to see why this might be, but I can't see any > links on this. Any tips why this might be doing this? I've heard that > centos is strict on changes, but I don't know the extent it restricts > changes. I followed a page where I did echo 0 >/selinux/enforce . But > this is only good until reboot. But shouldn't I be now able to make changes > in ~* > > Thanks, > > -wes > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos > >[mlapier at mushroom ~]$ ls -al | head -2 total 704896 drwx------. 120 mlapier mlapier 4096 Nov 1 18:31 . Your home directory must belong to you and have write permission as shown by the "w" in the drwx at the beginning of the line above. You can open up your permissions if you feel so inclined but I wouldn't suggest it. -- _ ?v? /(_)\ ^ ^ Mark LaPierre Registered Linux user No #267004 https://linuxcounter.net/ ****
On Fri, Nov 1, 2013 at 4:53 PM, Reindl Harald <h.reindl at thelounge.net>wrote:> > > Am 01.11.2013 23:51, schrieb Wes James: > > That was it. This is an old mac pro that I put centos on yesterday. It > > had 4 disks in it and this is the 3rd that has died. A faculty member > had > > it for 5-6 years and it was on 24/7. It's been in the junk pile for > > several months. I guess long enough for the disks to go south from > sitting > > on so long then going off for a period... maybe.... Anyone heard of > this? > > power down a disk which was running 6 years 24/7 and it most likely goes > bad > > especially Apple Hardware since this unholy crap company even built > in the expensive X-Server "Hitachi Deskstar" disks and sold them > like gold > >These are seagate barracuda 7200 rpm 750gig disks. -wes