| Posted by nigel.t on 06/19/62 11:57 
In article <NJGdnWxbnZ2diGLZnZ2dnUVZ_q-dnZ2d@comcast.com>, jstucklex@attglobal.net says...
 >
 > Nigel,
 >
 > Does the cron job user have write access to the directory where you're
 > writing myfile.tar?  And does it have read access to /home?
 >
 >
 
 Hi Jerry
 
 Sadly I'm not a Linux expert - I know what persmissions are but I dont
 know what a "cron job" is.
 I'm guessing you mean the apache server?
 
 /home is the directory the php file is in as well as the test file to be
 archived and is set to 777 for directory and all files - I panicked when
 I first couldnt make it work! I assume that means it has full read/write.
 
 I have so far assumed all permissions are granted as the machine is my
 test machine not networked to anything and I have everything I can find
 set to 777 to avoid this ... I seem to remember running chmod 777 from
 the root and recursing... I then manually change back my final test
 files/dirs to 755 and so on... ie the reverse procedure used on a public
 system.
 
 I also log on as root. (I have tried another user account and that
 performs the same).
 
 I can see where you are going and you may well be right - I just dont
 know what to look for ... how can I identify the less obvious things I
 need to check for permissions? (I can do file & directories its perhaps
 that cron job etc.)
 
 -nigel-
  Navigation: [Reply to this message] |