FG
💻 Software

Setting permissions for specific user and groups in Linux

Fresh6 days ago
Mar 15, 202694861 views
Confidence Score0%
0%

Problem

How can I grant permission for files to a specific user or a specific group? We have three groups: "g12" ("u1" and "u2), "g34" and "g56". g12 - should only read the file. g34 - should write and read it. g56 - should have all permissions (rwx). And others should not access the file at all.

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Setting permissions for specific user and groups in Linux

Low Risk

You need to use Access Control Lists. They are a more advanced way of handling permissions than the default user/group/other way in Linux. See this page for example: Ubuntu Access Control Lists An example from that page: I've only used these command…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment