[sf-perl] cgi question

Rich Morin rdm at cfcl.com
Fri Feb 8 18:05:47 PST 2013


On Feb 8, 2013, at 16:20, Joseph Brenner wrote:
> David Alban <extasia at extasia.org> wrote:
>> geez...   how long have i been using unix?
> 
> Probably roughly as long as I have, but unix permissions still throw
> me curves.  I've got a situation right now where my crons can create a
> file by redirecting output to it, but they can't actually write
> anything.  There's a difference?

In order to create a file, you need write permission for the directory
it will reside in.  In order to open an existing file for writing, you
need write permission for the file.
 
-r

 -- 
http://www.cfcl.com/rdm            Rich Morin
http://www.cfcl.com/rdm/resume     rdm at cfcl.com
http://www.cfcl.com/rdm/weblog     +1 650-873-7841

Software system design, development, and documentation




More information about the SanFrancisco-pm mailing list