[OpenWrt-Devel] Extra file permissions
bittorf at bluebottle.com
Tue Oct 27 04:15:53 EDT 2015
* David H. Madden <dhm at mersenne.com> [27.10.2015 08:16]:
> I have been adding ssh authorized_keys files to my OpenWRT devices,
> and would like to have them built into the sysupgrade image, rather
> than adding to /overlay afterward. However, the process that copies
> files from .../files to the final image resets permissions to
> u+rw,g+r,o+r, which wrecks the 700 permission for ~root/.ssh. I
> modified include/image.mk to not do the permission "fixing." This
IMHO it is better to explicitely set 0700 for the SSH stuff?
so the user can just copy the files without tweaking the bits.
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
More information about the openwrt-devel