• Latest
  • Trending
  • All
Answer card: chmod 644 for files, chmod 755 for scripts and folders, chmod +x to make a file executable, chmod -R to apply down a tree.

How to change file permissions with chmod

3 September 2026
Answer card stating that Mullvad announced on 3 September 2026 that it is shutting down its public encrypted domain name system servers on 2 November 2026 and sponsoring the Quad9 Foundation instead, with 194.242.2.2 and its five sibling addresses all going away, and virtual private network customers unaffected.

Mullvad’s DNS servers go dark on 2 November, and Quad9 blocks no ads

5 September 2026
OpenAI announcement image for GPT-6 Astra, a spiral galaxy of white, blue and amber points of light curling around a bright core on a near black star field.

GPT-6 Astra lists at $10 and $50, 2.5x what GPT-5.6 Sol costs

6 September 2026
Google's official announcement image for the release, reading Introducing Gemini 3.8 Flash and 3.8 Flash Cyber in black type over a pale blue background with a blurred white chevron and the four colour Gemini spark below.

Gemini 3.8 Flash keeps the price and the 1 January cliff

3 September 2026
Answer card stating that Anthropic announced Enterprise Frontier Safeguards on 1 September 2026, that activity data used for misuse monitoring moves into cloud storage the customer controls under the customer own encryption keys, that Anthropic charges nothing for the feature while the cloud provider bills storage and egress, and that the phased rollout starts later in autumn 2026 with interim zero data retention on Fable 5 and Fable 5.1 for eligible customers.

Anthropic moves retention into your own cloud, for 30 days

3 September 2026
Official Google diagram of a client connection in three numbered steps: a DNS lookup with a query and an address, a TLS ClientHello and ServerHello, then a content exchange with a website. A callout on the DNS step reads 25% of global web traffic is now protected by encrypted DNS, and a callout beside an Android phone on the ClientHello step reads Android 17 supports ECH GREASE by default.

Android 17 hides the SNI, not your DNS or destination

3 September 2026
Still frame from the Claude Fable 5.1 launch video showing model-designed protein binders in orange docked against twelve grey target proteins, rendered as ESMFold2 structure predictions.

Claude Fable 5.1 breaks forced tool use, cuts cache 75%

1 September 2026
Answer card stating that on 31 August 2026 the European Commission designated ChatGPT a Very Large Online Search Engine under the Digital Services Act, the first conversational AI service classified that way, because it answers user prompts and queries including by searching the web, with OpenAI having declared roughly 159.1 million average monthly users in the European Union for ChatGPT search.

The EU now calls ChatGPT a very large search engine

3 September 2026
Answer card stating that on 31 August 2026 the Department of War added OpenAI ChatGPT Mil and Starshield AI Grok for Government to the GenAI.mil portal alongside Google Gemini, all three accredited at Impact Level 5 for Controlled Unclassified Information, with 1.7 million unique users onboarded out of roughly 3 million eligible personnel, and ChatGPT Mil currently serving GPT-5.4 Terra with GPT-5.6 Terra said to be rolling out.

ChatGPT Mil and Grok reached IL5 on GenAI.mil

3 September 2026
Answer card stating that Anthropic opened a research preview of the Model Hardware Standard on 27 August 2026, standardising the driver layer between an operating system and a laboratory instrument with read and write primitives plus discovery and safety limits, reachable through MCP as well as a command line and code files, with no public specification published.

Anthropic’s Model Hardware Standard is gated, and sits under MCP

3 September 2026
Official Cohere key art for the Parse 5 launch: the Cohere mark and the wordmark Parse with a superscript 5 in white, centred on a soft out of focus gradient of deep blue, violet and amber curves.

Cohere Parse 5 is $1.50 per 1,000 pages, on three of five dimensions

3 September 2026
Title card from the OpenAI announcement video: a man sits on a blue sofa in a loft with tall windows and potted plants, a laptop open on the coffee table in front of him, with the words WebMCP in ChatGPT in large white type across the lower left.

WebMCP in ChatGPT needs GPT-5.6 Sol or Terra

3 September 2026
The Agentic Coding section of the official Hy4 preview benchmark appendix published by Tencent, a table comparing Hy3 and Hy4 preview against DeepSeek V4 Pro 0813, Qwen 3.8 Max, GLM 5.3, Kimi K3, GPT 5.6 Sol and Claude Opus 5 across SWE-bench Multilingual, SWE-bench Pro, DeepSWE, three SWE Atlas tasks, SWE-Marathon, Terminal-Bench 2.1, NL2Repo-Bench, CyberGym, ProgramBench, PostTrainBench and Harbor-Index.

Tencent’s 770B Hy4 tops one benchmark row in 46

3 September 2026
  • About
  • Contact
  • Privacy
  • Legal
Sunday, September 6, 2026
  • Login
Packet Nebula
  • Home
  • Articles
    • Security
    • Network
    • Dev
    • Sysadmin
    • SEO
    • Email & DNS
  • Tools
    • Network tools: free, fast, no signup
    • Security tools: free, fast, no signup
    • Developer tools: free, fast, no signup
    • Sysadmin tools: free, fast, no signup
    • SEO tools: free, fast, no signup
    • Email & DNS tools: free, fast, no signup
  • Download
  • About
No Result
View All Result
Packet Nebula
No Result
View All Result
Home Sysadmin

How to change file permissions with chmod

by stephane
3 September 2026
in Sysadmin
0
Answer card: chmod 644 for files, chmod 755 for scripts and folders, chmod +x to make a file executable, chmod -R to apply down a tree.
491
SHARES
1.4k
VIEWS
Share on FacebookShare on Twitter

So the script won't run, or a web folder throws a 403 you can't explain. That's permissions, and the fix is usually chmod 644 for a plain file or chmod 755 for anything that needs to run, folders included. When one file just has to become executable, chmod +x does it. Nothing cleverer. The three digits aren't magic either: owner, then group, then everyone else, and inside each digit you add read (4), write (2), execute (1). Honestly, once that clicks you stop looking it up. We'll walk the numbers and the symbolic shortcut for quick one-off flips, plus the recursive -R that fixes a whole tree right up until it stamps execute where it shouldn't. We leave 777 out of it, because it's almost never the real fix.

The short answer

chmod 644 file for a normal file. chmod 755 dir for a folder or a script, and chmod +x script.sh when one file needs to become runnable. Add -R to push a mode down a whole tree. The three digits: owner, group, others.

644files: owner writes, others read
755folders and scripts: add execute
+xmake one file runnable
Answer card showing chmod 644 for files, 755 for folders and scripts, +x to make runnable, and -R for recursive.
The two numbers you use daily, plus the symbolic shortcut.

Read the three digits, and why folders need execute

Each digit covers one set of people: owner first, then group, then everyone else. Inside a digit you add up read (4), write (2) and execute (1). So 6 is read plus write and 5 is read plus execute. 7 is the lot. chmod 644 lets the owner edit and leaves the rest read only, exactly what we want on a plain file nobody should be running. Run ls -l afterwards and the permission string on the left says the same thing back.

Linux
chmod 644 notes.txt

Here’s the bit that catches people: a folder needs the execute bit too. Not to be “run”, to be entered at all. So a folder and a script both want 755, where the owner can change things and everyone else can read and run them. Get this wrong on a web directory and you’ll stare at a 403 that has nothing to do with your config. We’ve lost real time to that one.

Linux
chmod 755 deploy.sh

The quick symbolic change

Recomputing all three digits just to flip one bit is a waste. The symbolic form says only what changes: +x adds execute, -w removes write. Aim it with u for the owner, g for the group, o for others. Honestly, I reach for this far more than the numeric form in day-to-day work.

Linux
chmod +x backup.sh
Terminal showing ls -l before and after chmod +x, with the execute bit appearing in the permission string.
ls -l before and after: the x is the execute bit you just set.

Apply it down a tree, carefully

-R walks into every file and subfolder. Right tool for fixing a whole tree at once, but blunt: chmod -R 755 also stamps the execute bit onto every plain file, which is messy and, on anything public, a small security smell. When folders and files need different modes, set them separately (find is the usual way) instead of blanket-applying one number.

Linux
chmod -R 755 site/

If you’d rather click than count, the chmod calculator turns checkboxes into the exact number and back.

The recursive case deserves its own warning, because chmod -R 755 on a project is a mistake people make once and then remember forever. It marks every file executable, including your images and your configuration, which is both wrong and a security smell in a web root.

What you almost always want is 755 on directories and 644 on files. There’s a neat way to say that in one command, using a capital X, which means "execute, but only where it already applies or where it’s a directory".

Linux and macOS
chmod -R a+rX,u+w,go-w .

The explicit version with find is longer and clearer, and it’s the one we reach for on anything we care about: find . -type d -exec chmod 755 {} + then find . -type f -exec chmod 644 {} +. Two commands, no surprises.

Honestly, we think in octal for these and always have. It’s quicker than translating symbols in your head, and you’ll recognise 755 and 644 on sight inside a week. The symbolic form earns its place for a quick +x on one file, and not much else.

Frequently asked questions

What does chmod 755 actually mean?

Three digits, one per group: owner, group, others. Each digit adds read (4), write (2) and execute (1). So 7 is 4+2+1 (read, write, execute) for the owner, and 5 is 4+1 (read and execute) for the group and for everyone else. It's the standard mode for folders, and for scripts other people need to run.

When do I need chmod +x?

When a file should be runnable as a program. A shell script, say, or a downloaded binary. Hooks too. Without the execute bit the system flat out refuses, even if the contents are fine. "chmod +x script.sh" sets it, and "ls -l" confirms it: an executable shows an x in the permission column.

How do I apply a permission to a whole folder?

Add -R for recursive: "chmod -R 755 mydir". Careful though, it hits every file and subfolder on the way down. The usual refinement is folders at 755 and files at 644, set separately with find, because plain files rarely need the execute bit.

Is chmod 777 a good idea?

Almost never. 777 lets anyone read, write and run the file. That's a security hole, and usually a sign someone's guessing at a permission problem rather than fixing it. If something won't work, find the right owner with chown or the right mode (often 644 or 755) instead of opening it to everyone.

Tags: chmodcliguidelinuxpermissions
Share196Tweet123
stephane

stephane

  • Trending
  • Comments
  • Latest
Answer card: Proton Lumo 2.0 is private by policy, not by locality. Saved history is locked so even Proton cannot read it, but the prompt is decrypted on a Proton EU server to answer it, then forgotten.

Proton Lumo 2.0 review: how private is it, really?

3 September 2026
Google's official announcement image for the release, reading Introducing Gemini 3.8 Flash and 3.8 Flash Cyber in black type over a pale blue background with a blurred white chevron and the four colour Gemini spark below.

Gemini 3.8 Flash keeps the price and the 1 January cliff

3 September 2026
Answer card stating that Anthropic announced Enterprise Frontier Safeguards on 1 September 2026, that activity data used for misuse monitoring moves into cloud storage the customer controls under the customer own encryption keys, that Anthropic charges nothing for the feature while the cloud provider bills storage and egress, and that the phased rollout starts later in autumn 2026 with interim zero data retention on Fable 5 and Fable 5.1 for eligible customers.

Anthropic moves retention into your own cloud, for 30 days

3 September 2026
Answer card: JWTs are not encrypted, anyone can read them; the signature proves who issued the token, not who may read it.

Are JWTs encrypted? No, and the difference will bite you

0
Answer card: a random 8 character password falls in under 2 hours offline, while 16 random characters hold for 1.4 trillion years at the same speed.

How long does it take to crack a password in 2026?

0
Answer card: three DNS records decide if your mail lands or bounces; SPF lists allowed senders, DKIM signs messages, DMARC sets the failure policy.

SPF, DKIM and DMARC explained: the records your email needs

0
Answer card stating that Mullvad announced on 3 September 2026 that it is shutting down its public encrypted domain name system servers on 2 November 2026 and sponsoring the Quad9 Foundation instead, with 194.242.2.2 and its five sibling addresses all going away, and virtual private network customers unaffected.

Mullvad’s DNS servers go dark on 2 November, and Quad9 blocks no ads

5 September 2026
OpenAI announcement image for GPT-6 Astra, a spiral galaxy of white, blue and amber points of light curling around a bright core on a near black star field.

GPT-6 Astra lists at $10 and $50, 2.5x what GPT-5.6 Sol costs

6 September 2026
Google's official announcement image for the release, reading Introducing Gemini 3.8 Flash and 3.8 Flash Cyber in black type over a pale blue background with a blurred white chevron and the four colour Gemini spark below.

Gemini 3.8 Flash keeps the price and the 1 January cliff

3 September 2026
  • About
  • Contact
  • Privacy
  • Legal

Copyright © 2026 Stephane Cardon.

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
No Result
View All Result
  • Home
  • Articles
    • Security
    • Network
    • Dev
    • Sysadmin
    • SEO
    • Email & DNS
  • Tools
    • Network tools: free, fast, no signup
    • Security tools: free, fast, no signup
    • Developer tools: free, fast, no signup
    • Sysadmin tools: free, fast, no signup
    • SEO tools: free, fast, no signup
    • Email & DNS tools: free, fast, no signup
  • Download
  • About

Copyright © 2026 Stephane Cardon.