diff options
author | https://www.google.com/accounts/o8/id?id=AItOawnLM6CIUo2loSFNTLPDdBgAEoz9ehP2hz8 <Duncan@web> | 2014-12-02 23:16:57 +0000 |
---|---|---|
committer | admin <admin@branchable.com> | 2014-12-02 23:16:57 +0000 |
commit | 3e98dc6aa82dc6302fc57ec94d211f4f7cf32569 (patch) | |
tree | ac57b2987068b2261a37699941d354b640f6e5c4 /doc/internals | |
parent | 8223e019661eff4b911cb7c4f0ef1c3494d11d5a (diff) |
Added a comment: Having the write bit not set can cause problems with automated usage (e.g. build systems)
Diffstat (limited to 'doc/internals')
-rw-r--r-- | doc/internals/lockdown/comment_1_caa8b378e8c35177083e6cc2f6937180._comment | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/internals/lockdown/comment_1_caa8b378e8c35177083e6cc2f6937180._comment b/doc/internals/lockdown/comment_1_caa8b378e8c35177083e6cc2f6937180._comment new file mode 100644 index 000000000..2260e2f80 --- /dev/null +++ b/doc/internals/lockdown/comment_1_caa8b378e8c35177083e6cc2f6937180._comment @@ -0,0 +1,15 @@ +[[!comment format=mdwn + username="https://www.google.com/accounts/o8/id?id=AItOawnLM6CIUo2loSFNTLPDdBgAEoz9ehP2hz8" + nickname="Duncan" + subject="Having the write bit not set can cause problems with automated usage (e.g. build systems)" + date="2014-12-02T23:16:57Z" + content=""" +I'm using a git-annex to store build artefacts on a remote bare repo. Some of these artefacts are used in subsequent builds, which clone the artefacts repo, and use 'git annex get' to retrieve the artefacts of interest. + +Unfortunately, I've had to add a little kludge along the following lines to my build script fragment: + + git annex get ${file} + find .git/annex/objects -type d -exec chmod +w {} \; + +This is necessary because I need to ensure that the cloned git repo is able to be deleted at all times (I'm using yocto/openembedded and it may want to delete the clone for a variety of reasons). +"""]] |