Using a very simple line:
open (DATEI, ">test.txt") or print ("Can not open file : $!");
Test.txt does not exist, I'm trying to create it.
Program returns: Can not open file : Permission denied
And the folder has 777 permissions.
I even tried setting the GID and UID bytes - doesn't change anything. I am running perl as CGI, because it needs to work with an old script that uses an old version of mod cgi.
Does anyone know how I can fix this?
open (DATEI, ">test.txt") or print ("Can not open file : $!");
Test.txt does not exist, I'm trying to create it.
Program returns: Can not open file : Permission denied
And the folder has 777 permissions.
I even tried setting the GID and UID bytes - doesn't change anything. I am running perl as CGI, because it needs to work with an old script that uses an old version of mod cgi.
Does anyone know how I can fix this?