Questions tagged [readonly]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
33 views

Files became read-only in my Kali Linux

rm [EgyBest].Vikings.S04E20.BluRay.1080p.x264.mp4 rm: cannot remove '[EgyBest].Vikings.S04E20.BluRay.1080p.x264.mp4': Read-only file system Why did my simple videos or C files became read-only files?
2
votes
2answers
43 views

Can I mount ext4 without writing the last mountpoint to the filesystem?

I have an old ext4 disk partition that I have to investigate without disturbing it. So I copied the complete partition to an image file and mounted that image file while continuing my investigation. ...
0
votes
0answers
25 views

Unable to mount root file system as read-only at boot

I am running Raspbian Buster on a raspberry pi, and I have tried to make the filesystem read-only as I don't need to write data and I want to spare my sdcard. I have followed a guide that basically: ...
0
votes
0answers
22 views

Why external device becames READ ONLY after other programs use it?

Manually mounted device sdd1 is ok to use (mv, rm, cp etc) from terminal commands, but from the moment onwards that I use , lets say pcmanfm or firefox to save things, for instance, it becames READ ...
0
votes
2answers
23 views

Can't get permission for partitioned disk

When I tried copying files from my Home/Downloads folder to other partition of my hard drive, it returns the message 'Permission Denied'. I tried few of these: It just says: 'Read-only' whatever I ...
0
votes
0answers
36 views

mount -r (read-only) mounting read-write

When I run mount -r /media/sdd1 the device is mounted read-write, with no warning or sign that the -r option failed. $ egrep sdd1 /etc/fstab /dev/sdd1 /media/sdd1 auto user,noauto,exec,nodev 0 ...
0
votes
0answers
30 views

OpenSuSE Leap 15.1 installation: System startup fails because of read-only file system

On a virgin PC I have this problem with a freshly-installed openSuSE Leap 15.1: Installation runs fine, but when booting from hard drive for the first time, the boot menu as well as the "Loading linux"...
3
votes
1answer
179 views

Overloaded the RAM, now disk (SSD) is behaving as read only, fixable?

What happened; I started a badly written script to combine two binary files (via ssh), it needed more space than available in the RAM, presumably started using disk space as swap. My ssh connection ...
0
votes
1answer
285 views

Using systemd-timesync on a read-only / filesystem

I'm trying to set-up a Raspberry Pi with read-only filesystems. The base image is the debian buster lite raspbian image. Most stuff is working, e.g. had to do simple fixes like: mv /etc/resolv.conf /...
0
votes
0answers
13 views

USB write protection: detect hardware fail

I'm struggling with an old USB that is mounted in read only. I've tried to set the bit of read only to 0, but no fortune. How can i be sure that is related to a hardware fail?
0
votes
0answers
27 views

Checking the last mount status (read-only or read/write) of a partition

In an embedded system, we are using 2 partitions (P1 and P2) for the redundant storage of data. By default, both partitions are mounted read-only. When data need to be written, P1 is to be remounted ...
0
votes
0answers
35 views

Is there a terminal file-browser like ranger or nnn, which features a readonly mode?

I am looking for a terminal file-browser like the filemanagers ranger or nnn etc, but with a readonly mode?
1
vote
2answers
148 views

Why I cannot ssh on a read-only/machine?

First, I precise that I was able to ssh on this machine (I think an embedded system based on Debian 7), but I had to set / to read-only to prevent any power off problems. I verified that /tmp, /var/...
1
vote
0answers
47 views

Files reappearing instantly after deleting

Initially, I had the issue of Cannot remove fileX Read-only filesystem and referred this thread which removed that problem but raised other, rather peculiar, problem; when I deleted the files from the ...
0
votes
1answer
74 views

(k)ubuntu ssd and hdd. Hdd is read only

I've a laptop with a 128GB SSD and a 1TB HDD. I just installed kubuntu on it and mounted my SSD on / and my HDD on /usr But now when I want to install a Steam game om the HDD, it keeps ...
0
votes
1answer
50 views

Dual Boot goes Read Only

My Machine dual boots windows 10 and Bunsenlabs. Hard drives are encrypted with VeraCrypt. The second Hard drive became read only now (one internal one external). Peculiarity Windows created "$...
-2
votes
1answer
63 views

Formatting a problematic USB Drive

So, today I partitioned my 8GB USB stick in 2 partitions (5-3 GB). In the 3GB partition I launched the dd if=/path/to/file of=/dev/sdcX; sync command (like written in the Debian site) to copy the ...
2
votes
1answer
100 views

Is it possible to remove or modify readonly variable?

I set a variable as readonly in bash but can't remove the variable using unset. How to remove the readonly variable? [root@test ~]# readonly xyz=2 [root@test ~]# echo $xyz 2 [root@test ~]# xyz=44 -...
1
vote
2answers
42 views

vim: open file under cursor in read-only (no swapfile)

so, we all know of gf, :find, etc, but is there a read-only equivalent, the :view to their :edit? i just want an easy shortcut to open system headers without creating a swapfile :find +set\ noma\ ro ...
-1
votes
1answer
58 views

How to write to file with redirection/pipes if it's read-only

So this seems to work: chmod 777 config.json node declarations.js > config.json chmod 444 config.json but that seems like extra steps. is there some way to write to a file with redirection and ...
1
vote
1answer
23 views

Shutting off power with a non-system r/w ext4 volume mounted

I'm running Raspbian off a read-only ext4 volume. I also have a read/write usb flash volume (ext4, sync) mounted via fstab that runs a simple application that is expected to write occasionally. While ...
0
votes
0answers
251 views

Cannot delete a BTRFS subvolume “Operation not permitted”

I have a subvolume of BTRFS filesystem that I cannot delete. # btrfs subvolume delete /var/snap/lxd/common/lxd/storage-pools/default/containers-snapshots/ntp-backup/working Delete subvolume (no-...
0
votes
1answer
40 views

readonly for root ( -i flag disabled )

here's my problem : a friend set me a readonly bad wallpaper on ubuntu gnome. I want to change it. : ) I found the file i have to modify : /etc/dconf/db/local.d/locks/00_default-wallpaper but when ...
0
votes
1answer
170 views

Solution for unmaskinig a service on read-only rootfs?

I have an embedded system with a read-only rootfs on which several services are masked. The masking creates a symlink to /dev/null in /etc/systemd/system/. The unmasking tries to remove the symlink ...
0
votes
0answers
37 views

Can't paste files to GoPro from KDE Manjaro

I'm trying to update my GoPro Hero 3 by copying the update file to the gopro as per the instructions. However, It's telling me that it's a read-only filesystem: cp ~/Downloads/UPDATE.zip /run/media/...
-2
votes
1answer
79 views

Ubuntu do not boot [closed]

I have been workinng on ubuntu that is installed on dual boot with windows 10 for a while and yestrday a have descovred that all my files are on read only i can't modify or delete .... I found then ...
2
votes
3answers
1k views

How can I filter read only file systems out of df output?

I use df to check if any of my mounted file systems are close to getting full. I have a cron job that sends me email if any of them are getting to be above 90% full. The problem is that some ...
3
votes
3answers
2k views

Function to conditionally set a variable read-only

If I had a script which sets variables read-only to some odd values, and sets errexit because of other unsafe operations: #!/bin/bash set -e declare -r NOTIFY=$(case "$OS" in (macosx) echo ...
2
votes
1answer
313 views

rootfs readonly vs overlayfs

We need to have a read-only rootfs because of safety issues (no change to the FS in flash is possible). Other writable partition can be used with the read-only rootfs (for logs for example). In terms ...
1
vote
1answer
52 views

Boot option for mounting read only and run script?

I would like to make a special boot option in grub2. When this boot option is selected as a boot target, it will mount as read only (instead of the normal read/write mode), and run a script that doesn'...
3
votes
0answers
256 views

How does the Linux kernel decide if a block device gets the read-only flag set by default?

I have a USB stick which (for about 2 months) constantly gets mounted read-only. After a bit of research and testing I found out, that the block devices of the device itself (/dev/sdc) and one of the ...
5
votes
1answer
9k views

HFS+ file system being mounted as read-only

I have an external drive that I am formatting for a Mac friend, so I set it to HFS+ using Gparted. I am unable to write any files to the drive now, even after running the mount command with the rw ...
0
votes
1answer
278 views

Is rsync completely read only?

If I use the following command: rsync -r <source> <dest> it only reads the files from source? Such that if all of the source directory were read-only, it should never have a problem, is ...
0
votes
1answer
1k views

Mount device as RW for root and RO for everyone else

I have a device I want to mount for root with full permissions and for everyone else as readonly. The man page tells me this is possible. So: sudo mkdir /mnt/foo sudo mkdir /mnt/fooReadOnly sudo ...
10
votes
3answers
5k views

Why is a file with 400 permissions seen writable by root but read-only by user?

If I create a file as an unprivileged user, and change the permissions mode to 400, it's seen by that user as read-only, correctly: $ touch somefile $ chmod 400 somefile $ [ -w somefile ] && ...
0
votes
1answer
538 views

Read-only filesystem - Considerations and Loss of Functionality

I'm creating an embedded system using Buildroot. Currently, my Buildroot configuration ensures the rootfs is remounted as read/write during startup. However I would like to remove this feature and ...
0
votes
1answer
4k views

How to fix read-only EFI system partition?

I have a EFI partition, /dev/sda1, that I was once able to install GRUB to and change the boot order with efibootmgr without issue, unfortunately now, however, I cannot I receive 'Read-only file ...
0
votes
1answer
1k views

Usability is compromised on Ubuntu because of read-only filesystem error

Over the past couple of days Ubuntu has been progressively locking me out of the the system. I can't open some programs and the last straw was a few minutes ago when it refused to save a screenshot. ...
-1
votes
1answer
187 views

Drive in readonly, after cryptsetup

I have been having some trouble with my 16Gb USB. You see I decided to attempt to encrypt it using cryptsetup, and I have done this before without problems, but his time, when I was creating a ...
0
votes
0answers
427 views

UBIFS going into Read only mode

I have a customer unit having UBIFS file system on it. Unit is up and running fine. The unit under goes a test of power cycling (AC mode-Battery mode- AC mode). At some point of time the unit(UBIFS ...
0
votes
1answer
4k views

root file system stays read-only

I am currently trying to start working with an embedded linux device (arm). When I am trying to install packages it fails saying that some /usr/... path points to a read-only filesystem. By looking ...
1
vote
1answer
58 views

Does mounting external media read only make ejecting the media unnessesary? If so, how to mount all external media read only?

I am building hardware solutions for video debriefing purposes, where users will connect and remove cameras and/or SD cards to computers all the time. I am working with Raspberry pi's (Raspbian) for ...
0
votes
1answer
360 views

Is it possible to write on a mounted hard-drive that has Apple HFS/HFS+ file system

Running the latest Tails I have attached my hard-drive that got automatically mounted. However it seems only to be read-only. Is there a way to mount it in read/write ? Or is this not possible since ...
-1
votes
1answer
8k views

Mount external HDD with writing permissions

I'm using a 2.7T Porsche Design Desktop Drive (external HDD) at work and I need to mount it on a Proxmox 4.4-13 server. Currently I have several personal info but also have around 1TB free and the ...
1
vote
0answers
397 views

Add GRUB entries when grub.cfg resides on read-only filesystem

Kali Live USB has grub.cfg on a ISO 9660 partition that is obviously read-only. I want to add more GRUB entries to pass kernel parameters needed for my laptop to boot correctly, is there any way to ...
3
votes
0answers
4k views

(Errno 30: Read-only file system) when creating python virtualenv in shared folder

I am running Ubuntu 17.10 trying to create a python virtual enviroment (named "my_virtualenv") inside my VBOX shared folder with the idea to use this python interpreter in pycharm from my Windows host....
1
vote
2answers
87 views

samba user write error

I have an issue when I want to write to a raspberry smb share from my PC (linux mint). users on the raspberry: default user "pi" and new user "TF" "pi" user has write permission, but "TF" does not ...
13
votes
4answers
875 views

Unable to remount / back to read-only after package upgrade

I am using Debian Stretch. My root partition is mounted read-only. Only when I install or upgrade packages, is / remounted to read-write (by using apt hook), and then remounted back to ro. Sometimes ...
2
votes
0answers
2k views

How to properly mount other partitions (NTFS) on my Fedora FSH?

I recently switched to Fedora 27 Beta (UEFI install, dual-boot with Win 10), and I changed my /etc/fstab to include the two following lines: UUID=D0E24ECDE24EB78C /media/DownloadsBin ntfs-3g auto,...
2
votes
0answers
430 views

Can't set filesystem to rw after crash

My Mint crashed twice yesterday. Googling for frozen system with flashing caps and scroll-lock LEDs made me believe it was a hardware problem. I carefully cleaned everything, and the hardware seems to ...