x First time here? Check out the FAQ
Join us a the Umbraco event of the year - get your Codegarden 14 early bird ticket today
  • Avatar34posts57karma

    Courier 2 throws an error if files are readonly?

    Lasse Eskildsen started this topic June 28, 2011 @ 02:52

    Hi,

    I'm using Courier 2 to transfer content between two servers. Whenever I transfer some content which has related files (user controls, scripts etc.) I get an error if the files are readonly.

    Why is that? I'm guessing (and hoping) that it doesn't change my files. It's an issue because scripts and user controls are deployed from Team Foundation Server where they are readonly by default.

    Thanks,

    Lasse


  • Avatar810posts3065karma
    HQComment with ID: 81702
    Per Ploug posted this reply June 30, 2011 @ 01:03

    Hi Lasse

    Could you post the stack trace so I can figure out where it does that? 

    Courier creates a copy of the files it wants to deploy, and modifies them, but the original is never touched, so I'm guessing the copy is read-only as well.

    /Per


  • Avatar810posts3065karma
    HQComment with ID: 81874
    Per Ploug posted this reply July 1, 2011 @ 01:04

    Hi Lasse

    Update: Found the issue, it was the checksum generation Courier uses to Identify files that required write-access, this is now changed to read-only instead.

    Fix will be in 2.1 release


Please login or Sign up To post replies