sudomesh / makenode

Configures new sudo mesh nodes
8 stars 8 forks source link

/etc/init.d/meshrouting and /opt/mesh/tunnel_hook permissions not set correctly #1

Closed papazoga closed 10 years ago

papazoga commented 10 years ago

The script should be configured or modified to correctly set the permissions of these files to executable (755).

Juul commented 10 years ago

Fixed! The issue was that fs.copyRecursive does not preserve permissions. In fact I couldn't find a single node.js library that has an option to preserve permissions! The ncp library does however preserve permissions (but has no way to disable that functionality).

max-b commented 10 years ago

Also had to fix in ipk-builder, but now successfully working!