Bug 443191 - wrong directory permissions
Summary: wrong directory permissions
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: libutempter
Version: 8
Hardware: All
OS: Linux
low
high
Target Milestone: ---
Assignee: Søren Sandmann Pedersen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-04-19 05:58 UTC by JW
Modified: 2014-06-18 09:10 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-04-19 21:50:01 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description JW 2008-04-19 05:58:57 UTC
Description of problem:
libutempter fails because of wrong directory permissions on
/usr/libexec/libutempter directory

Version-Release number of selected component (if applicable):
libutempter-1.1.4-4

How reproducible:
Always

Steps to Reproduce:
1. rpm -qvl libutempter | grep /usr/libexec/utempter
2. as non-root user "rsh host xterm' or similar

  
Actual results:
1. directory has 04710 permissions
2. no entry made in /var/run/utmp etc

Expected results:
1. directory should have 04711 permission
2. entry should be made in /var/run/utmp and /var/log/wtmp

Additional info:
Running xterm as non-root and with no setuid bits set on xterm means that xterm
will run as an ordinary user and will not be able to read or execute anything in
/usr/libexec/utempter. Of course, xterm could be setgid, but it isn't. Or every
users could be added to utempter group but that is tedious.

This used to work ok when utempter binary was in /usr/sbin. Why the change?

The actual utempter binary is still world executable so setting its directory to
non-world-executable would seem rather strange.

It would be best if utempter (and xterm) were distributed so that they both
worked properly without further (undocumented) configuration.

It would also help if, at the very minimum, the libutempter distribution
contained some useful documentation if it was a design choice to not make the
libexec directory world executable. How about a manual entry for utempter?

Comment 1 Andreas Bierfert 2008-04-19 21:50:01 UTC
Please make sure you have a up-to-date system before reporting any bugs. The
latest version (libutempter-1.1.5-1.fc8 in F8) should not have these issues. If
you have other problems please reopen or file another bug report.

Comment 2 JW 2008-04-20 00:23:50 UTC
Please do not release software that doesn't work.



Note You need to log in before you can comment on or make changes to this bug.