[PerlChina] China-pm Digest, Vol 38, Issue 3

truncatei truncatei at gmail.com
Wed Jun 4 20:57:23 PDT 2008


你理解错我们的意思了
文件的Owner和谁运行是不一样的,它是使用当前运行用户的env,而不管owner是谁

你可以加个 id 或者 whoami 的系统调用在程序里看看CGI到底是以哪个用户身份运行。

2008/6/5 gary jsz <gary.jsz at gmail.com>:
> 这个文件的所属者为root,而/bin/ls这个文件也是所有用户都可以运行的。
>
> 请问还需要哪里设置嘛?
>


More information about the China-pm mailing list