zsh-workers
 help / color / mirror / code / Atom feed
* P01privileged fails on CentOS/Fedora (a simple permission issue)
@ 2020-03-10  2:59 Jun T
  2020-03-10 17:26 ` Jun. T
  0 siblings, 1 reply; 9+ messages in thread
From: Jun T @ 2020-03-10  2:59 UTC (permalink / raw)
  To: zsh-workers

At least on CentOS/Fedora the default permission of a user's home
directory is rwx------. If I build/test zsh in a directory below
my home dir, say /home/takimoto/src/zsh/, P01privileged fails
because users with uid=1,2 can't read the necessary module(s).
Is this well known? I'm not sure whether this need be fixed.


Selecting unprivileged UID:EUID pair automatically
Selecting unprivileged GID:EGID pair automatically
Using unprivileged UID 1, EUID 2, GID 1, EGID 2
--- /tmp/zsh.ztst.15006/ztst.out	2020-03-10 11:20:22.808199407 +0900
+++ /tmp/zsh.ztst.15006/ztst.tout	2020-03-10 11:20:22.805199423 +0900
@@ -1,3 +1,3 @@
-1/1 off
-2/2 off
-1/2 on
+1/1
+2/2
+1/2
Test ./P01privileged.ztst failed: output differs from expected as shown above for:
  re_zsh $ruid $ruid -1 -1 'echo $UID/$EUID $options[privileged]'
  re_zsh $euid $euid -1 -1 'echo $UID/$EUID $options[privileged]'
  re_zsh $ruid $euid -1 -1 'echo $UID/$EUID $options[privileged]'
Error output:
zsh:1: failed to load module `zsh/parameter': /home/takimoto/src/zsh/Test/Modules/zsh/parameter.so: cannot open shared object file: Permission denied
(two more same errors)
Was testing: PRIVILEGED automatically enabled when RUID != EUID



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-04-01 22:35 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-10  2:59 P01privileged fails on CentOS/Fedora (a simple permission issue) Jun T
2020-03-10 17:26 ` Jun. T
2020-03-11 20:06   ` dana
2020-03-11 20:26     ` Bart Schaefer
2020-03-12 18:11       ` dana
2020-03-13 10:16         ` Jun T
2020-03-13 14:19           ` dana
2020-03-17  5:34             ` Jun T
2020-04-01 22:35               ` dana

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).