[sheepdog-users] dog located in /usr/sbin, but executable by other

Fabian Zimmermann dev.faz at gmail.com
Sun Nov 23 10:43:28 CET 2014


Hi,

don't know if this is a bug or feature, or even if this is the correct
place to discuss, but I used the sheepdog-pkg of debian-backports and
dog is located in /usr/sbin, but executable to others:

oneadmin at sheep101:~$ ls -l /usr/sbin/dog
-rwxr-xr-x 1 root root 181008 Sep  4 14:15 /usr/sbin/dog

This allows everyone to use dog to manage sheepdog.

oneadmin at sheep101:~$ /usr/sbin/dog vdi create test 5G
oneadmin at sheep101:~$ /usr/sbin/dog vdi list
  Name        Id    Size    Used  Shared    Creation time   VDI id
Copies  Tag
  Alice        0  5.0 GB  0.0 MB  0.0 MB 2014-11-20 20:34   15d168
2
  test         0  5.0 GB  0.0 MB  0.0 MB 2014-11-23 10:36   7c2b25
2

So if this is a feature, I would assume dog in /usr/bin, but if this is
a bug chmod o-x should be done, isn't it?

Thanks,

Fabian



More information about the sheepdog-users mailing list