The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
1answer
37 views

Loop through read only .zip data archive to extract line from .kml file within [duplicate]

I am trying to access some satellite data on a read only archive. I am only interested in files with certain co-ordinates listed in a .xml within the zip that match my research area. There are ...
1
vote
1answer
26 views

Read Only File System view files within .zip

I am working with a read only file system through Putty SSH. I have lots of zip files which contain multiple directories. I want to read a .kml file stored within one of these sub-directories. Is ...
1
vote
1answer
24 views

Cannot write to /etc/fstab in maintenance mode

I am using Oracle Linux 6.5. Due to bad entries in /etc/fstab, fstab errors occurred on startup and I am unable to log in. It's asking me for the root password to enter maintenance mode. When I enter ...
1
vote
0answers
34 views

after running chown -R on home system is in read-only-mode [closed]

Unfortunately I run the following command: sudo chown -R m:m /home/m whereas m is my username. The intention was to fix some right issues for another problem, however it caused the whole system ...
0
votes
0answers
51 views

Arch linux filesystem permission read-only

I've just installed Arch Linux and done some installations and thought I'm done, but I figured out that I have no permission to write to my file system or do anything. It's just read-only as in the ...
4
votes
0answers
78 views

How to get bash tab completion to work with read only file system?

I have deliberately configured the file system of my RaspberryPi (Raspbian - Jessie) to be read only. One of the things that's not (yet) working is tab (aka auto) completion in bash, where I often get ...
1
vote
0answers
113 views

Cannot remove file: Read-only file system

I am trying to delete a file on an Ubuntu 12.04 system for which I have root access. However, I am getting this error: root@CRST-Web:/home/real_property/html# rm -r -f results.php rm: cannot remove `...
1
vote
0answers
227 views

USB stick read-only in GNOME/nautilus?

Funnily, my newly vfat-formatted USB stick is automatically mounted when I plug it in, nautilus sees it, I can access it, I can see the permissions in the nautilus right click dialog (755), I can ...
1
vote
1answer
86 views

Remounting is not supported at present. You have to umount volume and then mount it once again

I was not able to chmod a file in my /dev/sda3 on my Ubuntu12.04 system. This is what I get when I try to see its information: $ mount | grep 'media' /dev/sda2 on /media/sda2 type fuseblk (rw,...
3
votes
3answers
176 views

resolv.conf - read-only filesystem

I'm in the process of configuring raspbian jessie to run as read-only. Only /tmp is writable and the system is configured to write DHCP ip information in /tmp. Everything is working fine except /etc/...
0
votes
0answers
30 views

DCO/HPA issue causing ATA_HDD to report Read_Only (looping)

Unused 320gb Seagate Momentus sataHDD originally from (now unsupported) iomega encrypt caddy. edit: there is no encyrption on the drive, although files remaining in hpa relate to encyrption the drive ...
1
vote
1answer
29 views

Remove Cinnamon read-only theme

I have installed a new theme in Cinnamon desktop environment, but suddenly it became read-only. Where is these themes located at, for me to delete them manually?
0
votes
1answer
23 views

Linux Mint 17.2 encounters an error, remounts disk in readonly

I already posted the question actually (Linux Mint 17.2 suddenly loses write access to filesystem), but since it occurs rarely I need to ask again with some new info I gathered. I suspect that this ...
3
votes
1answer
360 views

systemd: running a script on shutdown after filesystems are mounted read-only

Is there a way to run a script on shutdown, after the file system is remounted as read-only? I've a raspberry pi connected to a wireless socket, which I can control via a sender and a script. I want ...
2
votes
0answers
30 views

Remote queue-like auditing service (“append-only pastebin”)

I am looking for an existing service / tool which would support the following in a UNIX-like shell environment: append-only writes, with writes guaranteed to be persistent for some well-specified ...
-1
votes
1answer
177 views

Read-only file system

I am trying to remove write permission for others for this one -rwxrwxrwx 1 root root 2950421 Jul 7 15:19 fcp_daemon I am using this command and I am performing this action as a root user chmod o-...
1
vote
0answers
400 views

To fix “Read-only File system” issue when SSH access to IP Camera

Currently I have a IP Camera, which allows the SSH access as root user. The build-in Shell is BusyBox 1.19.3 (but guess not relevant to this issue). There are a few directories, such as /bin, /root, /...
1
vote
1answer
72 views

Run program in readonly mode

I have an apache running under user apache with a lot of permissions (rw to multiple directories). Now I want to let some users upload programs/scripts via webform and execute them, with php function ...
0
votes
0answers
297 views

Using CentOS as a thin client

I have about 50 desktop PCs running CentOS. These will be used as "thin clients" for users to access their real desktops (VMs) using some flavor of NX technology. So, the PC on the user's desk is a ...
0
votes
1answer
2k views

CentOS 7 Live - Read-only file system error

I have loaded a CentOS 7 Gnome Live USB. I wanted to do some operations on it without touching the installed system on the computer, because I only want to try some things. I installed openssh-server ...
0
votes
0answers
253 views

Scsi parity error leads to I/O error

We're using a fiber channel-connected disk array on a blade server. The disk array is set up as RAID 6. Since the beginning of the week our file systems have started to remount as read only due to I/...
0
votes
1answer
44 views

How to Induce read-only to Linux filesystem?

I've read in several places that during an I/O error to the system log file most Linux distributions go to read-only mode. They followed with a procedure for how to recover from it. This is all fine, ...
0
votes
2answers
643 views

DHCP and read-only root filesystem

When doing ifup wlan0 on a system with / mounted as read-only (embedded computer), I get this error: Failed to connect to non-global ctrl_ifname: wlan0 error: Read-only file system Internet Systems ...
3
votes
1answer
82 views

bash silently does function return on (re-)declare of global associative read-only array

Obviously cut out of a much more complex script that was more meaningful: #!/bin/bash function InitializeConfig(){ declare -r -g -A SHCFG_INIT=( [a]=b ) declare -r -g -A SHCFG_INIT=( [c]=d ) ...
2
votes
1answer
254 views

Mark an ext4 filesystem as read-only

I want to create an ext4 filesystem, and add some files to it, then "freeze" it so it is henceforth read-only. I know it's possible to use the ro mount option. But is there some way to indicate in ...
1
vote
1answer
1k views

Remount squashfs root filessytem read-write [duplicate]

I am working on an embedded device. The fstab shows the following info: <file system> <mount pt> <type> <options> <dump> <pass> /dev/root / ...
1
vote
2answers
68 views

Create mount points automatically in /mnt, even though / is read-only

I have a requirement of changing my root partition to Readonly. After changing / to readonly in /etc/fstab, I rebooted the system. Mount points of USB devices is /mnt. But after above changes USB ...
0
votes
1answer
2k views

How can I delete files on a read-only file system?

I have an encrypted .dmg file with some useless files that I need to delete to make space. How can I delete them without having to convert them into a read write system and then back? (Would take 4~5 ...
1
vote
0answers
19 views

What would be the *right* way to use netctl on a read-only root filesystem

I am attempting to use a read-only root filesystem, but am having issues with netctl, since it creates and manages systemd service files as a part of its normal operation. I have a separate partition ...
1
vote
1answer
61 views

I can read from hard disk, but I can't mount it read only

I have some problems with my hard disk - maybe it is broken, maybe the SATA cable is broken, I am just investigating it. One thing is strange. I can read raw data from this device using: # cat /dev/...
6
votes
1answer
912 views

what does mount -o remount,ro / actually do (under the hood)

To remount a mounted filesystem to read-only, I can use following command: mount -o remount,ro /foo This is used for example in the shutdown sequence, where root filesystem (/) is remounted read-...
5
votes
1answer
3k views

Remount a busy disk to read-only mode

I want to force a disk partition to read only mode and keep it read-only for more than 30 minutes. What I have tried: mount -o remount,ro (partition-identifier) (mount-point) -t (filesystem) ...
1
vote
0answers
58 views

Trying to attach to a screen kills the terminal

I was trying to attach to a screen session on a remote computer, with screen -r, but my terminal got killed (I was trying to attach and see what it is, because I did not remember creating it). Now ...
0
votes
1answer
164 views

Unable to delete a file on different user's directory

I've two user's abc & xyz and the user abc has been added to the group xyz via usermod -a -G xyz abc and here the file permission on home directory of xyz i.e /home/xyz: drwxrwxr-x 2 xyz xyz ...
1
vote
0answers
59 views

Preventing automount in CentOS 7

How can I tell CentOS 7 not to mount a new IDE drive (new to the system, but with data I want to examine) the first time I plug it in, so that I can do forensic analysis on it knowing I won't have ...
2
votes
2answers
436 views

How do I prevent Ubuntu from writing ANYTHING to an external harddrive?

There are two reasons you would want to prevent Linux from writing anything to an external harddrive or USB drive when you plug it in: To recover accidentally deleted files from now "empty" part of ...
1
vote
1answer
482 views

cryptsetup luksFormat - cannot open device for read-only access

I created a new partition that I would like to encrypt with LUKS. The device is a 1GB partition with ID 83 (Linux). I've changed the owner to root, and chmod to 777. The command I'm using is : ...
1
vote
2answers
159 views

Using a non-standard location for avahi services

I want to use avahi on a system with a read-only rootfs where /etc is not writable. I can start avahi-daemon with the -f option to specify a non-standard location for the avahi-daemon.conf file (...
2
votes
2answers
324 views

How to re-mount home partition?

My home partition went read-only. I believe this was after trying to access a file that was damaged. I am trying to re-mount it as write with mount -o remount,rw /. But get the message: sudo: unable ...
3
votes
3answers
1k views

Building a Read-Only Linux System With a Writable Layer in RAM

I have a requirement to boot RHEL 6.6/7.0 into read-only mode with a writable layer only in RAM. I believe this is similar to how live CDs work, in that the file system is read-only, but certain parts ...
1
vote
0answers
171 views

Flash memory and set to read only , Is it virus?

Becuase some of limitation of MS.Windows, my friends and my family gime their flash memory to solve their problem. Such as format, partitioning in Linux with the cfidsk ,parted, sfidsk(dump and ...
3
votes
1answer
202 views

Mount USB on Read-Only filesystem

I've got a damaged Mac filesystem, and in single-user mode the command mount -uw / fails (error is something like SATA warning: Enable auto-activate failed). However, I don't need the whole filesystem ...
1
vote
2answers
5k views

mount: warning: /etc/mtab is not writable (e.g. read-only filesystem)

Working on my system I noted that the root filesystem is mounted read-only. My system worked for months, today I get this error: mount: warning: /etc/mtab is not writable (e.g. read-only filesystem). ...
0
votes
1answer
254 views

USB forcely turn write protection off

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 ...
2
votes
1answer
12k views

Read-only file system error while accessing the files on Ubuntu

I have a Ubuntu machine. I am connected to it remotely and getting the following errer: mkdir: cannot create directory `/testFolder': Read-only file system LIKE WINDOWS, REBOOTING the machine ...
1
vote
1answer
252 views

How to delete a file in QNX4 format when a CF card is mounted as read-only in Linux?

Recently, the DMA device of our lab is broken and the suspected problem is in the CF card which is in QNX4 format. I want to delete a file named 'calforce.dat' and recreate it by calibrating the ...
0
votes
1answer
149 views

Declaring User-Defined variables in the C shell in UNIX read-only

I'm having trouble finding documentation, but what is the command to make a user defined variable in the c shell read-only in unix?
1
vote
1answer
2k views

Why does Ubuntu change my file system to read only

Since last Ubuntu kernel update (actual 14.04.1 LTS with GNU/Linux 3.13.0-39-generic i686) on my server I'm noticing something strange. My system boots normally - read-writable, no problems. But ...
1
vote
1answer
203 views

LVM Snapshot mount read-only or not?

In this page of Linux LVM Howto it's said that "LVM2 creates read/write snapshots by default". In this other page of Red Hat docs it's said that "Because the snapshot is read/write, you can test ...
2
votes
3answers
478 views

Unable to delete files as a root user using RS232 serial cross cable

I have a device(CCTV decoder) which was rebooting itself, so cant login using LAN cable. It has RS232 port only, no VGA and keybord/USB port(Embeded PC). I connected RS232 cross cable and used ...