When you run a php script in the command line, does is execute with the read/write permissions of the current user or what?
stupid SO wouldn't allow me "yes." as an answer ;)
hop
2008-12-22 23:00:07
+2
A:
Yes, it runs with the permissions of the current user. Just like executing any other command-line program.
Rob Kennedy
2008-12-22 22:59:36
A:
Yes, it will run as the current user in a default setup.
If you where on a unix system you could change this by adjusting the setuid bit of the php cli binary. Of course doing so would be a bad idea.
Zoredache
2008-12-22 23:03:41