Displaying 2 results from an estimated 2 matches for "test_access".
Did you mean:
test_access2
2020 Mar 28
0
[klibc:update-dash] dash: builtin: Use test_access from NetBSD when faccessat is unavailable
...bc/klibc.git;a=commit;h=5c8d9d4456c47d03d6a71db78488f208a9f8b084
Author: Herbert Xu <herbert at gondor.apana.org.au>
AuthorDate: Sun, 20 May 2018 01:30:49 +0800
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Sat, 28 Mar 2020 21:42:55 +0000
[klibc] dash: builtin: Use test_access from NetBSD when faccessat is unavailable
[ dash commit 03cbaba30d7f6e4f89b6e881b6b909cb45924025 ]
This patch adds the test_access code from NetBSD when faccess is
unavailable. The code has been modified so that root can always
read/write any file.
Signed-off-by: Herbert Xu <herbert at gondo...
2019 Feb 07
0
"sieve: failed to store into mailbox 'Junk': Read-only mbox" over root_squashed NFS, lmtp : euid/egid set and access() don't mix together for me
...(), but I think that mbox and maybe other storage backends
don't use this for main codepath (like save a mail), but "only" for
smart log messages in some cases.
I may gone wrong while seeking about it. Do you see a configuration that
can use root squashed mboxes and LMTP ?
Should test_access() variant could be used as access() replacement ?
There is eaccess() and euidaccess() too but may be not portable enough
(_GNU_SOURCE only).
Regards,
Ludovic
telegraphe5:/dev/shm# mount | grep tstifi04
cifs1:/homeeleves/tstifi/tstifi04 on /home/tstifi04 type nfs (rw,nosuid,nodev,relatime,vers=3...