Uploaded image for project: 'Sourcetree For Mac'
  1. Sourcetree For Mac
  2. SRCTREE-2750

SourceTree ignores umask, changes all touched files' permissions to 644

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • None
    • 2.0.2
    • Git
    • OSX Mountain Lion 10.8.5

    • Severity 3 - Minor

    Description

      SourceTree ignores the umask setting whenever it touches files in a git repo, which is counter to the way the actual git tool works. When cli git checks out a new file, or a checkout changes an existing file, those files' permissions are set according to the current umask value. But when SourceTree alters a file, the permissions are always set to 644, no matter what the umask value is. And yes, I've set the umask value for user applications, as specified in these instructions from Apple. This has no effect.

      This is extremely disruptive to a project being worked on by multiple users on the same machine. My system's umask is 002, because I want group write permission on all my files. But every time anyone uses SourceTree, that group write flag is removed from the files in our repo.

      Attachments

        Activity

          People

            Unassigned Unassigned
            013ea3330b24 Robert Rollins
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: