server misconfiguration

Dear Site5: WTF is up with your file permissions behavior?!

I know yall do QA, however, you aren't testing for power users apparently. Check this out. I like to build and deploy drupal websites. Drupal websites require constant code updates, as well as test servers, so I like to use shell to move files around. However, it seems, whenever I move files around, every single files and directory gets assigned permissions 664, or 644 -- i forgot. The fix is running this command in the unix shell:

chmod -R ugo=rX,u+w ~

Subscribe to RSS - server misconfiguration