On Tue, Jul 09, 2024 at 13:46:12 +0200, Thomas Schmitt wrote: > Hi, > > Patrice Duroux wrote: > > > cp: preserving permissions for '/tmp/test.sh': Operation not supported > > Greg Wooledge wrote: > > I was thinking something similar, but the "ls -l ./test.sh" did not > > show any markup indicating ACL. > > At least cp calls ACL "permissions". See > https://sources.debian.org/src/coreutils/9.4-3.1/lib/copy-acl.c/?hl=54#L54 > After getting return value -1 from copy_acl(), it does: > > error (0, errno, _("preserving permissions for %s"), quote (dst_name)); > > The other two occurences of the error message are not as easy to decode: > https://sources.debian.org/src/coreutils/9.4-3.1/src/copy.c/?hl=1696#L1696 > https://sources.debian.org/src/coreutils/9.4-3.1/src/copy.c/?hl=3340#L3340 > > Other thought: > Maybe chattr(1) attribute "i" can be considered a permission, too.
I'm assuming she didn't make her script immutable and then forget to mention it. But who knows? If we can't figure it out from her replies to our *many* requests for additional information, then my next request would be to strace it, and see exactly which system call is failing. Either that, or someone else running sid might speak up and confirm whether they can reproduce the result.