netatalk: fix config files permissions 4439/head
authorAlexandru Ardelean <ardeleanalex@gmail.com>
Mon, 5 Jun 2017 18:02:05 +0000 (21:02 +0300)
committerAlexandru Ardelean <ardeleanalex@gmail.com>
Mon, 5 Jun 2017 18:02:09 +0000 (21:02 +0300)
commit2675e6813cfe750683e9310ea5afe3be224f6f29
tree981721723edaf16a2c83822483786f61971f8189
parentb83d982bcd7bc9ceee32ff81639501d883e910aa
netatalk: fix config files permissions

After checking in the ipkg-install dir of netatalk,
it seems that the permissions it sets to the conf-files
are 644.

 # ls -la lede/build_dir/target-mips_24kc_musl/netatalk-3.1.11/ipkg-install/etc
 -rw-r--r-- 1 sandu sandu   226 iun  5 20:53 afp.conf
 -rw-r--r-- 1 sandu sandu  1948 iun  5 20:53 dbus-session.conf
 -rw-r--r-- 1 sandu sandu 25037 iun  5 20:53 extmap.conf

While the Package/netatalk/install build rule overrides
them to 600.

According to
* https://github.com/openwrt/packages/issues/4318
* https://forum.lede-project.org/t/help-with-apple-filesharing-protocol-for-time-machine/3259/5
this is a problem in some setups.

So, this patch changes them to what the netatalk
package creators intended initially (i.e. 644).

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
net/netatalk/Makefile