This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: rebase db perms seem too restrictive
- From: Andrey Repin <anrdaemon at yandex dot ru>
- To: Shaddy Baddah <lithium-cygwin at shaddybaddah dot name>, cygwin at cygwin dot com
- Date: Mon, 17 Nov 2014 11:18:35 +0300
- Subject: Re: rebase db perms seem too restrictive
- Authentication-results: sourceware.org; auth=none
- References: <5469682A dot 6090501 at shaddybaddah dot name>
- Reply-to: cygwin at cygwin dot com
Greetings, Shaddy Baddah!
> I expect that there wasn't any explicit reasoning behind this, but
> rebase creates a db with permissions that are too restrictive. To me
> anyway, as I cannot see any danger in the db being readable by all.
> This snippet describes it:
> <snip>
> $ whoami
> sbaddah
> $ od -c /etc/rebase.db.x86_64
> od: /etc/rebase.db.x86_64: Permission denied
> $ ls -l /etc/rebase.db.x86_64
> -rw-rw---- 1 portapps None 86020 Nov 11 15:34 /etc/rebase.db.x86_64
> </snip>
> I've attached an untested patch that would allow at least world readable
> perms. It would be appreciated if it was applied :-)
There's no reason or need for this file to be world readable.
Even more, I think the fact that there's group access perms is a consequence
of shallow translation of ACLs to POSIX permissions, given the group name and
the fact you're unable to access the file.
--
WBR,
Andrey Repin (anrdaemon@yandex.ru) 17.11.2014, <11:16>
Sorry for my terrible english...
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple