Jeremie Courreges-Anglas <[email protected]> writes:
> I just tested it and it works fine. The perms look correct:
>
> shannon ~$ ls -l /usr/local/bin/slock
> -rwxr-sr-x 1 root auth 23304 May 5 09:08 /usr/local/bin/slock
>
>
>> I was able to fix this issue with:
>>
>> # chmod 2755 slock
>> # chown :auth slock
>>
>> Reporting it here so that it can be fixed before the 6.7 release.
>>
>> ps:
>> I'm running openbsd snapshots.
>
> What where the previous permissions on this program?
> Did you try to reinstall the package?
If I remember correctly, the permissions on slock looked like this:
-rwxr-xr-x 1 root wheel ... /usr/local/bin/slock
That is, the set-groud-id on exec was not set and 'wheel' was the
group.
I tried re-installing it, currently I'm getting an error from pkg_add:
cygnus# pkg_add slock
https://cdn.openbsd.org/pub/OpenBSD/6.7/packages/amd64/: no such dir
Can't find slock
cygnus# cat installurl
https://cdn.openbsd.org/pub/OpenBSD
cygnus# uname -a
OpenBSD cygnus.ricketyspace.net 6.7 GENERIC.MP#176 amd64
Looks like I'll have to wait for the 6.7/ directory to become available
before I'll be able to install slock again.