Skip to content

Magenaut

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

chmod

Why does chmod +w not give write permission to other(o)

August 9, 2022 by Magenaut

When I run chmod +w filename it doesn’t give write permission to other, it just gives write permission to user and group.

Categories Q&A, Unix & Linux Tags chmod, command-line, linux, permissions Leave a comment

How to apply recursively chmod directories without affecting files?

August 8, 2022 by Magenaut

After I apply chmod -R to a directory, permissions are changed for everything within (files and directories). How can I add execute/search (x) permissions to directories without modifying the files?

Categories Q&A, Unix & Linux Tags chmod, find, shell Leave a comment

What is the first chmod octal digit in a four-digit value for?

August 7, 2022 by Magenaut

Sometimes I see chmod commands that use four octal digits instead of three — what is the optional first digit for? For example, chmod 777 is equivalent to chmod a+rwx; what’s the same command for chmod 2777?

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

Get the chmod numerical value for a file

August 7, 2022 by Magenaut

In FreeBSD and also in Linux, how can I get the numerical chmod value of a file? For example, 644 instead of -rw-r–r–? I need an automatic way for a Bash script. Answers: Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue … Read more

Categories Q&A, Unix & Linux Tags chmod, freebsd, linux Leave a comment

How to check which Apache group I can use for the web server to write?

August 6, 2022 by Magenaut

I’m trying to make WordPress work. I currently have this error message:

Categories Q&A, Unix & Linux Tags apache-httpd, chmod, permissions Leave a comment

Chmod by Letters Vs Numbers

August 6, 2022 by Magenaut

I was recently asked by a colleague to use chmod with letters instead of numbers. Apart from the obvious readability advantage is there any particular reason to use letters over numbers ?

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

permissions 755 on /home//

August 6, 2022 by Magenaut

I am wondering why by default my directory /home/<user>/ has permissions set to 755. This allows other users to enter into directories and read files in my home. Is there any legitimate reason for this ?

Categories Q&A, Unix & Linux Tags chmod, files, permissions Leave a comment
Newer posts
← Previous Page1 Page2
  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