Forum Discussion
Altera_Forum
Honored Contributor
14 years agoThanks Dave,
That's what I thought should happen. The initialisation script seems to be trying to copy modelsim.ini to itself which obviously wouldn't work unless you were the owner. Copying /altera/11.0/modelsim_ase/linux/../modelsim.ini to /altera/11.0/modelsim_ase I cant' find where/why that write is happening. If the user owns the original then it writes a local copy no problem. Permissions were set as per the install script which was 644. My previous workaround was gross overkill and caused other problems. Undoing all that and just changing the owner of modelsim.ini to 'nobody' and setting the suid bit fixes the problem. -r-Sr--r-- 1 nobody users 15995 Apr 28 2011 /usr/altera/modelsim_ase/modelsim.ini The above permissions work fine and suid nobody is fairly safe. Nice to find a fix just before hometime on a Friday, it's 5.30pm here :-) Regards, Nigel