The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
3answers
102 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 ...
1
vote
1answer
129 views

How to disable local file writes?

I maintain a shared public computer. Every user has their own directory in /home. We don't like to make /home a network mount because it takes a long time for new users to login, but we would like to ...
2
votes
1answer
105 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
3k 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 ...
0
votes
2answers
302 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 ...
1
vote
1answer
922 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 ...
1
vote
1answer
98 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 ...
2
votes
1answer
212 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
2answers
611 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: ...
2
votes
0answers
114 views

Set PERM_WRITE_PROTECT on an SD card

From what I read here and here I gather that there is a bit on SD cards called PERM_WRITE_PROTECT that will allow me to make an SD card read only. Is it possible to set this bit from Linux? If so, ...
1
vote
3answers
114 views

Is it dangerous to remount a partition rw/ro frequently?

I'm developing an embedded linux system running on a SD card. To protect the SD against corruption I've used a read only root filesystem as well as an extra partition where I mount /home, also in ...
0
votes
2answers
152 views

Make file in linux readonly

Is there a way to make a file readonly permanently in linux. Or can I put a password to a file to make it readonly, then apply that password again to change its permission, or before they can alter ...
10
votes
2answers
326 views

unable to remount filesystem back to read-only after package upgrade

On my Debian system, I have my / on separate partition and mounted read-only. Only /home/, /var/ and /tmp/ are writable. I have also created a Pre-Invoke and Post-Invoke apt hook, so that apt can ...
5
votes
3answers
235 views

Can I make the O/S drive READ ONLY and prevent metadata write back?

Sorry to ask a (probably) stupid question. I am a hardware designer struggling with provision of safe shutdown power to an embedded system. I am aware the Linux normally makes a heavy use of the ...
10
votes
3answers
258 views

bash: Using read <<<“$VARIABLE” on a read-only root partition

Just by coincidence I had to use my ATA-ID-to-device-name script (found here: http://serverfault.com/questions/244944/linux-ata-errors-translating-to-a-device-name/426561#426561) on a read-only / ...
2
votes
1answer
2k views

Linux VM's disk went read-only = no choice but reboot?

I have several Linux VMs on VMware + SAN. What happened A problem occured on the SAN (failed path) so that for some time, there were I/O errors on the Linux VMs drives. When the path failover had ...
1
vote
1answer
524 views

What could cause a run time remounting of my /var partition to be read only?

I have a buildroot generated embedded linux system (x-86 geode processor) using an initramfs but with /var and /etc mounted onto a compact flash device using the default mount options specified in ...
1
vote
1answer
486 views

Adding files to Linux readonly-root

I've a netboot Linux server where the the /root is mounted as readonly. # Set to 'yes' to mount the system filesystems read-only. READONLY=yes # Set to 'yes' to mount various temporary state as ...
1
vote
1answer
191 views

Problem with chown directory

i'm login with root account i want to chown my directory i do this: [root@sop /]# chown -R webadm:webgrp /ap/P12B/ I have this error: chown: changement de propriétaire pour `/ap/P12B/': Système ...
1
vote
2answers
649 views

Cannot modify files in my home directory

I have a laptop running Ubuntu Server 12.04 and suddenly, yesterday, I don't know what happened, but all the permissions changed of my home directory, so when ever I try to create a file, it says ...
2
votes
0answers
183 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
675 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
2k 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
179 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
172 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
4k 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 ...
2
votes
1answer
57 views

Readonly in mounted partition's root

/etc/fstab UUID=<someuuid> /mnt/data ext4 defaults,relatime,data=ordered 0 2 and /mnt$ ll drwxr-xr-x 2 manuel users 4096 15. Apr 18:25 data /mnt$ mount -a /mnt$ ll drwxr-xr-x 4 root root ...
3
votes
2answers
852 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 ...
5
votes
5answers
4k 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
397 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 ...
20
votes
2answers
2k 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 ...
3
votes
2answers
673 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
135 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
397 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
585 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
163 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 ...
10
votes
2answers
2k 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
173 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
286 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
211 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 ...
33
votes
2answers
15k 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
402 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
11k 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
545 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 ...
4
votes
1answer
418 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
2k 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
8k 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
1k views

Unset Read Only Variables

Is it possible to unset or change a readonly variable in Korn Shell? I am using AIX 5.
10
votes
3answers
6k 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?
1
vote
1answer
969 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 ...