How to create a file even root user can’t delete it
How to create a file even root user can’t delete it ?
How to create a file even root user can’t delete it ?
If the ls -l command gives me a permission string like
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 with the message:
I have a directory with log files and I’m putting
logs from script launched by users into them. Logging with syslog doesn’t seem
possible in this case. (non-daemon rsync)
It’s the first time I’m installing and configuring Wireshark in a rpm-based distro. In the past I’ve installed it properly on Ubuntu, Mint or Debian.
I tried “chattr +i DIRNAME”, it’s great, but I cannot create files in the DIR after chattr. What else are there to prevent users from deleting a Directory?
Whenever I create or copy few shell files to usb storage device, then I am not able to make them executable.
I am trying to setup a password-less SSH configuration between two machines and I am having a problem. There are a ton of howtos out there that I have followed and have had no success. Here are the steps that I’ve taken
In fact, I would like to ask more general question — “what does write permission for a directory allow you to do exactly?” — but let’s approach it with a concrete example.
I’ve the script which loads the SSH key from the variable (as part of script in CI environment) in order to not keep the private file in the public repository, however ssh-add complains about the wrong permissions (and it seems it’s not possible to bypass it). So my approach is to find the method of changing the permission of anonymous pipe which is created on the fly.