First of all thanks for trying to help me. The command line output for:
--> "+ls -al /tmp/restart.sh+" is "+-rwxrwxr-x 1 admin1 admin ...+"
--> "+ls -ald /tmp+" is "+drwxrwxrwt 13 root sys ...+".
When anyone else in the admin group, besides the owner of the file, try to execute that file they get the following error: "+error: chmod: warning: can't change /tmp/restart.sh+".
If I change file owner it works properly, but I don't want to change the owner each time the file is used. Maybe it's all about that sticky bit?!
It's aplication specific problem (script problem) not system problem.
It's look like this script modify permissions on some files that available only for group admin
You can try set group sticki bit ( chmod g+s /tmp/restart.sh )
But before, change first line of script from
I have tried what you said to do, but still no results. I found out that the "+/tmp/restart.sh+" is actually the path to temporary reset script. This script is used to provide a GUI to select and restart some interface processes, but I'm newbie at scripting and it's difficult for me to modify that script.
I appreciate your help.