Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

permissions

Group member cannot write even with write permission

August 11, 2022 by Magenaut

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”.

Categories Q&A, Unix & Linux Tags files, group, permissions Leave a comment

Why is rm allowed to delete a file under ownership of a different user?

August 11, 2022 by Magenaut

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.

Categories Q&A, Unix & Linux Tags architecture, files, history, permissions, rm Leave a comment

How to set permissions in /sys/ permanent?

August 10, 2022 by Magenaut

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?

Categories Q&A, Unix & Linux Tags filesystems, permissions, users Leave a comment

Permission denied to change gid(group) of a file I own

August 10, 2022 by Magenaut

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.

Categories Q&A, Unix & Linux Tags permissions Leave a comment

What’s the difference between “s” and “S” in ls -la?

August 10, 2022 by Magenaut

When I ls -la, it prints many attributes. Something like this:

Categories Q&A, Unix & Linux Tags ls, permissions Leave a comment

Is there any way to prevent deletion of certain files from user owned directory?

August 10, 2022 by Magenaut

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?

Categories Q&A, Unix & Linux Tags directory, permissions, rm Leave a comment

Hard link permissions behavior different between CentOS 6 and CentOS 7

August 10, 2022 by Magenaut

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.

Categories Q&A, Unix & Linux Tags centos, hard-link, permissions Leave a comment

What does a dot after the file permission bits mean?

August 10, 2022 by Magenaut

I performed an ls -la on directory on my CentOS 6.4 server here and the permissions for a given file came out as:

Categories Q&A, Unix & Linux Tags linux, ls, permissions Leave a comment

Configure SELinux to allow daemons to use files in non-default locations

August 10, 2022 by Magenaut

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.

Categories Q&A, Unix & Linux Tags linux, permissions, selinux Leave a comment

Move file to another user’s home directory (without sudo)?

August 10, 2022 by Magenaut

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.

Categories Q&A, Unix & Linux Tags mv, permissions, scp Leave a comment
Older posts
Newer posts
← Previous Page1 Page2 Page3 Page4 … Page13 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress