No o+r permission for /usr/sbin/ssh-keysign.exe

Corinna Vinschen corinna-cygwin@cygwin.com
Mon Sep 7 15:28:00 GMT 2015


On Sep  7 16:43, Jan Bruun Andersen wrote:
> After an unfortunate mishap with an encryption key, I have started to
> rebuild my harddisk. And making sure I have a good backup :(
> 
> I noticed a problem with the file permissions for  /usr/sbin/ssh-keysign.exe:
> 
> $ getfacl.exe /usr/sbin/ssh-keysign.exe
> # file: /usr/sbin/ssh-keysign.exe
> # owner: andersej
> # group: Domain Users
> user::rwx
> group::--x
> other:--x
> 
> For some reason, the Windows-based backup program (Seagate Manager)
> wants the Windows group "Everyone" to have read access. Otherwise it
> will report:
> 
> ERROR  >>>      C:\cygwin64\usr\sbin\ssh-keysign.exe
>                       Access denied
> 
> Is there some special reason for denying everyone read permission
> (o+r) to this file?

This is how upstream `make install' creates the permissions.  This
is a problem, though, because x without r doesn't work terribly well
on Windows anyway, but OTOH this application requires some kind of
"root" access, so it's setuid anyway.  Since we don't support that,
it's a bit useless ATM.

> PS: I have the same problem with /etc/rebase.db.x86_64 which only have
> 660 permissions.

It's a created file, not a distributed one.  Just change the perms as
desired.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20150907/85f6154d/attachment.sig>


More information about the Cygwin mailing list