|
- What the differences between `chattr +i FILE` and `chmod -w FILE`?
chattr +i sets the immutable filesystem attribute on the file It differs from access control rules Access control rules apply to the file attributes, while immutable is a filesystem extended file attribute, which may not be available on all filesystems Only a user with root privileges can set or unset this extended attribute Nobody, not even the owner or a user with write permission, can
- debian - How to set `chattr +i` for my ` etc resolv. conf `? - Unix . . .
Or chattr +i etc resolv conf after making it a static file instead of a symlink, but beware that whatever tries to write it, might not like the resulting errors
- What is the effect of chattr +a on a directory
The a Linux file attribute is often documented as applicable to files chattr(1) manpage: A file with the 'a' attribute set can only be open in append mode for writing ext4 wiki: 0x20 File
- -bash: chattr: command not found - Stack Overflow
chattr is a Linux-specific command What system are you using? What tool are you using to try to modify this file? Have you already tried chmod? And finally, why is this tagged ruby-on-rails?
- chattr: Inappropriate ioctl for device while reading flags
From the output, you can not change file attributes on ntfs chattr: Inappropriate ioctl for device while reading flags on media usb ; chattr is only for Linux systems, aka, supported filesystems, like xfs,ext4, etc, but also, there are some minor limitations as well
- How to make a symlink read only (`chattr +i location symlink`)?
How can we lock a symlink so it cannot be deleted? With a normal file directory chattr +i file location can achieve this but doing so with a symlink we get chattr: Operation not supported while reading flags on my-file There is a similar question, How to set `chattr +i` for my ` etc resolv conf `?, but without a solution that could be applied
- Chattr failing with Inappropriate ioctl for device on BTRFS
chattr: read flags of ' dir': Inappropriate ioctl for device here is how my directory is mounted, it is on a btrfs filesystem and the mount is because I use impermanence on my system
- `chattr +i` error on NFS - Unix Linux Stack Exchange
10 I'm trying to secure my authorized_keys file to prevent it from being modified I run this: [root@localhost]# chattr +i authorized_keys chattr: Inappropriate ioctl for device while reading flags on authorized_keys I think it may be due to the filesystem: [root@localhost]# stat -f -c %T home user nfs there is a way to modify it with chattr?
|
|
|