Markus Wahl wrote: > I am experiencing the strangest problem. Performing > `chmod g+w`on a directory causes a script inside it > not to execute anymore.
That would be strange. It does not make sense. > 20:48:31 markus ~/test>echo $USER > markus > 20:48:32 markus ~>pwd > /home/markus > 20:48:34 markus ~>l | grep test > drwxr-xr-x 2 root users 4096 May 29 20:44 test/ > 20:48:37 markus ~>cd test/ > 20:48:38 markus ~/test>l > total 4 > -rwxr-xr-x 1 root root 24 May 29 20:44 myTest* > 20:48:40 markus ~/test>cat myTest > #!/bin/sh > echo testing > > 20:48:41 markus ~/test>./myTest > testing So far so good. > 20:48:43 markus ~/test> > > So we see that the script is working. I then perform the change > logged in as root. Therafter I try executing the script again > (still as user markus): > > 20:50:00 markus ~/test>echo $USER > markus > 20:50:02 markus ~/test>l .. | grep test > drwxrwxr-x 2 root users 4096 May 29 20:44 test/ Looks fine. > 20:50:12 markus ~/test>./myTest > ./myTest: Permission denied. But then just right at the critical point you did not include enough information to deduce what is failing. :-( What is the permission at this point in time of ./myTest? It appears from the error message that you do not have permission to run it. Without that information it is impossible to say what is happening. And what was the chmod command that you ran? Bob _______________________________________________ Bug-coreutils mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-coreutils
