Questions related to read-only devices or permissions.

learn more… | top users | synonyms

3
votes
2answers
4k views

Why does my root filesystem keep becoming read-only?

I've lately been having an issue with my root filesystem becoming readonly. It happens some amount of time after boot. I don't know exactly when it happens, as I don't usually notice it until ...
0
votes
0answers
31 views

Cannot format read-only USB; 'Error calling fsync(2) on /dev/sdb: Input/output error ' when I try to format the drive

I'm trying to format this USB, when I plug it in it mounts and I can read what's on it, but can't write to it or delete anything (read-only error). First I tried the normal 'Disk utility' - unmount - ...
3
votes
1answer
6k views

How do I format or partition a read-only USB drive?

Whenever I try formatting my Sandisk Cruzer Glide 16GB, I get this error message on Gparted. GParted 0.11.0 --enable-libparted-dmraid Libparted 2.3 Create Primary Partition #1 (ntfs, 14.42 GiB) on ...
1
vote
1answer
39 views

Read / Write permissions in /opt directory

I installed Android Studio in my /opt directory without a hitch and have been using it. Recently, though, Android Studio informed me of an update. It won't perform the update, however, because it says ...
2
votes
1answer
7k views

“iso-mount seems to be mounted read-only” error in UCK 2.4.6 or 2.2.0

I need to use UCK on 12.04. If I use any version of UCK 2.4.6 or UCK 2.2.0, I am getting an error iso-mount seems to be mounted read-only. Can some one help to quickly sort this error? I need ...
3
votes
2answers
3k views

USB flash drives being mounted read-only in 13.10

Ever since installing 13.10 (x64) every time I insert a USB flash drive, it mounts as read-only. I tried using three different drives, and they all get mounted read-only. They were working fine on ...
1
vote
2answers
9k views

How to change read-only pendrive?

I have a generic pendrive with a problem... I can't copy to inside, delete or move any archive or folder from the pendrive. I don't know how this happens, I do not change any kind of permissions... ...
26
votes
7answers
163k views

How to fix “sudo: unable to open … Read-only file system”?

The title might not be as descriptive as I would like it to be but couldn't come up with a better one. My server's file system went into Read-only. And I don't understand why it does so and how to ...
0
votes
1answer
3k views

NTFS disk is read-only and I can't change to read & write

I have used Windows 7 for a long time and thought to give Linux (Ubuntu) a try. I have two hard drives, one 120GB, other 1TB. First one is for OS and software, while the 1TB disk is for data and ...
0
votes
0answers
35 views

Error creating directory: Read-only file system

I am using Ubuntu 14.04 and I have some data on my drive. The problem is I want to take backup of my important data, but whenever I connect my external HDD and try to copy my data onto it. I get ...
2
votes
2answers
30k views

Unable to open /dev/sdb read-write (Read-only file system)

As in the title, I'm unable to format it as it says read-only. I've tried couple of searches and the solutions too. Even I tried GParted to see I have any luck. Unfortunately below is what I get. ...
0
votes
0answers
35 views

Boot with /home in readonly

I need to boot (just for once) with my home directory non-writable. Can I do that? /home is on the root fs (which has to remain writable). Thanks.
0
votes
1answer
26 views

Can I make a read only image read write?

I have seen on this forum that I can't run apt-get on a read only image (I got one of the Ubuntu phones from BQ). Is there any way around this? One of the reasons I wanted an ubuntu phone was to play, ...
1
vote
1answer
14 views

automounting in ro mode (or with any options) ntfs partitions fails

It seems that it has been more than a year since this bug has been fixed: https://bugzilla.redhat.com/show_bug.cgi?id=1180663 When can we expect an update in the Ubuntu distros. I spent about half a ...
3
votes
3answers
2k views

USB devices showing a read only

I have an 8gb FAT32 USB stick and a 500gb FAT32 HDD; both of these have suddenly become read only devices. I've tried deleting the directory inside /media and then creating it again, naming it, ...
0
votes
1answer
2k views

EXT4-fs errors and sd errors. Rejecting I/O to offline device

System Configuration: Ubuntu 12.04 server 64bit HP Proliant dl140 g3 32gb of RAM Intel X5365 quad core 3GHz LSI SAS1068 2x WD black 2TB SATA HDDs in RAID 1 Errors: [ 2044.430919] EXT4-fs (sda1): ...
0
votes
0answers
12 views

Access old NTFS partion to read files [duplicate]

I tried to access my old NTFS partion to read files only that are very important. It told me that it's hibernated and I can read the files only (which would be no problem for me). I searched on the ...
0
votes
0answers
25 views

thumb drive went in to read only mode, no idea why?

It's almost brand new, suddenly sudo dd if=/dev/zero of=/dev/sdd bs=512 count=1 dd: failed to open ‘/dev/sdd’: Read-only file system tried with sudo hdparm -r0 /dev/sdd /dev/sdd: setting ...
-3
votes
1answer
69 views

How can I edit the sudoers file since visudo command doesn't work properly [duplicate]

i tried to edit the etc/sudoers ,while trying to add myself to the sudoers file,but I'm unable to edit it. As I entered the command visudo the following came as output $ visudo visudo: ...
1
vote
0answers
33 views

Can't go past the grub screen

I am going to preface this with the fact that I am extremely new to Ubuntu, so I don't know much. When I start up my computer it takes me to GNU GRUB version 2.02~beta2-9ubuntu1 Not knowing ...
0
votes
1answer
44 views

NPM Read-Only File System for User

So I've been a bit of an idiot. I was trying to fix an NPM issue, and ran these two commands: sudo chown -R $USER ~/.npm sudo chown -R $USER /usr/local/lib/node_modules as per this suggestion. ...
13
votes
1answer
14k views

Install with sudo app-get install doesn't work, “Not using locking for read only file /var/lib/dpkg/lock”

I just installed Ubuntu Touch on my Nexus 7. Unfortunately I can't install anything from the terminal app: If I enter: sudo apt-get install yasm -y git make g++ build-essential libminiupnpc-dev I ...
2
votes
1answer
59k views

How to Fix “Read-only file system” error when I run something as sudo and try to make a folder/file?

When I try to save something or rename a file/folder it say this error " Read-only file system" or run something as root in the terminal it say this error sudo: unable to open /var/lib/sudo/"My User ...
8
votes
3answers
17k views

Read-only SD cards

I've got an IcyBox USB hub/card reader combo in my computer, running Ubuntu 12.10. It's got an issue with SD cards. It always mounts them read-only, regardless of the write-lock switch. This is ...
0
votes
0answers
91 views

USB Write Protect Switch - how does Linux know?

I have a USB drive /dev/sdb, and inside sdb are some separate mount points ( /, /boot, and so on. ). I am running Ubuntu off the USB stick, just an FYI. I have a hardware write protect switch which ...
0
votes
0answers
59 views

I can't format a USB drive

It looks dead I have tried How to format a USB or external drive? Appreciate any help
1
vote
2answers
839 views

The best way to create a root filesystem, split between read only and writable

My aim is to create a system where the main parts of the root filesystem are stored on a read-only SD card, with writeable parts located on an SSD set to rw. This is to be done with a view to keeping ...
1
vote
0answers
20 views

How to Recover Ubuntu default file system permissions [duplicate]

I made a big mistake.. When I trying to give some permissions to localhost project In terminal I typed 'sudo chmod -R 755 /' Now nothing work. I tried to fix this By this commands mount -o ...
1
vote
3answers
4k views

Ext4 constantly mounts as read-only

I'm at a complete loss, here. After only using my computer for short periods of time (often less than a minute), my root partition (Ext 4, /dev/sda5) become read-only without warning. This happens ...
4
votes
2answers
5k views

Unable to mount ISO in write mode

I tried to mount my Ubuntu 13.04 64-bit image using the following command : sudo mount -o rw,loop /home/varun/Downloads/ubuntu-13.04-desktop-amd64.iso /media/cdimage But I gets the following ...
3
votes
2answers
312 views

How do I make a drive write-protected or read-only in linux?

I have installed Ubuntu on my machine, I have Windows on a small ssd and I would like that ssd not visible, read-only, or write-protected while I am using linux as I do not want any mistakes to mess ...
0
votes
1answer
44 views

How can I change the mode of Sqlite Database?

I want to add some record in my database it is read_only by default, how I can change its mode to add the record. I want some linux command, I was trying gfix but it failed to execute.
1
vote
2answers
9k views

HFS+ hard drive being mounted as read only

This is a recurring problem and occurs a few times a week. I have an external hard drive which is hfs+. Every couple of weeks, for no obviuous reason, when I mount it by pluggin it in to my Ubuntu ...
2
votes
1answer
229 views

Why can't I write data to SD Card

I am about to upgrade hard drives and I was attempting to back up data to an SD card that I had used before flawlessly. The disks app said that it was read only, and when I put in a cat picture to ...
0
votes
2answers
384 views

Thumb drive suddenly “read only file system”

I just downloaded and installed 14.04 to replace a xubuntu 14.10 that has been crashing on every reboot. Now, with nothing else installed, I copied about 2 gig of pictures, files, etc onto a thumb ...
1
vote
2answers
615 views

USB Disk stuck in read only after dd an ISO

This has probably been asked before but I have not been able to find it so I'll ask again. Here's what I did: sudo dd if=./windows.iso of=/dev/sdb #sdb is a 64gb USB disk Afterwards I was unable ...
1
vote
2answers
2k views

How to edit read-only file in etc?

I'm a brand new user so I'm not sure of my way around the system yet. I want to change my computer's name, so I tried to edit the name in /etc/hostname, but it is a read-only file. Adding the '!' ...
1
vote
0answers
136 views

Fat32 mounting as read only

I've edited my /etc/fstab to contain the following: UUID=F285-17E1 /media/TV-1 vfat rw 0 0 UUID=6CBA-1DEC /media/TV-2 vfat rw 0 0 UUID=7D3B-170D /media/TV-3 vfat rw 0 0 UUID=BBFF-1EE4 ...
4
votes
1answer
650 views

USB turn write protection off forced

I have a USB-flash device (SanDisk SDCZ33 BM120423519D) with no hardware switch, which is stuck in readonly mode: # hdparm /dev/sdf /dev/sdf: SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 ...
1
vote
1answer
169 views

File system went read only after adding ssh key

I followed this guide to set up ssh key on my digital ocean droplet, but since I made step 4 my file system went read-only. I changed /etc/ssh/sshd_config from PermitRootLogin yes to PermitRootLogin ...
4
votes
1answer
31k views

How to change “read-only” file at root prompt [duplicate]

Possible Duplicate: How do I change file system in Ubuntu11.10 recovery mode to read-write mode After blank screen, need to change some settings in xorg.conf Logged in at root prompt ...
0
votes
1answer
39 views

User folder accidently relocated, don't have permissions to move it back [duplicate]

Thanks to a rashly typed mv command and my inexperience in installing LaTeX packages, I managed to move my user folder--let's call it /home/bob for the purposed of not revealing my name--somewhere ...
0
votes
0answers
35 views

Mount disk with write permissions but leave it untouched

I have a raw image that I would like to mount to my system (Ubuntu 12). The problem is that I don't want to write anything to the disk itself, so the raw image will stay as it was before mounted. I ...
0
votes
0answers
259 views

Can't write to external hard drive

I can't write to my external hard drive. It was formatted using bootcamp on a mac. Now I'm trying to paste files into the hard drive and I'm using Ubuntu. I can't paste anything on the hard drive. The ...
-1
votes
1answer
229 views

How do I fix a bad /etc/fstab if the hard disk read-only?

I had created a bootable hackintosh usb stick but I found that I had a problem that could be solved by renaming a file or editing another. But the usb stick was read only and, in a moment of ...
0
votes
1answer
87 views

Mounting drive not getting full access

I am having problem with mounting.. I bought iOmega Storage box ix200. I shared a folder from iOmega box for 10 users. I mounted this shared drive in all 10 Virtual machines by editing /etc/fstab ...
6
votes
4answers
34k views

How to delete/edit files from readonly filesystem

I am having problem with my memory device (actually a memory card that act external memory device like pendrive). experimentx@workmateX:/var/www/zendtest$ sudo rm ...
0
votes
3answers
1k views

My microSD mounted read-only

I know this question has been asked a lot. I've tried all the solutions, such as formatting, reboot, remount, etc. But my microSD still read-only. I have partitioned my Micro SD into 2 partitions and ...
0
votes
0answers
123 views

Updating apns-conf.xml on Ubuntu Touch RTM

I am trying out the rtm-ubuntu-14.09 r1 and need to update my /system/etc/apns-conf.xml file (or create a new one in /custom/etc/) to make it work with Tele2 Sweden. I have the apn settings, because I ...
0
votes
0answers
62 views

How can I prevent configuration changes to a specific user account?

Edit: Just to be clear, this isn't going to be a web kiosk. The user will be able to run more programs than just a browser. At very least, some text editor and a few other programs which are already ...