[SPT/CWIS] importing records

Edward Almasy ealmasy at scout.wisc.edu
Tue Jun 13 11:21:44 CDT 2006


On Jun 12, 2006, at 1:39 PM, Ann Wilkens wrote:
> We are still receiving the
> Error: Destination directory 
> /data/www/cwis/docs/MetadataTool/../TempStorage/ is not writable.
> error.  The directory security is OK and I can FTP a file to the 
> ../TempStorage directory (using the same login and password as I use 
> for CWIS), but the CWIS app cannot move the file.  I was wondering 
> what protocol CWIS uses to move the file and what username and 
> password CWIS is using.

    Since CWIS is web-based, it's running as whatever user your
    web server (e.g. Apache) is running as.  On Red Hat Linux I
    think it runs as "apache" and under OS X as "www".  You can
    usually check this with the command:
        ps auxw | grep httpd
    (The leftmost column is the user name.)

    CWIS is just doing a call to the PHP "is_writable()"
    function before printing the above error message, so it's
    almost certainly either a problem with permissions on the
    directory or (less likely but possible) a problem with your
    web server being configured to disallow writing to that path.

    Ed



---
    Edward Almasy                                     
ealmasy at scout.wisc.edu
    Co-Director                                         1210 W Dayton 
Street
    Internet Scout                                          Madison WI 
53706
    Computer Sciences Department                        608-262-6606 
(voice)
    University of Wisconsin - Madison                     608-265-9296 
(fax)




More information about the SPT-CWIS-Users mailing list