The readonly tag has no wiki summary.
2
votes
0answers
15 views
aufs with lower writable branch
I'm trying to hide some directories on a mounted file system (it's not about security, just aesthetics). I've mounted the file system regularly on /mnt/data and wanted to use aufs to overlay a ...
1
vote
2answers
82 views
Can not edit .vimrc file
I have just installed spf13 plugin for vim and I want to customize .vimrc file.
When ever I try to save the edits it says: ".vimrc" E166: Can't open linked file for writing
syntastic: info: no ...
1
vote
1answer
51 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 ...
1
vote
1answer
57 views
Changed file access to read only but I can still write to the file. Why?
I am running a small embedded system built using buildroot. I have come across this strange behaviour when trying to set up my file permissions on the target device. To illustrate what confuses me I ...
2
votes
1answer
52 views
Can I remount as readonly if there's a swap image in use?
When am playing with my Android phone (CyanogenMod 10.1 with kernel 3.0.78), I found this:
A script in /etc/init.d/99system.swap.sh
It remount /system as rw, and creates an image file in ...
0
votes
2answers
207 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
285 views
file still read-only after a mount --bind from a rw partition
I use mount --bind to "overlay" a file from one ext4,rw filesystem onto another file in ext4,ro filesystem. For example, /etc/hosts is on a read-only / partition, but I have another partition where ...
1
vote
5answers
142 views
How can I exit from read-only mode in Vim?
I opened a file in readonly mode; is there a way to get out of readonly mode?
2
votes
0answers
202 views
remount chrooted read-only subdirectory (non-mountpoint) to read-write from within jail?
I'm trying to do the same of this question (multiple linux installation on same filesystem) but I get this result (root filesystem mounted as read-only) .
I'm using debian/sid, have successfully ...
17
votes
2answers
777 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 ...
1
vote
1answer
193 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 ...
5
votes
2answers
84 views
Guest desktop with no configuration permissions
I would like to set up a guest account on my Ubuntu so that anyone could log in (no password) and browse the Internet. But the guest user should not be able to modify desktop configuration (remove ...
3
votes
2answers
154 views
how to create ISO and hide certain files
I am a newbie here and my apologies if I am posting a question which has been answered many times in a another thread.
I did my homework find some relevant information But could not.
Thanks for ...
5
votes
3answers
166 views
Is making /etc directory read only a bad idea?
I have an embedded system setup built using buildroot and using initramfs. It runs on compact flash device where I have created separate ext3 partitions to mount /etc/ and /var directories as well as ...
2
votes
0answers
81 views
/home is Read Only after coming out of screensaver (intermittent)
I am using Linux Mint 13 (Maya) and I have my "/home" partition formatted as ext4 and mounted at "dev/sdc1".
Occasionally I have a strange problem coming up that looks a lot like this bug that I ...
7
votes
1answer
536 views
Is using a read only root file system a good idea for embedded setup?
I have been tasked with running Linux as an operating system on an embedded device.
The target has an x86 processor and has 8 GB CompactFlash device for storage.
I have managed to use buildroot to ...
1
vote
1answer
129 views
What are the possible ways a Debian Linux system may write data to HDD and how to avoid them?
The background:
Here I have a spare x86 board which has a low energe costing AMD CPU built on it. I am planning to DIY a home use file server with it running a Debian base system and some common ...
0
votes
2answers
219 views
Any temporary fix for / being remounted as read-only?
My disk has a few bad sectors and has already failed the SMART tests. It obviously is going down.
It gets remounted to read only and I have to fsck and reboot all over again. Is it safe for me to ...
2
votes
0answers
166 views
Making USB drives readonly on an specific USB port or for an user account
I have a Multiseat machine and the second seat has USB access from a signle port by HUB (a Keyboard and a mouse are connected to it).
I need make all storages drives that is connected to to this HUB ...
25
votes
2answers
5k 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
215 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 ...
5
votes
2answers
2k views
Rm can't delete file
chmod 777 -R /mnt
rm -rf /mnt/*
rm: cannot remove 'omitted': Read-only file system
rm: cannot remove 'omitted': Read-only file system
Please show me how I can do this?
2
votes
1answer
343 views
How to mount FreeBSD 9.0 iso file writable mode?
I want to edit bsdinstall script of freebsd 9.0 iso file.
I tried to extract files,edit and recreate iso but I couldn't boot it.I realized that some of files missed while extracting. I also use ...
3
votes
1answer
248 views
Libreoffice Writer, how to get read-only a document part
I am writing a document with Libreoffice Writer. I would like to set a part of it as read-only, while the rest of the document as non-read-only.
Is it possible to do it?
How?
3
votes
2answers
927 views
Tar overwrites read only files
I created directory test, created file 1.txt in test, wrote 'Before' in this file.
Then I went
cd ..
and used the command:
tar -cvzf ./test.tgz ./test
Then I entered the test dir again. Opened ...
0
votes
1answer
5k 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 ...
3
votes
1answer
515 views
Unset Read Only Variables
Is it possible to unset or change a readonly variable in Korn Shell? I am using AIX 5.
5
votes
3answers
3k 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
1answer
581 views
Problems with a Read-Only Root Filesystem
I was creating a read-only root filesystem for use in an embedded system. I successfully got the system to boot after setting it to read-only initially, but then I needed write access to another file ...
4
votes
2answers
2k views
ISO file readonly?
I have an ISO file and I mount it under /mnt/isofile.
Then I copied this file to another folder.
But the contents are read only and belonged to root.
I tried to use chmod and chown.
But it prompts ...
1
vote
2answers
687 views
Choosing a filesystem for a shared disk (not a cluster filesystem like GFS)
I have a bunch of servers connected to a SAN. One server hosts the production database server, performing full database backups to a filesystem on a LUN that is exported to all servers.
Only the ...