Strange permissions on Coda file uploads

I’ve been working with Coda now for a few weeks and it’s been going pretty smoothly. There are a few bugs in the software, or they may even be feature requests :) When creating a file locally and subsequently uploading it to the server the file permissions are set to 700. This was causing all sorts of weirdness on a Drupal site that I’m currently theming. This is definitely a bug, however it’s pretty easy to overcome. In “Preferences -> Transfers” there is an option to “Set permissions on upload”. Set this to 644. This is the recommended permission for files in your theme folder in Drupal. You should now have no more problems when uploading files. If you’ve already uploaded files, it’s pretty easy to change via the command line using the chmod command:

chmod 644 filename.php

coda-pref-screen

coda-file-perms

Tags:

2 Responses to “Strange permissions on Coda file uploads”

  1. jethro Says:

    fuck….thanks, totally just saved me continued aggravation.

  2. pixelpalast Says:

    thanks – i’ve had similiar problems… but now my question – what about files which are not in a drupal theme folder :)
    use another ftp program? hmm…

Leave a Reply

 


t. 604.684.2498 | f. 604.721.4007 | e. turningheads [at] raisedeyebrow.com