Ticket Change Details
Not logged in
Overview

Artifact ID: e9fdc559dd900a783f812b1bedbd53bbfb65231c
Ticket: 5f2f147f7efb71ae9778ab32aecbea99bec95958
Fossil forgets about executable bit when switching branches
User & Date: anonymous 2011-02-27 19:36:35
Changes

  1. comment changed to:
    After a fresh checkout the executable bit is correctly recorded on files:<pre>
    $ ls -l unix/configure
    -rwxr-xr-x 1 rkeene users 581812 2011-02-26 22:37 unix/configure*
    $ fossil artifact 92caef797a838cf20af94cff7aea871580641c72 | grep unix/configure
    F unix/configure 35a077913fa8a27b6bdccf51ceb5999e3349f969 x
    $
    </pre>
    
    However, after updating to a tag that lacks the file, and then updating to a tag that includes it the executable bit is missing:
    <pre>
    $ fossil update core-8-0-2
    ...
    updated-to:   8ff5cdf418c32c02df18d1b756c3798fdc4de809 1998-04-29 17:09:47 UTC
    $ ls -l unix/configure
    ls: cannot access unix/configure: No such file or directory
    $ fossil update core-8-5-9
    ...
    updated-to:   7f1e1062ab6ea6810f9a764eab2702dde64680b3 2010-09-08 17:38:32 UTC
    $ ls -l unix/configure
    -rw-r--r-- 1 rkeene users 569172 2011-02-27 13:34 unix/configure
    $ fossil artifact 7f1e1062ab6ea6810f9a764eab2702dde64680b3 
    B 48191d397923759727b3231e19160d0d74bb722e
    ...
    $ fossil artifact 48191d397923759727b3231e19160d0d74bb722e | grep unix/configure
    F unix/configure 59a07ca641234778de582ca96b0296967f04ddf2 x
    </pre>
    
  2. foundin changed to: "79b7902cdd"
  3. private_contact changed to: "9789231ce371e5ff882a9f61a4c955c1d6f4cb63"
  4. severity changed to: "Severe"
  5. status changed to: "Open"
  6. title changed to:
    Fossil forgets about executable bit when switching branches
    
  7. type changed to: "Code_Defect"