Dear Ubuntu community,
I am rewording a posting I initiated 20 hrs ago to a more tangible form.
I am having problems running a bash script named "testfile" that attempts to create and write to a new directory ("steve_test") in the root directory (/). I did this in order to reproduce a problem I am having running an executable (IPW 2.1) that attempts to do the same thing. Script "testfile" has root suid priveleges (I even tried "chmod 7777 testfile" to no success), and I have privileges to execute "testfile", so I don't understand what the problem is. The funny thing is, when I "sudo su" to root, it works just fine. Isn't setting suid root privileges to "testfile" supposed to do the same thing? Maybe I'm totally confused... The shell output is below. I would so much appreciate any help so that I can get my software running.
BTW: I am running Ubuntu 9.04 and Windows XP on dual boot.
steven@stevens-computer:~/test$ bash testfile
mkdir: cannot create directory `/steve_test': Permission denied
testfile: line 5: /steve_test/mytext.txt: No such file or directory