[Maverick] smb4k_sudowriter changes file permissions on /etc/sudoers
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
smb4k (Ubuntu) |
Triaged
|
High
|
Unassigned |
Bug Description
Binary package hint: smb4k
When enabling superuser options in SMB4k (so unprivileged users can mount shares) smb4k_sudowriter modifies the file permissions on /etc/sudoers from 440 to 640 breaking sudo system wide.
I am running Xubuntu 10.10 Alpha 3
lsb_release -rd
Description: Ubuntu maverick (development branch)
Release: 10.10
apt-cache policy smb4k
smb4k:
Installed: 0.10.7-1
Candidate: 0.10.7-1
Version table:
*** 0.10.7-1 0
500 http://
100 /var/lib/
Additional:
booting into recovery and using "chmod 440 /etc/sudoers" usually fixes the damage but sometimes breaks gdm. Attempting to mount shares once said fix has been implemented results in smb4k throwing the following error: "mount error: could not resolve address for $HOSTNAME: no address associated with hostname" where $HOSTNAME is the computer you are trying to connect to. This occurs with both the workgroup view, search and manual entry. Should I fork this as a separate bug?
I am adding this as a "security" bug report, since it appears smb4k is changing permissions of /etc/sudoers.