Re: sudo chmod - bad practice

2015-03-11 Thread Marcus
If I'm not mistaken, the VmwareManagerImpl.java and HypervManagerImpl.java code would run on mgmt server and looks like it is duing sudo chmod. In the 'new Script(true ...' the true means to run sudo. Both of those look like they give cloud (and everyone, actually) permission to access a mountpoint

Re: sudo chmod - bad practice

2015-03-11 Thread ilya musayev
I dont see where MS requires the use of chmod directly based on the quick look against ASF grep search, if someone finds it - please let me know. https://git-wip-us.apache.org/repos/asf?p=cloudstack.git&a=search&h=a10a9d522c56f707a9674f1486f58697e8c5206a&st=grep&s=chmod On 3/11/15 4:06 PM, i

sudo chmod - bad practice

2015-03-11 Thread ilya musayev
Is there any way we can avoid having chmod in /etc/sudoers file? This line in sudoers file makes me very uncomfortable https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=blob;f=python/lib/cloudutils/serviceConfig.py;hb=a10a9d522c56f707a9674f1486f58697e8c5206a 723