OK, how do I give away a file? I am working on a cgi script which will
write a file, test.file, once per execution. It runs as nobody:nobody. I
need to hand the file off to an appropriate user.

Here is a list of the directory:

ccurley@charlesc $ ll
total 11
drwxrwxrwx    2 ccurley  ccurley      1024 Aug  4 09:51 .
drwx--x--x   77 ccurley  ccurley      9216 Aug  4 08:59 ..
-rw-rw-rw-    1 ccurley  ccurley         4 Aug  4 09:46 ecn
-rw-r--r--    1 nobody   nobody          0 Aug  4 09:51 test.file

When I try to run it manually as "nobody", I get this:

sh-2.03$ chown ccurley:ccurley test.file
chown: test.file: Operation not permitted

-- 

                -- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley

PGP signature

Reply via email to