rebase db perms seem too restrictive

Shaddy Baddah lithium-cygwin@shaddybaddah.name
Mon Nov 17 03:14:00 GMT 2014


Hi,

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 :-)

-- 
Regards,
Shaddy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rebase.c.worldread.diff
Type: text/x-patch
Size: 327 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20141117/d835b7eb/attachment.bin>
-------------- next part --------------
--
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


More information about the Cygwin mailing list