permissions problem

    Date: 05/23/07 (PHP Community)    Keywords: database, linux, apache

    Have all these pdfs on a linux server here at work. They are associated by id numbers in a database. Sometimes the pdfs are assigned a wrong number so I have a script that changes where they are stored and what number they have in the database. Everytime I try to do it though I get an error on rename (which I'm also using to move files). Says permission denied.The files are owned by the "tech" user and the user trying to rename them is "apache". But I the pdfs are set to 777 so I don't understand why it doesn't have permission. Any suggestions?

    *edit*
    Used a perl script instead. Problem solved.

    Source: http://community.livejournal.com/php/567585.html

« Splitting up a very long... || AJAX Issue »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home