Make all files under a directory read-only without changing permissions?
First, some background:
First, some background:
I am trying to mount /boot/config-4.14.90-v8 on to /usr/src/linux/.config. I’ve tried:
On Debian there is the common problem, that you try to plug an ntfs formatted USB harddrive and then can’t write to it as a regular user to it because the directory belongs to root.
I’m trying to implement a mechanism of automated backup using udev rules and systemd. The idea is to launch a backup routine upon hot-plugging a specific storage device, quite similar to this question, for which I provided an answer myself by the way, but here I’m interesteded in discussing some further tweaks. Namely I want the device to be umounted after the backup service finishes.
Patient: “Doctor, It hurts when I do this.”
Doctor: “Well, don’t do that.”
— maybe the Marx Brothers, but they probably stole it from other vaudevillians if so
I have /tmp on a separate partition, and mounted with noexec. I am using Debian.
I wonder if there is a way to integrate (it’s a bit different from mounting, I think) compressed files as directories into the file system?
I mounted a FAT32 drive onto my Linux computer using the following terminal command: