this post was submitted on 10 Aug 2024
-1 points (46.2% liked)

Linux

48209 readers
1630 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
-1
submitted 3 months ago* (last edited 3 months ago) by Rick_C137@programming.dev to c/linux@lemmy.ml
 

Hi,

I got FileA that have 640 a getfacl FileA give me

# file: FileA
# owner: me
# group: me
user::rw-
user:aUser:r--
group::r-x			#effective:r--
mask::r--
other::---

So it's give me the expected...

but when I do

chmod 600 aFile
getfacl aFile
...
user:aUser:r--		#effective:---
...
mask::---
...

Why suddenly aUser lost his ability to read the file !?!?!

top 2 comments
sorted by: hot top controversial new old
[–] ghjones@beehaw.org 4 points 3 months ago

ACLs on Linux can be a bit weird. If I remember correctly, the ACL mask corresponds to the group bit when using masks. Some more details here:

https://unix.stackexchange.com/questions/65888/setfacl-incorrectly-changes-group-permissions

[–] Rick_C137@programming.dev 2 points 3 months ago
setfacl -m m:r aFile
#re set the mask

solve the problem, but the question is: why the F**** this is happening !?