[prev in list] [next in list] [prev in thread] [next in thread] 

List:       coreutils-bug
Subject:    bug#60620: [PATCH] copy.c: replace set_acl() with chmod_or_fchmod()
From:       Ondrej Valousek <ondrej.valousek.xm () renesas ! com>
Date:       2023-01-24 8:14:37
Message-ID: TYXPR01MB1854619DB82502F7F1207C9CD9C99 () TYXPR01MB1854 ! jpnprd01 ! prod ! outlook ! com
[Download RAW message or body]

> The "at least in Linux" qualification worries me.
> Having a very quick look at the qset_acl() code suggests it clears ACLs on some \
> platforms at least, which chmod_or_fchmod() does not. Am I reading that wrong?

You are right.
The question is - why do we need to clear ACLs?
The only real example the code in question used is via "cp --no-preserve=mode" where \
I can't think of a reason why we intentionally clear ACLs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic