ubuntu-eee-coders team mailing list archive
-
ubuntu-eee-coders team
-
Mailing list archive
-
Message #02356
[Bug 286465] Re: Lots of wrong permissions or missing setuid, setgid: /dev/fuse, unix_chkpwd, passwd, mount, ping, ...
At least ubuntu-eee developers could release a brown-bag fix in the form
of a downloadable startup script. Currently, ubuntu-eee 8.04.1 is VERY
disfunctional because of this myriad of little permission problems:
- USB pen doesn't automount
- screen saver cannot be unlocked
- 'screen' detachable shell can't run (needs /var/run/screen as 777)
Of course the savvy user can "sudo mount -o uid=1000,gid=1000 /dev/sdc1 ~/pen"
and also control+alt+F2 and then login and "killall gnome-screensaver" and control+alt+F7,
and "sudo chmod 777 /var/run/screen".
But the above are rather pitiful considering this is 2008.
--
Lots of wrong permissions or missing setuid,setgid: /dev/fuse, unix_chkpwd, passwd, mount, ping, ...
https://bugs.launchpad.net/bugs/286465
You received this bug notification because you are a member of Ubuntu
Eee Coders, which is subscribed to Ubuntu Eee.
Status in Ubuntu Eee: Confirmed
Bug description:
A lot of permissions seem to have been lost when packaging ubuntu-eee.
The ones i hit:
/dev/fuse -> https://bugs.launchpad.net/ubuntu-eee/+bug/266883
unix_chkpwd -> https://bugs.launchpad.net/ubuntu-eee/+bug/261497
passwd -> https://bugs.launchpad.net/ubuntu-eee/+bug/271111
mount (wrong group, missing SGID)
ping (normal users can't use ping: "ping: icmp open socket: Operation not permitted")
pppd (normal users can't use pppd despite being in the dip group)
--------------------------------------------------------------------------------
Collection of fixes (these modify the permissions to be like on regular ubuntu):
sudo chown root:shadow /sbin/unix_chkpwd
sudo chmod 2755 /sbin/unix_chkpwd
sudo chgrp fuse /dev/fuse
sudo chmod 660 /dev/fuse
sudo chmod u+s /bin/mount
sudo chmod u+s /usr/bin/passwd
sudo chmod u+s /bin/ping
sudo chgrp dip /usr/sbin/pppd
sudo chmod u+s,g+x /usr/sbin/pppd
References