Opened 2 years ago

Last modified 2 years ago

#20711 new defect

ssh: /etc/dropbear has the seemingly the wrong permissions after sysupgrade

Reported by: anonymous Owned by: developers
Priority: high Milestone: Designated Driver (Trunk)
Component: base system Version: Trunk
Keywords: Cc:


Using r47166 on x86 after sysupgrade /etc/dropbear becomes 771. dropbear will then fail with something like:

Sat Oct 10 03:53:39 2015 dropbear[9164]: /etc/dropbear must be owned by user or root, and not writable by others

chmod 700 on /etc/dropbear seems to fix it, strangely however something like chmod 770 does not (it's not writable by others?)

Since I only have key based auth enabled this makes it impossible to login without the serial console.

Attachments (1)

sysupgrade-tar-permissions.patch (485 bytes) - added by anonymous 2 years ago.

Download all attachments as: .zip

Change History (2)

Changed 2 years ago by anonymous

comment:1 Changed 2 years ago by anonymous

The patch adds perseveres permissions when creating the tarball which should fix this issue, in my testing it has.

Add Comment

Modify Ticket

as new .

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.