Thanks Laurie, I found the answer for this already.
chown always resets the set-uid and set-gid values, so it always has to run before chmod in order to set the set-uid.
I ran the chown command first then chmod and it worked.
Thanks
I think this post can be closed now
Hello, I have a perl script that runs in a Linux system, it basically reads a list of files and attributes and copies them to the right directory and set the attributes accordingly.
The script works fine with files with "regular" attributes like 0755, I'm doing something like this...
Yes I print the resulting command and it is well formed, that is the output I'm using in the command prompt and it works correctly.
I tried you solution on the system command and I got the same message. I'm thinking somehow I cannot call cmd.exe (not having the right permissions) in order to...
Hello Max, I tried removing the T parameter before and I got an error: "Script timed out before returning headers"; I've found that the size of the files to retrieve is not important, I tried with a 10 bytes and with a 500 MB file, and I got the same result, the page just sits there "Waiting..."...
Hello, this is my very first post on this site. I'm having a problem trying to pscp some files to my computer. When I run the command formed with the parameters I got from the web form in the command prompt, it works great. But running the cgi - script gives me the error of "Insecure dependency...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.