Questions tagged [read-only]
Questions related to read-only devices or permissions.
439
questions
1
vote
1
answer
15k
views
how to remove write protected system on usb?
i have deleted a usb disk using Gparted , and i am trying to create new disk using the unlocated space .. and i found this message
Can't write to /dev/sdb, because it is opened read-only.
0
votes
0
answers
26
views
Why are files read only?
Why are files read only?
My system is dual boot, Ubuntu Ubuntu 20.04.6 LTS, and Windows 10
This problem only started recently, after the last Ubuntu update.
In the morning when I first log in and open ...
0
votes
0
answers
48
views
mount and read-only issue on Ubuntu 22.04
Can anyone please tell me how to resolve this problem? The file system says it is read-only when I try to use chown or chmod.
Apc Extension failed: Error: EROFS: read-only file system, rename '/snap/...
0
votes
2
answers
6k
views
How do I edit a write-protected file?
I downloaded the Garfield toolkit in the /opt/applications folder. Some examples are present inside the folders which I downloaded with the toolkit, and I want to modify some code inside of them (...
0
votes
0
answers
52
views
Trying to boot a USB from Ubuntu, it crashed, and remained in read-only mode, how do I disable it?
I have tried many things, but they don't work, I don't know what to do.
The name of the USB is sdb.
GParted don't work.
0
votes
0
answers
20
views
Ubuntu 22.04 Server Periodic Read Only After fstrim
Running a Dell 7625 server (AMD Epyc, 2 x A30 GPU) for small/medium local research projects.
We swapped out the original disks for 8TB Samsung EVO 870s, with one running the OS.
Every week when fstrim ...
0
votes
2
answers
230
views
Host and fstab file messed up after try to change swap size
I was trying to increase the swap size of my Ubuntu. I, naïve, followed the steps of this answer:
Check the swap that is in use:
sudo swapon -s
If swap partition(s) are found:
sudo swapoff -a
sudo ...
0
votes
0
answers
85
views
How to unmount read-only file system and resize it. Ubuntu 22.04
I need to resize /dev/nvme0n1p1 partition because it takes almost all memory from my SSD. And also I couldn't make dual boot for Windows as second OS, so I need help.
I've tried this commands to ...
3
votes
1
answer
24k
views
Disk '/dev/sdb' doesn't contain a valid partition table
I have installed Ubuntu on the USB stick and afterwards tried to clean up the disc to install another version of Ubuntu.
I was not able to do it (even when tried to delete files by using sudo -rm), ...
0
votes
1
answer
4k
views
How to make read-only file system writable on Ubuntu 16.04?
I am trying to delete some files from my microSD card on my Ubuntu 16.04 (I am using MircoSD adapter in order to access my files). However the file system has been changed to 'read-only' and hence I ...
8
votes
1
answer
31k
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 ...
0
votes
0
answers
41
views
When I unplugged one of the four 2.5" SSDs, the RAID 5 made by MADAM disappeared
I create RAID 5 with 4pcs of SSDs using this command
[sudo mdadm --create /dev/md5 --level=5 --raid-device=4 /dev/sda
/dev/sdb /dev/sdc /dev/sdd]
and use
[lsblk]
to see the RAID5, which is 720GB ...
64
votes
7
answers
623k
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 ...
-1
votes
1
answer
399
views
Hard disk has become read-only. fsck, some other solutions listed below did not work
I am a new Linux user, on Ubuntu Desktop 22.04.03 LTS. For trying Linux, I started with a dual boot with windows 10 on 256GB nvme SSD and 495 GB default partition made by ubuntu for dual boot on the ...
0
votes
1
answer
50
views
External hard drive that always used to mount read-write when plugged in now mounts read-only
I have an external hard drive that I use for backing up data. I bought and configured it several years ago, and since then it has always mounted read-write whenever I plug it in. Recently, though, ...
0
votes
0
answers
229
views
Can't run apt commands: permissions fun with /var/lib/apt/lists/partial
Today I tried running sudo apt-get update on our Ubuntu 22.04 server and got the following:
Hit:1 http://us.archive.ubuntu.com/ubuntu jammy InRelease
Err:1 http://us.archive.ubuntu.com/ubuntu jammy ...
0
votes
0
answers
163
views
How to read and write inside mounted vendor.img
I need help with editing vendor.img.
I had a problem where if I mounted vendor.img, it's just read-only, I tried to edit permission via file manager's properties tab, but that don't work. Is there any ...
0
votes
0
answers
145
views
Want to format UDF Usb Readonly drive to NTFS
new here. I have a usb of 32gb which I got form a course I enrolled. Now I want to format the usb and use it for my personal use but I cannot format it. Can anyone help or should I just throw it?
1
vote
1
answer
801
views
Unable to modify files in root even after booting it up as admin
I'm trying to copy+paste a plugin for OBS under /snap/obs-studio/1284/usr/lib. It's located in root. The paste option is grayed out doing:
sudo su
nautilus
leads to me opening it as admin:///snap/obs-...
0
votes
0
answers
236
views
Renaming Files on NTFS drive via File Explorer lead to Input/Output Error in Directory
Working on a fresh install of Ubuntu 22.04 LTS on hardware that was a mid-tier gaming PC when custom built about 12 years ago. 2 hard drives, primary was reformatted with 4 partitions: swap, boot, OS, ...
0
votes
1
answer
212
views
Turn off read-only pen drive
I'm trying to format a 64gb pen drive that turned readonly after failing to move a larger video file using gparted but it keeps failing due to the pen drive being in readonly. (just installed Ubuntu ...
0
votes
0
answers
77
views
My laptop keeps crashing whenever I leave sleep mode
Whenever my laptop enters sleep mode and I want to use it again my system crashes after about 20 seconds.
When I enter my password and try using my system after leaving sleep mode I loose all of the ...
0
votes
0
answers
70
views
Stuck in read-only mode
I am new to Linux so please bear with me.
I run Ubuntu 20.04.6 LTS (GNU/Linux 5.4.0-155-generic x86_64) on a partition of my hard drive. Multiple things happened :
I filled up that partition while ...
224
votes
20
answers
1.3m
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 ...
88
votes
9
answers
234k
views
Why does my NTFS partition mount as read only?
Until recently both my Windows Partition (C:) and my Data Partition (E:) would mount as read/write. Now both seem to only mount as read-only.
GParted Resize (Error)
ntfsresize v2.0.0 (libntfs 10:0:...
1
vote
0
answers
144
views
Make a partition read-only, and revert it
Is there a way to flag a partition in a disk (internal, for the case in point, although I doubt this is relevant) to be read-only?
I mean to do it from within Ubuntu (that's why I posted here). I ...
1
vote
0
answers
35
views
KPL-W0X keyboard backlight, editing read-only file to toggle power?
Im going to try to be as thorough as possible here, please bare with.
So I own a Huawai laptop (Model:KPL-W0X), and I've been running Ubuntu (currently : 22.04.2 LTS) on it for almost 2 years, but ...
0
votes
0
answers
268
views
Read only /root folder
Can a user have read-only access to the /root folder?
For example, only in the .bash_history file.
0
votes
1
answer
51
views
Two files with exact same permissions, but one is opening read-only
On an Ubuntu 22.04 VM, when I look at my files, I see that they have read/write/execute permissions set up correctly for root and vboxsf:
$ ls -lrt foo.pvs bar.pvs
-rwxrwx--- 1 root vboxsf 23492 Jan ...
-1
votes
1
answer
172
views
Read only Drives 22.04.2 LTS
I can't create folders on my HDD or my system drive, when I try to change the location of a folder to one of this drives, it says that they are in read only mode. How do I fix this?
30
votes
3
answers
44k
views
Why can't snap files be modified in any way?
I have been trying for a long time to change Blender's icon, but no matter what I do, I am not allowed to edit anything in /snap/blender-tpaw/3/.
Here's what I tried:
Editing the files from nautilus ...
1
vote
1
answer
3k
views
Removing write protection on udf usb drive
I like many other have this question and can't believe no one has found a way around this.
I have a usb drive that is a UDF format and can not format it was given to me by my company and said i may ...
1
vote
0
answers
398
views
USB Cannot be mounted only as ready only
I have an usb in read only mode:
getfacl: Removing leading '/' from absolute path names
file: media/user/USB/
owner: user
group: user user::rwx group::r-x other::r-x
Running fsck -p /dev/sdc1, I ...
0
votes
1
answer
320
views
Repeating problem with root filesystem on SSD becoming read-only randomly
I replaced system SSD drive 1TB with a larger one 2TB and cloned the content using CloneZilla utility. Then in the OS the drive still appeared 1TB but I was able to extend it to 2TB. All the data ...
0
votes
0
answers
50
views
Can't do anything with USB stick Read-only file system
When I plug my USB stick in, I can't open it. Every time I try to do something with it I'm getting a Read-only file system error message. Do you have any idea how to mount and fix it?
GParted:
1
vote
0
answers
224
views
How to solve read only in file system for a windows drive in ubuntu
I am using Ubuntu 18.04. Recently I added a ssd in my pc. The SSD used for a long time in windows. When I start using that I can't create any file and folder on that drive but I can read all the files....
0
votes
0
answers
67
views
Format Readonly file system
I wanted to format my USB drive,
first, the folder is /dev/sr0 for whatever reason
second, Ubuntu 22.04 detects it as a cd/dvd
third, none of the known things such as sudo umount /dev/sr0 then sudo ...
0
votes
0
answers
5k
views
How do I remount a file system as read/write in linux?
How do I remount a file system as read/write in linux from read only
needed for dev/sda6 ext4,
OS is Dual boot but window is not running
Ubuntu 22.04.1
166
votes
20
answers
456k
views
USB devices showing as read only
I am using Ubuntu 14.04.
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 ...
2
votes
2
answers
11k
views
Suddenly unable to write to usb sticks, the /media structure changed
About a month ago I have run some regular updates on my Kubuntu 16.10 machine (unfortunately I can't remember the names of the packages). Now, a month later, I tried to write some data on my USB stick ...
0
votes
0
answers
503
views
File system becomes (read-only?) on an NVMe SSD seemingly at random
I am currently running a somewhat fresh Kubuntu 22.04 install on a relatively new M.2 NVMe drive.
However, I have a problem where my computer drive (I think) turns read only, causing the system to ...
5
votes
4
answers
22k
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 ...
0
votes
0
answers
151
views
Read only file system after upgrade
I recently upgraded to 22.04
It seems that my file system cannot be accessed anymore.
I get a read only file system error message when trying to chown -R my home directory
more etc/fstab:
# /etc/fstab:...
1
vote
0
answers
124
views
remove read-only ISOFS file system created by startup disk creator
I created a bootable Ubuntu-20.04 USB disk using startup disk creator by Ubuntu. The boot is working fine and installed Ubuntu too. But, it has left my USB derive unusable. Whenever I try to format/...
14
votes
5
answers
112k
views
dpkg: error: unable to access dpkg status area: Read-only file system
I am a newbie in this operating system
I installed Ubuntu 12.10 and I found it very interesting to use.
Then once I install chromn from ubuntu software I got
I/O Error
After that I could not ...
20
votes
4
answers
116k
views
Why has my file-system turned read-only after updates?
I'm running 11.10 and I applied some updates. After that whenever I use my computer, I can, but only for about 2 or 3 minutes before it becomes read-only. Any sudo command entered gives me the ...
0
votes
2
answers
9k
views
USB stuck in read-only cannot do anything
I have a USB that is stuck in read only. I can't format it or delete its partitions. I was wondering if anyone knows of a way to fix this. In the fdisk screenshot the size of the partitions and the ...
0
votes
0
answers
69
views
Working with windows shared file in ubuntu
We are using windows(8.1 & 10) and ubuntu(20.04) in our network environment. When we open a xls,word file in ubuntu which is already opened in windows it is not prompting as a read only and also ...
8
votes
1
answer
2k
views
New 1TB disk works with 18.04 but not 22.04
Just bought a 1TB Element USB disk. I have several before and have had no problems.
I have no problem using the new disk when connected to my laptop running ubuntu 18.04.
Here is the partition table (...
3
votes
1
answer
5k
views
Opening a file in read-only mode using nano
I am new to Ubuntu. I know I can open a file using vim in read-only mode by pass the -R option:
vim -R <filename> //Gives warning if I try to write
However, if I do the same thing with nano, I ...