Group member cannot write even with write permission
The logged in user is a member of a group that has a write permission on a folder. But when this user is trying to write something, “permission is denied”.
The logged in user is a member of a group that has a write permission on a folder. But when this user is trying to write something, “permission is denied”.
From the post Why can rm remove read-only files? I understand that rm just needs write permission on directory to remove the file. But I find it hard to digest the behaviour where we can easily delete a file who owner and group different.
I’m starting X as a user and need to set my keyboard brightness in /sys/class/leds/asus::kbd_backlight/brightness. The /sys/ directory gets recreated after reboot, so the permissions will reset too. How do I set it up so I don’t need to make the file writable by all users after every boot?
It appears I still miss some things about the way permissions work. I am on a debian 7 system btw.
just now I have this file of which I downloaded and it belongs to myuser:myuser, that is both user and group are set to me. It also resides in my $HOME directory since that is where I downloaded it to.
When I ls -la, it prints many attributes. Something like this:
Let’s say user has Directory1 and it contains File1 File2 CantBeDeletedFile
How to make so the user would never be allowed to delete the CantBeDeletedFile?
I’m getting a permissions error in CentOS 7 when I try to create a hard link. With the same permissions set in CentOS 6 I do not get the error. The issue centers on group permissions. I’m not sure which OS version is right and which is wrong.
I performed an ls -la on directory on my CentOS 6.4 server here and the permissions for a given file came out as:
I have a daemon (apache/samba/vsftpd/…) running on SELinux enabled system and I need to allow it to use files in a non-default location. The standard file permissions are configured to allow access.
I have a couple of files that I want to move to another’s user home directory. I don’t have permissions to write to that user’s home directory, but I know his password.