darcs

Issue 54 track permissions, file and directory meta-data

Title track permissions, file and directory meta-data
Priority feature Status given-up
Milestone Resolved in
Superseder Additional setpref options (eg for managing permissions, symlinks, etc)
View: 743
Nosy List ashmoran, darcs-devel, dmitry.kurochkin, kowey, markstos, thorkilnaur, tommy, twb
Assigned To
Topics

Created on 2005-12-11.00:56:45 by system, last changed 2017-07-31.00:04:15 by gh.

Messages
msg196 (view) Author: markstos Date: 2005-12-11.00:56:45
request to have darcs record file executable permissions
msg198 (view) Author: tommy Date: 2005-12-11.01:13:08
See also RT#96 <http://otherbugs.darcs.net//Ticket/Display.html?id=96>.
msg1103 (view) Author: kowey Date: 2006-10-15.20:03:47
RT#96 has now been replaced by issue307
msg1104 (view) Author: kowey Date: 2006-10-17.05:51:17
Add new patch type: Chmod
Import and merge of RT #106

Philippe Bergheaud <pbergheaud@meiosys.com> 2004-11-30
-------------------------------------------------------
Subject: Add new patch type: Chmod

I wish darcs could to track changes to the permissions of a file (or
directory), primarily the Unix execution bit.


===========================================================================
Timothy Webster <timw@outblaze.com> 2004-11-30
----------------------------------------------

Create an ownership, permission, acl file per filesystem meta-data
finger print
and apply it when such filesystem is detected.
-tim.


===========================================================================
Philippe Bergheaud <pbergheaud@meiosys.com> 2004-11-30
------------------------------------------------------

Thanks.
msg7998 (view) Author: twb Date: 2009-08-03.03:29:29
On Sat, Dec 10, 2005 at 02:56:45PM +0000, Mark Stosberg wrote:
> request to have darcs record file executable permissions

I'm documenting the workarounds I know about here.

1. The most common case is where you want scripts to be executable.
   For this, the --set-scripts-executable heuristic can be used -- it
   will make files in the working tree executable if they begin with a
   shebang.  You can make this behaviour the default by placing

       ALL set-scripts-executable

   in your .darcs/defaults (per-user) or in _darcs/prefs/defaults
   (per-repo).

2. metastore is a third-party tool that provides metadata storage to
   arbitrary VCSs.  Early versions of etckeeper used it (until it was
   replaced by a NIHd clone).

     http://david.hardeman.nu/software.php

   I haven't used it myself, but I imagine it's straightforward to
   integrate using hooks on record and apply.
msg8743 (view) Author: kowey Date: 2009-09-07.15:26:13
I think there's a chance we could implement this (albeit in a somewhat hokey
way) if we had issue743 down.
msg11092 (view) Author: ashmoran Date: 2010-05-20.14:46:19
I'd like to vote for this.  Some of my work is in Rails apps, and Rails 
has a "script" folder with executable scripts in.  It's annoying having to 
chmod them by hand.
msg11093 (view) Author: markstos Date: 2010-05-20.14:55:39
On Thu, 20 May 2010 14:46:20 +0000
Ashley Moran <bugs@darcs.net> wrote:

> 
> Ashley Moran <ashley.moran@patchspace.co.uk> added the comment:
> 
> I'd like to vote for this.  Some of my work is in Rails apps, and Rails 
> has a "script" folder with executable scripts in.  It's annoying having to 
> chmod them by hand.

Ashley,

Have you considered setting the "--set-scripts-executable" preference
globally in your darcs repo? That would take care of making sure that
scripts receive executable permissions.

   Mark
msg11094 (view) Author: ashmoran Date: 2010-05-20.14:59:13
On May 20, 2010, at 3:55 pm, Mark Stosberg wrote:

> Have you considered setting the "--set-scripts-executable" preference
> globally in your darcs repo? That would take care of making sure that
> scripts receive executable permissions.

Hi Mark

I saw some of the comments, and I might do that.  Not a huge prob for me as I only generally have to do it once for a project.  But it's something I think should be fixed properly.  It doesn't sell Darcs well that it can't do file permissions (I was quite surprised - I take it for granted in other VCSs).

Ashley

-- 
http://www.patchspace.co.uk/
http://www.linkedin.com/in/ashleymoran
msg12221 (view) Author: kowey Date: 2010-08-18.13:32:15
This has come up frequently enough that we should consider it a feature 
request more than a wishlist item.

BTS training: see http://wiki.darcs.net/BugTracker/PriorityStatus on the 
(currently very fuzzy!) difference between a feature and a wishlist 
item.
History
Date User Action Args
2005-12-11 00:56:45systemcreate
2005-12-11 01:13:09tommysetstatus: unread -> unknown
nosy: droundy, tommy, system
messages: + msg198
2006-10-15 20:03:48koweysetnosy: + kowey
messages: + msg1103
2006-10-17 05:51:22koweysetnosy: droundy, tommy, kowey, system
messages: + msg1104
2008-01-19 01:34:43systemlinkissue307 superseder
2008-01-19 01:35:18systemsetnosy: + beschmi
title: permissions -> Track permissions, file and directory meta-data in darcs
2008-02-16 01:44:59markstossetpriority: feature -> wishlist
status: unknown -> deferred
nosy: droundy, tommy, beschmi, kowey, system
title: Track permissions, file and directory meta-data in darcs -> wish: Track permissions, file and directory meta-data in darcs
2009-08-03 03:29:53twbsetnosy: + dmitry.kurochkin, twb, simon, 311156, thorkilnaur
messages: + msg7998
2009-08-03 16:21:26droundysetnosy: - droundy, 311156
2009-08-06 20:47:12adminsetnosy: - beschmi
2009-08-25 17:46:31adminsetnosy: + darcs-devel, - simon
2009-08-27 14:20:55adminsetnosy: tommy, kowey, darcs-devel, system, twb, thorkilnaur, dmitry.kurochkin
2009-09-07 15:26:15koweysetstatus: deferred -> waiting-for
nosy: tommy, kowey, darcs-devel, system, twb, thorkilnaur, dmitry.kurochkin
superseder: + Additional setpref options (eg for managing permissions, symlinks, etc)
messages: + msg8743
2009-10-24 09:09:45adminsetnosy: + markstos, - system
2010-05-20 14:46:20ashmoransetnosy: + ashmoran
messages: + msg11092
2010-05-20 14:55:40markstossetmessages: + msg11093
2010-05-20 14:59:14ashmoransetmessages: + msg11094
2010-08-18 13:32:16koweysetpriority: wishlist -> feature
messages: + msg12221
title: wish: Track permissions, file and directory meta-data in darcs -> track permissions, file and directory meta-data
2017-07-31 00:04:15ghsetstatus: waiting-for -> given-up