The tag has no usage guidance.

learn more… | top users | synonyms

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

How can I get write access to my usb drives?

I have trouble writing to external drives. They are monuted automatically in Nautilus, but I can not copy anything there ('Paste' and 'create Folder' are just greyed out). Does Anyone have ideas what ...
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 ...
2
votes
3answers
26k views

Linux, how to change HDD state from ReadOnly after temporarly crash?

At this time no ansver for this problem. Usually after some problems with readings or writings to block device, kernel decides to switch flag for WHOLE DEVICE as read-only. After this any writings to ...
1
vote
2answers
17k views

Why is my file system mounted as read-only?

I've put together a small system with busybox, a Linux kernel, and a small file system, putting stuff in as it seemed necessary -- I don't know if I've been learning much from this, but I started out ...
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
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 ...
2
votes
1answer
506 views

How to use history commands with readonly PROMPT_COMMAND?

I'm sometimes logged in on a host which I do not control and where PROMPT_COMMAND is readonly. Is there some way to work around this to run history commands anyway, for example using PS1? I've tried ...
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 ...
3
votes
1answer
364 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
3answers
9k views

How to format write protected SD card

I am newbie in Linux, I want to format my SD card using Ubuntu, for this I follow this tutorial After typing df command , I got list of storage devices.From here I can see my SD card name is /dev/...
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
3answers
5k views

Disk on key is read only on every computer

I have a 16 GB SanDisk Cruzer Blade Disk-on-key. After a few days of use, it has become write-protected/read-only. When I plug it in, you can see this in my Ubuntu's dmesg: [ 819.003359] usb 2-5: ...
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
230 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,...
1
vote
2answers
187 views

temporarily disabling one's own filesystem write permission

I can't believe there is no simple solution to this (because it seems potentially a very useful feature to me), but so far I couldn't find any. I'd like to be able to (temporarily) turn off my own ...
3
votes
3answers
179 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 ...
9
votes
1answer
68k views

read only root filesystem

Somehow my Debian went to read only in root file system. I have no idea how this could have happened. For example when I am in /root folder and type command nano and after that press Tab to list ...
1
vote
1answer
5k views

Filesystem suddenly read-only?

I've been storing some files on a MicroSD formatted to ext4 that I connect via USB. I tried to move a directory in it to an external hard drive, and I got mv: error reading ‘/mnt/sd/Directory/xyz....
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 ...
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
179 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-...
58
votes
3answers
36k views

Why can rm remove read-only files?

If I create a file and then change its permissions to 444 (read-only), how come rm can remove it? If I do this: echo test > test.txt chmod 444 test.txt rm test.txt ...rm will ask if I want to ...
1
vote
0answers
401 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, /...
26
votes
2answers
7k views

How do I make a file NOT modifiable?

While logged in, I can do the following: mkdir foo touch foo/bar chmod 400 foo/bar chmod 500 foo Then I can open vim (not as root), edit bar, force a write with w!, and the file is modified. How ...
2
votes
1answer
1k views

Changing file permissions on an HFS+ filesystem

I ran the command fdisk -l to find out what my external drive is formatted to, I found out it's uses GPT partitions and the filesystem is HFS+. When I try and create a new folder on the external ...
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 ...
16
votes
4answers
13k views

Mount a filesystem read-only, and redirect writes to RAM?

Is it possible to mount a loopback file as read-only, and redirect all writes to RAM?
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
0answers
255 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/...
18
votes
2answers
6k views

Why doesn't mount respect the read only option for bind mounts?

On my Arch Linux system (Linux Kernel 3.14.2) bind mounts do not respect the read only option # mkdir test # mount --bind -o ro test/ /mnt # touch /mnt/foo creates the file /mnt/foo. The relevant ...
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
255 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 ...
5
votes
3answers
1k views

How do I build a read-only Linux system that only writes to the RAM?

This is my current partition structure: Filesystem 1K-blocks Used Available Use% Mounted on tmpfs 127428 0 127428 0% /lib/init/rw udev ...
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 ...
3
votes
2answers
17k views

Give read-only access to specific folders?

I would like to give read-only access to a user but I want him/her to see only the exact folders I give access. for example he/she shouldn't travel around all the server and browse to all users ...
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
916 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) ...
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 ...