[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
Re: perl script not writting to file
> i have recently started perl/cgi, i m traying to write
> some data ,got from cgi program in a file thorugh perl script ,
> if file permitions are set 766 (i.e. write permition for all )
> then the program works fine otherwise it writes nothig in file
basically the cgi runs as user nobody, so user nobody shud hav write
permissions to the file, if u wan't to write to it!!! also the script has to
be executable by all too, for this reason!!!
> what should i do ?
the best method is to have a subdirectory owned by nobody! that way your
script can read/write and create any number of files!!
Bye,
/\ |\/| |3 /\ r