2
votes
1answer
99 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 ...
1
vote
2answers
577 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: ...
0
votes
2answers
146 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 ...
5
votes
3answers
234 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 ...
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
2answers
646 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 ...
1
vote
1answer
177 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
0answers
395 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
392 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 ...
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 ...
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 ...
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
967 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 ...
1
vote
2answers
1k 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 ...