| Subject: | Re: setuid from shellscript isn't permanent |
|---|---|
| From: | bob@xxxxxxxxxx (Bob Proulx) |
| Date: | Sat, 19 Jul 2008 20:06:29 -0600 |
| Newsgroups: | gnu.bash.bug |
Mr Aras wrote: > $ ./setuid_test_script.sh > mode of `/nfsroot/bin/busybox' changed to 4755 (rwsr-xr-x) > -rwsr-xr-x 1 root root 515956 2008-07-18 11:46 /nfsroot/bin/busybox > > $ ls /nfsroot/bin/busybox > -rwxr-xr-x 1 root root 515956 2008-07-18 11:45 /nfsroot/bin/busybox With only this information I would have to guess that even though you have a command that it doing the chmod one way that there must be another command that is changing it back. Try running with 'bash -x ./setuid_test_script.sh' in order to trace your script commands. I expect to see that there is another one that you are not expecting that is running. Bob |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: setuid from shellscript isn't permanent, Chet Ramey |
|---|---|
| Next by Date: | Re: inconsistent treatment of backslash-bang, Paul Jarc |
| Previous by Thread: | Re: setuid from shellscript isn't permanent, Chet Ramey |
| Next by Thread: | Re: setuid from shellscript isn't permanent, Aras Vaichas |
| Indexes: | [Date] [Thread] [Top] [All Lists] |