Questions tagged [read-only]

Questions related to read-only devices or permissions.

Filter by
Sorted by
Tagged with
0 votes
0 answers
13 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 ...
Confused Admin's user avatar
0 votes
2 answers
176 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 ...
Simón's user avatar
  • 11
0 votes
0 answers
65 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 ...
David Gyulinyan's user avatar
0 votes
0 answers
38 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 ...
Fring Gus's user avatar
-1 votes
1 answer
299 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 ...
Ratconned's user avatar
0 votes
1 answer
45 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, ...
Sean's user avatar
  • 213
0 votes
0 answers
211 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 ...
Bee's user avatar
  • 1
0 votes
0 answers
139 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 ...
Deezspizeek's user avatar
0 votes
0 answers
128 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?
Vish's user avatar
  • 1
1 vote
1 answer
790 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-...
Xyozni's user avatar
  • 21
0 votes
0 answers
203 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, ...
Sam B's user avatar
  • 1
0 votes
1 answer
175 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 ...
GabOZN's user avatar
  • 1
0 votes
0 answers
67 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 ...
zzc13's user avatar
  • 1
0 votes
0 answers
64 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 ...
alpine's user avatar
  • 1
1 vote
0 answers
125 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 ...
sancho.s ReinstateMonicaCellio's user avatar
0 votes
0 answers
229 views

Read only /root folder

Can a user have read-only access to the /root folder? For example, only in the .bash_history file.
Yannis's user avatar
  • 1
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 ...
H8rs..'s user avatar
  • 11
-1 votes
1 answer
155 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?
Foo127's user avatar
  • 1
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 ...
Ben Hocking's user avatar
0 votes
0 answers
51 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.
Michael-Liendo's user avatar
1 vote
0 answers
219 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....
Irfan Emon's user avatar
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:
Dániel Dávid's user avatar
0 votes
0 answers
61 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 ...
BGOPC's user avatar
  • 101
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
Sanket Babu Basnet's user avatar
0 votes
0 answers
476 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 ...
Lirik's user avatar
  • 11
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:...
pcazou69 pcazou69's user avatar
1 vote
0 answers
116 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/...
You Aline's user avatar
0 votes
1 answer
317 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 ...
preator's user avatar
  • 51
1 vote
0 answers
386 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 ...
dnielr's user avatar
  • 11
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 ...
Doffice ecare's user avatar
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 (...
sa0bxi's user avatar
  • 81
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 ...
Trojan's user avatar
  • 51
1 vote
2 answers
293 views

Why is Ubuntu Server NAS partition changing automatically filesystem to "read only" during backups?

UPDATE 05/13: I ran simultaneous backups from 3 workstations (3 different Samba users) yesterday (Windows image backups - almost 47 GB the biggest file, .vhdx type). I noticed that 1 Samba users wrote ...
Jose M's user avatar
  • 13
0 votes
1 answer
545 views

Cannot write files

Someone else (who is not available) set up an Ubuntu server. It is hosting a web server (possibly Apache). I am not able to write new versions of the web pages. I logged in as root and went to one ...
WeststarEric's user avatar
0 votes
1 answer
221 views

retroarch Error while read-only file system

I installed a snap of retroarch. When i run,it show below error in image fazil@acer:~$ retroarch mkdir: cannot create directory ‘/home/fazil/snap/retroarch’: Read-only file system retroarch error ...
fazil klkt's user avatar
0 votes
0 answers
559 views

File system becoming read-only at random

for some time now my OS has been switching to read-only mode seemingly at random. Typical fix for this problem was booting from live USB and running fsck /dev/sda3/ and then I could boot up normally. ...
Swagnar's user avatar
  • 11
0 votes
0 answers
108 views

Ubuntu 20.4 LTS switching to read only

I have been using Ubuntu for more than a decade. Recently I am using Ubuntu 20.4 lts. It has switched to a read only mode on its own. No idea how this happened. What should I do to make it read and ...
Ashag's user avatar
  • 1
0 votes
0 answers
216 views

ddrescue correct tool for an HD, if testdisk finds no partition? Other tools?

I'm on Linux and have an HD (ext4, not ssd), that suddenly was remounted as read-only. After a restart, said HD was shown as having no partition. testdisk didn't find the partition (should be only one,...
Mrokii's user avatar
  • 502
0 votes
1 answer
685 views

Can't edit file even on sudo [closed]

I want to edit a file in the /snap folder with nano but it is not possible. [ File '/snap/pycharm-professional/current/bin/pycharm64.vmoptions' is unwritable ] I even tried this solution, but it is ...
MHeidarian's user avatar
0 votes
1 answer
1k views

How can I make a USB flash drive after it was used to create a startup disk for Ubuntu

Now, no matter whether it is mounted/unmounted or I try from within Win 10 or Ubuntu 20.4, I am informed that the drive is Read Only. When I try to wipe it, format it or write to it absolutely ...
Larsen Scott's user avatar
0 votes
0 answers
27 views

Do not crash the system (everything segfaults) when the USB OS shortly disconnects

I dropped my computer onto the ground and the disk was broken. Therefore, I installed the OS on a USB. However, it sometimes disconnects at any time, during contributing Wikipedia, online chatting, ...
Emoji's user avatar
  • 577
0 votes
0 answers
2k views

Ubuntu changed to Read-only file system after update & rbenv install

Linux noob using Ubuntu 20.04.3 to learn code. Background: This morning I was prompted by Ubuntu to install updates and restart. I have been installing rbenv and Ruby Gems this week trying to fix my ...
Siobhan Vida Ashmole's user avatar
1 vote
0 answers
45 views

Can I boot with /home as readonly?

In connection to Remotely recover file from rm, I consider somehow setting up my system to intentionally boot with /home as readonly, and reboot. Is that possible? I am not sure about how to do it, ...
sancho.s ReinstateMonicaCellio's user avatar
0 votes
1 answer
35 views

Do I need to check readonly disks on boot?

Every x startups, fsck will scan the disks for errors. This takes a very long time for large Disks. Suppose I made a harddisk read-only with the command sudo tune2fs -O read-only /dev/sdXY. Are those ...
julian bechtold's user avatar
2 votes
1 answer
595 views

Make file system/partition Read-Only for archiving purposes

I have found a couple of questions relating to file systems which are in Read-Only mode after failure and how to make them writable again. I want to achieve the exact opposite. I have 3.5" Hard ...
julian bechtold's user avatar
0 votes
0 answers
218 views

Windows' partitions become read-only

In between when I am working, the windows partitions suddenly become read-only. When I restart the computer, I have to run fsck -y command to boot the system. The disk assessment is "72 bad ...
Gurasees Singh's user avatar
1 vote
0 answers
153 views

Finding out why disk goes read only oncec a week

Once per week it seems this ssd goes into read only mode. It seems like its always Sunday but I can not 100% confirm that at this point. Is there any place I should look to see whats kicking it into ...
hcker2000's user avatar
  • 111
0 votes
1 answer
633 views

Trying to patch a read only directory

I am currently trying to apply a patch to a read only directory, but I am having some issues, since this is a read only directory I mount the directory with # mount -o remount,rw /var/lib/waydroid/...
Miguel Garcia's user avatar
0 votes
0 answers
918 views

Can't paste files to external HDD in Ubuntu, but can edit and delete files on it and some programs can still write to it

I just did a fresh install of Ubuntu on a new computer, and my external HDD (internal in an ext case) is read only and I can't seem to be able to change that. Some programs, however, like youtube-dl, ...
Piggy's user avatar
  • 21
1 vote
1 answer
174 views

Read-only filesystem with corrupt Windows installation

My 1tb hdd is read-only. I followed the steps shown here and got this output: WARNING: blksize option is ignored because ntfs-3g must calculate it. The disk contains an unclean file system (0, 0). ...
timtoy's user avatar
  • 11

1
2 3 4 5
9