Summary:ASTERISK-03905: [request] make install rewrite /dev/zap/* to unusefull values
Reporter:manero (manero)Labels:
Date Opened:2005-04-11 02:23:39Date Closed:2011-06-07 14:11:57
Versions:Frequency of
Description:Reinstalling zaptel (make install) always rewrite /dev/zap/* files with owner root.root and permisions 0644.
These values are really unusable because Asterisk never run as root (at least it is not good idea) better is to use some group like audio or dialout or whatever else and permision 0660.
Worse is that even if I correct this manually, each 'make install' kills my work.
Comments:By: Clod Patry (junky) 2005-04-11 05:44:03

That's not bug, that's a request too.
About running it as root, it's your opinion.

If you do make install isn't so hard to chown -R user.user /dev/zap/ ? What's the deal exactly?

By: manero (manero) 2005-04-11 08:04:53

It is not problem to run command chown and chmod but that you must waste your memory to keep in mind that after each 'make install' more work must be done and modify what already was adjusted.
And more, it is very easy to findout current setting of /dev/zap/* and use it if possible.

By: Brian West (bkw918) 2005-04-11 11:46:32

this is why you would wrap your install with a custom script to do this for you.

This also could have been done in the other bug you opened related to the same thing


By: Brian West (bkw918) 2005-04-11 11:47:01

many problems related to installing under a non-root user... ONE BUG REPORT.