Re: Possible issue with linux xattr support?
- Reply: Felix Palmen : "Re: Possible issue with linux xattr support?"
- In reply to: Felix Palmen : "Re: Possible issue with linux xattr support?"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 30 Aug 2023 11:04:56 UTC
On Wed, Aug 30, 2023 at 12:58:45PM +0200, Felix Palmen wrote: > * Dmitry Chagin <dchagin@freebsd.org> [20230830 13:48]: > > On Wed, Aug 30, 2023 at 12:01:13PM +0200, Felix Palmen wrote: > > > Unfortunately, install from GNU coreutils is now unable to install > > > anything again. I tried both as 'nobody' and as 'root', it doesn't make > > > a difference: > > > [...] > > > I assume the fsetxattr call needs some adjustment of error codes as well > > > to make GNU tools play nice. > > > > > > > I don't changed setxattr syscalls due to EPERM is a valid error from it, > > however here's the essential difference between Linux and FreeBSD. > > FreeBSD does not permits manipulatingg attributes in the > > system namespace for unprivileged accounts. > > Interesting! (and, a weird design ...) > > > https://people.freebsd.org/~dchagin/xattr.patch > > Yes, that's basically the same change I meanwhile did locally, except I > restricted the adjustment to cases of writing the system namespace -- > not sure that's good for anything though. > > In short: Works fine that way! > Thanks, I see, I agree with your change, taken into account.