centos - xinetd - unable to write to a file -


running centos. xinetd.d/clhtest entry follows:

service clhtest {         disable                 = no         port                    = 8020         socket_type             = stream         protocol                = tcp         wait                    = no         user                    = charrison         passenv                 = path         server                  = /home/charrison/bin/clhtest } 

in debugging need write file. set server process open /home/charrison/log/foo.txt 1 of first steps (note user=charrison), doesn't - , assume tries to. when launch server program command line opens file successfully.

i suspect umask parameter may needed, don't know defaults to.

any hints?


Comments

Popular posts from this blog

c++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

php - joomla get content in onBeforeCompileHead function -