[wp-hackers] Strange file permissions

Jason A. Hoffman jason at textdrive.com
Fri May 27 21:41:59 GMT 2005


On May 27, 2005, at 1:11 PM, John Ha wrote:
> Hi,
>
> Not sure if it's Wordpress doing it, but my WP file permissions  
> keep changing to 755 of their own accord, even after I've reset  
> them to 644. It could be WP (1.5.1-RC-2.7182818), or it could be  
> something else. I've searched through all the files in the distrib  
> to find a chmod 755, but there is no reference to this. Only the  
> WP .php files are affected (plugins included). Files unrelated to  
> WP are not affected. I'm stumped as to what's doing this.
>
> And one more thing, I get an empty 'test' database appearing in my  
> database every now and then. I'd drop it, then sometime later (not  
> sure how long - days, months) it'd reappear.
>
> So far with these weird events, nothing bad has happened but I'd  
> still like to know what's causing all this. Any insights would be  
> great. Thanks!
> John Ha


The first is because of the default umask that PHP/the server is  
running under.

The test database is the first database that MySQL makes and by  
default everyone has permissions to touch and create a "test"  
database unless that permission is specifically removed.

- Jason

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://comox.textdrive.com/pipermail/wp-hackers/attachments/20050527/e7622739/attachment-0001.html


More information about the wp-hackers mailing list