Automatically translated.View original post

🐧 Permission permissions of Linux files

🐧 permissions of Linux files

Linux uses permissions to decide who can do what with a file or folder.

Three basic authorization rights.

R = Read (Open file)

w = write (edit or delete)

X = Execute (Run file)

🔢 The numbers make it easy.

Each authorization is numbered:

read = 4

write = 2

Execute = 1

Add them together. 👇

0 → Not allowed

1 → Execute

2 → Write

3 → Write + Execute

4 → Read

5 → Read + Execute

6 → Read + Write

7 → Read + Write + Execute

🧠 Sample

777 → Full Access (Read, Write, Execute)

644 → Owners can read and write. Others can only read.

755 → Full access owner. Others can read and execute.

🛠, command example.

CHMOD 755 file .sh

Simple rules to remember: 👉 4 + 2 + 1 = 7 (full permission)

# Recap 2025 # Take care of yourself # Open budget

# Linux # TechBasics🐧

2025/12/22 Edited to

... Read moreนอกจากการเข้าใจพื้นฐานของสิทธิ์การอนุญาต r, w, x แล้ว การใช้ตัวเลขแทนสิทธิ์ก็เป็นวิธีที่สะดวกและรวดเร็ว เช่น ใช้ chmod 755 เพื่อให้เจ้าของไฟล์มีสิทธิ์เต็มที่ ส่วนกลุ่มผู้ใช้และผู้อื่นจะมีสิทธิ์อ่านและรันไฟล์ได้เท่านั้น ถ้าคุณเป็นมือใหม่ เคล็ดลับง่ายๆ คือจำว่า 4 คืออ่าน 2 คือเขียน 1 คือรัน ถ้ารวมกันได้เท่าไหร่ก็ใช้ตัวเลขนั้น เช่น 7 คือการอ่าน เขียน และรันได้ทั้งหมด จากภาพ OCR ที่แสดงตารางสิทธิ์จะช่วยให้เห็นภาพรวมว่าค่าต่างๆ มีผลยังไงบ้าง ไม่ว่าจะเป็นเลขฐานแปดหรือสิทธิ์ในรูปแบบ rwx การเรียนรู้ตารางนี้จะช่วยให้เข้าใจแนวคิดเบื้องหลังและแก้ไขปัญหาการเข้าถึงไฟล์ได้ง่ายขึ้น ผมได้ลองใช้สิทธิ์ 644 กับไฟล์ส่วนตัว พบว่าเจ้าของไฟล์สามารถแก้ไขได้สะดวก ในขณะที่ผู้อื่นอ่านได้อย่างเดียว ช่วยยกระดับความปลอดภัยและลดโอกาสไฟล์ถูกแก้ไขโดยไม่ตั้งใจ ซึ่งเหมาะมากกับไฟล์คอนฟิกหรือเอกสารที่ไม่อยากให้ใครเปลี่ยน สุดท้ายอย่าลืมว่าการใช้ chmod อย่างเหมาะสมไม่เพียงแค่ช่วยเรื่องความปลอดภัย แต่ยังทำให้ระบบทำงานได้ราบรื่นและลดปัญหาเกี่ยวกับสิทธิ์ในอนาคต อาจเริ่มจากการทดลองเปลี่ยนสิทธิ์กับไฟล์ตัวอย่างก่อน เพื่อให้มั่นใจว่าสิ่งที่ตั้งค่านั้นตรงตามความต้องการจริงๆ

Related posts

An infographic explaining Linux special file permissions: SUID, SGID, and the Sticky bit. It illustrates their positions in permission strings (rwsrwsrwt), defines their functions, and provides examples like /bin/passwd for SUID, /usr/bin/crontab for SGID, and /tmp for the Sticky bit. Created by Dan Nanni.
Special file permissions on Linux
Linux uses special permissions like SUID, SGID, and the Sticky Bit for advanced access control. SUID and SGID change how execution rights are applied, while the Sticky Bit controls who can delete files in shared directories Learn about these special permissions in more details 😎👆 #technology
Learn Linux with Dan

Learn Linux with Dan

5 likes

Most Samsung Galaxy users are oblivious about this
Most Samsung Galaxy users are oblivious about this Labs feature #tech #phone #samsunggalaxy #droidsavvy
Droid Savvy

Droid Savvy

1723 likes

A MacBook with stickers shows a blue folder icon transforming into a red folder with heart and lollipop patterns, illustrating how to change folder icons on a MacBook.
A MacBook screen displays instructions to open an image in Preview, then copy it from the menu bar, with a screenshot of a surfer image in Preview.
A MacBook screen shows steps to change a folder icon: select 'Get Info' for a folder, click the small icon, then paste the copied image to replace it.
how to change the icons on your macbook! 💻
hi friends! if you’ve been around my account for a while, you probably already know about how much i love customizing my tech. one of the fun and easy ways to customize it, is with custom icons! i recently made a post sharing how to change the color of your mouse, but this takes customization
cait

cait

1261 likes

A MacBook and two iPads display a minimal pink aesthetic with the time 10:52, showcasing a customized tech setup.
A MacBook screen shows the Touch ID & Password settings, highlighting the option to add multiple fingerprints for unlocking the device.
The MacBook App Store displays search results for "iwallpaper," showing options to download live wallpaper applications.
how i customized my macbook
how i customized my macbook air — i try to mix it around but love a minimal pink aesthetic apps mentioned: • iwallpaper • desktop flip clock • flow - focus • widgetter • widget wall #macbook pro #macbookcustomization #macbook #macbookrefresh #techfinds #lemon8challenge #ip
E D E N ◡̈

E D E N ◡̈

2945 likes

An infographic titled 'Ways to Remove Files on Linux' presents a comprehensive list of commands for deleting files and directories. It includes various `rm` commands for basic removal, `find` commands for conditional deletion based on criteria like age, size, user, or permissions, and other utilities like `unlink`, `shred`, and `trash-put`. The infographic is created by Dan Nanni from study-notes.org.
Different ways to remove files on Linux
There are various ways to remove files and directories on Linux, based on filenames, creation/access time, size, ownership, permissions, or security needs Here are useful command line examples of removing files on Linux 😎👆 #infosec #TechTips #software Find high-res pdf books with a
Learn Linux with Dan

Learn Linux with Dan

10 likes

Canva AI Image Generator
Canva Tutorial - How To Generate AI Images Using Canva With This Brand New Canva AI App 😎 #canvatips #canvahacks #canvadesign #canvatutorial #canvaforbeginners
Inuri

Inuri

91 likes

Why I switched to taking notes on my iPad
I used to love writing in notebooks, but after switching to my iPad, I can confidently say I’m never going back! Here’s why: ✨ Cuter Notes – Let’s be real…aesthetic notes make studying more enjoyable! I can use custom colors, cute stickers, and different handwriting styles to make my notes visua
Rebecca R.

Rebecca R.

267 likes

A Linux Cheatsheet for Engineers from @thealpha.dev, listing various commands categorized into File System Operations, File Permissions, Process Management, Networking, System Information, Package Management, Shell Scripting, User and Group Management, File Transfer, and System Services. A penguin on a skateboard is at the bottom.
Linux cheat sheet✨️
Where are my tech babes at?👩🏿‍💻 This is something I'm learning in school😍 It's been super fun typing things into the command line and actually getting a response🥹💕💕💕 One of my classmates shared this cheat sheet to make using Linux easier #imdoingsomethingright #CybersecurityAwarenessMon
Deya!

Deya!

27 likes

Canva Hack For Halloween Designs
Canva Tutorial - How To Make 3D Elements For Halloween Using Canva AI! #canvahacks #canvatutorial #canvatips #canvaforbusiness #startingabusiness
Inuri

Inuri

40 likes

Canva Design Hack - Make A Calendar On Canva!
Canva Tutorial - How To Make A Calendar Using Canva! #canvahacks #canvatips #canvatutorial #canvaforbeginners #canvaforsmallbusinesses
Inuri

Inuri

67 likes

Canva Canva! Animated Text
Canva Tutorial - How To Create Text With Motion Animation Using Canva! 😎 Once You Are Done With Your Canva Design, Export It As A GIF Or MP4 To Use On Social Media! #canvatips #canvahacks #canvatutorial #canvaforbusiness #canvatutorials
Inuri

Inuri

55 likes

Canva AI Image Generator 🪄
Canva Hack! How To Generate AI Images Using This Brand New Canva App Called Sketch To Life 😎 #canvatips #canvatutorial #canvahacks #canvadesign #canvaforbeginners
Inuri

Inuri

45 likes

Canva Hack To Create Cool Text Effects 🤯
Canva Tutorial - How To Make Cute Text Effects Using This Brand New Canva App Called “Text Studio Maker” 💁‍♀️ Will You Try This!? 🙂 #canvatips #canvahacks #canvatutorial #canvadesign #canvaforbeginners
Inuri

Inuri

108 likes

Fascinating
Anna Akana

Anna Akana

229 likes

An infographic titled 'Linux FUSE-based Filesystems' categorizes various filesystems. Categories include Remote and Cloud, Archive and Image, Encrypted and Secure, Legacy and Compatibility, and Special-Purpose and Experimental filesystems, with examples for each. The infographic was created by Dan Nanni from study-notes.org.
Useful Linux FUSE filesystems
A FUSE filesystem is a user-space filesystem built on top of the Filesystem in Userspace (FUSE) kernel module, allowing developers to implement custom storage logic without writing kernel code Here are a categorized list of Linux FUSE filesystems 😎👆 #softwareengineer #computerscience #TechT
Learn Linux with Dan

Learn Linux with Dan

4 likes

An infographic lists common Linux file extensions and their descriptions, such as .a for static library and .gz for compressed files. It highlights that extensions are conventional, with file types identified by magic numbers. Created by Dan Nanni.
Popular Linux file extensions
On Linux, file extensions are mostly a matter of convention. They don’t determine how a file is handled. Instead, Linux relies on file permissions and internal metadata (like magic numbers) to identify and process files. Still, learning common Linux file extensions is useful for understanding fi
Learn Linux with Dan

Learn Linux with Dan

6 likes

Powerful Websites
#software #fy #fypシ゚viral #businesssoftware #freewebsites
Tha Smoke Websites

Tha Smoke Websites

176 likes

The image features the title 'My 5 Fav New CANVA Features' in large white text, set against a background of people on a stage with confetti falling, indicating a celebratory event. The Lemon8 handle @techgirljen is at the bottom.
The image highlights an 'upgraded Background Remover' feature in Canva, showing a screenshot of the Canva toolbar with 'BG Remover' circled, indicating its new placement. The text 'Now on the toolbar!' is also visible.
The image showcases 'Video Recordings' in Canva, displaying a strategic plan document within the Canva interface, with a recording studio overlay and a user's profile picture circled, suggesting its use for presentations and videos.
5 New Fav Canva Features (you’re gonna love)
Did you watch Canva Create this month? It’s the annual Canva event where they release new features, and have a ton of fun doing it! This year, they streamed live from LA… and shared a completely “reimagined workspace”. If you missed it, open Canva and watch the reply. In the meantime, here are my 5
techgirljen

techgirljen

132 likes

A Bible's table of contents page is shown open, featuring color-coded highlighting for different categories like Law, History, Poetry, Prophets, Gospel, Church History, Letters, and Prophecy. Tabs for books like Genesis, Exodus, Leviticus, and Numbers are visible on the right side, illustrating a method for Bible organization.
bible organization🤍✝️
simple color-coding inspo for your bible :) #christian #biblestudy #jesuslovesyou
kassie

kassie

14 likes

Nicolandria movie watch party live with Nic last night! #nicolandria #nicolandriacore #nicolandriamovie #nicolandriahive #nicolandrianation #nicloveisland #olandrialoveisland
Destinysmomma707

Destinysmomma707

1 like

COD GIRLIE
Trying out twitch, I need chill gamers to follow and gain some followers add me brownsugarmocha #twitchgirl #twitchaffiliate #callofduty #COD #saturdayvibes
Mocha_Savage

Mocha_Savage

14 likes

#viral #fyp #trending #garablox #ilovetiktok
Jojo Sim

Jojo Sim

34 likes

Tableau certifications: Enhance your tech career
Hello everyone! Tableau certifications can help your career in analytics and Business Intelligence and can help validate expertise in data visualization and analytics! They are crucial for enhancing credibility and career prospects by demonstrating proficiency in deploying, configuring, and optimiz
Yun Jung

Yun Jung

55 likes

Top MacBook Apps for Ultimate Productivity 💻 😍
SUPERHUMAN Superhuman is the most productive email app. Get more done with Al-powered email. BLITZIT A simple to-do list and timer that gives you superpowers. Works well with Notion. NOTION CALENDAR Beautifully designed, fully integrated calendar for your work and life. NOTION The ulti
Joy 📚

Joy 📚

161 likes

Instagram Maps additional information and what to look out for Follow @cybersecuritygirl for more tips #instagram #technews #news
Cybersecurity Girl

Cybersecurity Girl

16 likes

Make your reading limitless with this Gojo bookmark ✨📚 In this quick tutorial, I show you how to create a clean, anime-inspired bookmark using my Cricut. #GojoSatoru #AnimeCrafts #CricutBookmark #DIYAnime #JJKFans
VlunaWorks

VlunaWorks

30 likes

This New Official Minecraft Server is Hiding a BIG Secret…
torque.test

torque.test

0 likes

Permissions and Restrictions
Let’s discuss briefly permissions and restrictions in Magic the Gathering! Enjoy! 🧙‍♂️🐉⚔️ #magicthegatheringcommunity #wizardsofthecoast #mtgrules #mtgcommander #mtgcommunity
RipPullRepeat

RipPullRepeat

1 like

LEVEL UP
#linux #technology #cybersecurity #code
Luna Bright

Luna Bright

4 likes

#claude snippet of how in depth I get into teaching how to use ai to create a webpage portfolio! Link for podcast in bio 👩‍💻🧠🫀🎥
Genevie Guevara

Genevie Guevara

1 like

Essential /etc configuration files on Linux
On Linux, the /etc directory is where system-wide system settings or app-specific configuration files are stored Let’s find out what types of /etc config files are commonly available on Linux 😎👇 #devops #opensource #software Find high-res pdf books with all my #Linux related infog
Learn Linux with Dan

Learn Linux with Dan

4 likes

An iPhone screen showing 'Privacy & Security' settings with options for Location Services, Tracking, Calendars, and Contacts. The text 'STOP PHONE SNOOPS With These 5 Tips' is overlaid, introducing phone privacy tips.
An iPhone screen displaying the 'Safety Check' feature, highlighted in yellow. It offers 'Emergency Reset' to immediately revoke access and 'Manage Sharing & Access' to customize permissions for apps and people.
An iPhone screen showing an 'App Lock' privacy app interface, highlighted in yellow. It presents different modes like 'Lending Mode,' 'Childcare Mode,' 'Work Mode,' and 'Gaming Mode' with toggle switches.
Stop Phone Snoops With These Tips🔒📵
Are you worried or concerned someone is sneaking through your phone? These quick tips will help you catch snoopers in the act and add extra security to your phone’s privacy settings: 📵Safety Check Check your iPhone’s settings for the new Safety Check feature under Privacy. It lets you instantl
QuinnStitchery✨

QuinnStitchery✨

136 likes

Replying to @Jaycee babygirl #greenscreenvideo Updated video on how to catch him with a Facebook Data Download 😘 #retiredpsycho #relationships #toxictok #howtocatchacheater
Jessica Shaw

Jessica Shaw

95 likes

An infographic titled 'Types of Linux Capabilities' categorizes various Linux permissions. It lists capabilities for Network, Process & Privilege, System Admin, File System, and Security, each with a brief description of its function. The graphic is created by Dan Nanni from study-notes.org.
Useful Linux capabilities
Linux capabilities turn “full root power” into bite-sized permissions, giving each process only the exact privilege it requires. The setcap and getcap commands make it simple to inspect and assign these minimal rights. Here are a categorized list of useful Linux capabilities 😎👆 Find a high-re
Learn Linux with Dan

Learn Linux with Dan

4 likes

✨Reclaiming My Crown is more than a book✨
I didn’t just write a book—I bled one. I’ve had a busted lip and handprints around my neck. Tears running down my face while fake-smiling at the police. I’ve screamed at God mid-miscarriage—laid on that cold surgery table sobbing, waiting for the anesthesia to take my baby from my body wh
TraylorMadeByOST

TraylorMadeByOST

8 likes

A Mac desktop screenshot showing custom folder icons like pink bows and a gift bag, with text overlayed: 'Desktop Planning HOW TO... - CHANGE FOLDER ICONS -'. It also has a 'Swipe' indicator.
A screenshot of Canva displaying a pink bow image, with text 'STEP 1 Find an icon you like in Canva' indicating the first step in customizing folder icons.
A screenshot of Canva's download settings, showing the 'Transparent background' option checked and the 'Download' button, with text 'STEP 2 Download with transparent background'.
Customizing your Mac files 📁
Do you like this look or do you have any great hacks for a Mac?? Ever since I started planning straight from my desktop, this hack has been a game changer for customizing all of my look!! I love to be able to change the icon of my files to better fit my background! Here’s how I do it: •Choose
Moriah Ackerman

Moriah Ackerman

24 likes

How to Customize Desktop Folder Icons
Aesthetic Folder Icon Customization on MacBook! 💻 🖥️ ✨ Step 1: select the folder that you want to customize. It’ll highlight it. Step 2: Hold down Command + I and it’ll open up a new window in the corner. Step 3: Find the image that you what to use and copy it. Step 4: Click on the original
Erika🧸💌

Erika🧸💌

144 likes

I get caught up in this situation a lot 🤣🤦🏻‍♀️
How I was describing “crying” #L4D2 #twitch #streamer #gaming #gamergirl
Runt Gaming Studio

Runt Gaming Studio

3 likes

This image illustrates the Android Filesystem Structure, detailing various directories like /apex, /data, and /system, along with their specific functions. It shows how core OS files, installed apps, user data, and system components are organized. Created by Dan Nanni.
Android file system hierarchy
Android uses a Linux based file system organized into several main areas. /system stores the core OS files, /data holds installed apps and user data, and /storage provides access to internal and external storage where files like photos and downloads live 😎👆 Find high-res pdf ebooks with all my t
Learn Linux with Dan

Learn Linux with Dan

19 likes

5 Canva Apps I Use All the Time
If you’re already a Canva user, these are a must add. From adding cool reflections to filling your text with images — these tools are hidden gems 💎 🛠 How to add them? Just head to the “Apps” tab in Canva → search the tool → click “Use in existing design” Takes 2 seconds and makes your designs
Ayesha 🍋

Ayesha 🍋

234 likes

Did you know you can reset your Instagram algorithm? 👀 Here’s how to do it. #InstagramTips #SocialMediaHacks #AlgorithmReset #InstaGrowth #ContentTips
BenTested

BenTested

76 likes

See more