Adze1502 / mwan

Simple policy routing for multiple WANs in OpenWrt
84 stars 24 forks source link

Update Makefile #4

Closed qiuzi closed 11 years ago

qiuzi commented 11 years ago

Permissions problem

arfett commented 11 years ago

What is the nature of the problem? I compiled mwan3 and mwan3-luci and flashed my router right now and everything is fine. Problem is on your end.

qiuzi commented 11 years ago

Be in your environment, but the replication to other compiler environment right are 664

arfett commented 11 years ago

What is your environment? I'm showing 664 on the Makefile...

aedan@DICKTOP:~/openwrt/dev/mwan3/mwan3$ stat Makefile File: `Makefile' Size: 1114 Blocks: 8 IO Block: 4096 regular file Device: 801h/2049d Inode: 3053094 Links: 1 Access: (0664/-rw-rw-r--) Uid: ( 1000/ aedan) Gid: ( 1000/ aedan) Access: 2013-04-24 13:51:44.202201007 -0700 Modify: 2013-04-21 15:25:12.042405017 -0700 Change: 2013-04-21 15:25:12.042405017 -0700 Birth: -

qiuzi commented 11 years ago

Not Makefile, is the routing of the executable file, /etc/ init.d/mwan3

arfett commented 11 years ago

Your environment is?

qiuzi commented 11 years ago

yes.By default, all files are 664 Ps:My English is not good

arfett commented 11 years ago

You said you use "other compiler environment"

What is it?

qiuzi commented 11 years ago

Is a direct copy does not use git because you luci is not the normal format

arfett commented 11 years ago

I guess I'm still not understanding your problem then. How is "my LuCI" not the normal format? It's the same format as any other LuCI pages. If it works fine from 'git clone' then there's nothing wrong with the files. Any issues you are experiencing are because you are copy/pasting into files you create and you're not setting the correct permissions.

The makefile is not designed to set permissions for you.

Please just use git.