shadowhelm
Sep 5 2008, 03:55 AM
I have setup my flickr account to post to my blog. The post works correctly, but somehow the permissions on my .php files get reset to 666 instead of 775. I am using .php file extensions and my host requires the 775 permission to render the .php files. If that permission is not set properly then the browser displays a 500 error.
I have set the correct settings (I think) in mt-config.cgi. The two settings I have customized are show below:
HTMLperms 0777 HTMLMask 0002
I have no problem posting from the MT dashboard but when I try to post from Flickr the permissions are set wrong. The system changes the permissions for my index.php and archives.php file as well as sets wrong permissions for the static file for that particular post, and the date specific index.php file. What is also interesting is that the permissions for the previous post's static file are also changed.
Any idea what is going on here? My assumption is that all of the files that have wrong permissions are published (or republished) when Flickr sends a new post.
shadowhelm
Oct 6 2008, 05:56 AM
Yeah, I tried that. Not luck.
Maybe I should just make the HTMLPerms 775 instead of using the HTMLMask of 002?
shadowhelm
Nov 7 2008, 05:04 AM
So, I haven't had any luck here.
Does anyone know if mt-xmlrpc.cgi uses the settings in mt-config.cgi when it creates posts or is there a separate mechanism? It is just strange that all posts generated through Flickr have the 666 permissions.