pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/37693: When installing packages that require special permissions, errors are not reported



>Number:         37693
>Category:       pkg
>Synopsis:       When installing packages that require special permissions, 
>errors are not reported
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 04 23:35:00 +0000 2008
>Originator:     Roland Illig
>Release:        pkgsrc-current
>Organization:
>Environment:
>Description:
I installed sudo-1.6.9p10nb1 as an unprivileged user:

$ pkg_add sudo
...
sudo-1.6.9p10nb1: setting permissions on /usr/pkg/bin/sudo (o=pbulk, g=users, 
m=4511)
...

There was no hint that setting the permissions (especially the ownership, since 
I don't have that user on my system) failed.
>How-To-Repeat:

>Fix:
Print a message like the following:

ERROR: sudo-1.6.9p10nb1: setting permissions on /usr/pkg/bin/sudo failed. Run 
`/usr/pkg/var/db/pkg/sudo-1.6.9p10nb1/+PERMS' again to fix the permissions.




Home | Main Index | Thread Index | Old Index