[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnu-arch-users] Re: Link with permissions
From: |
John Meinel |
Subject: |
Re: [Gnu-arch-users] Re: Link with permissions |
Date: |
Tue, 28 Sep 2004 00:52:42 -0500 |
User-agent: |
Mozilla Thunderbird 0.8 (Windows/20040913) |
Miles Bader wrote:
address@hidden (James Blackwell) writes:
What will you say to the people that are currently using arch to back up
things like /etc and /home ?
There's at least a couple people that distribute their /home/usrname
across several machines by using arch.
Yeah. I've notice recently that many people seem to be thinking this
way "hey if I don't need it, nobody does!"
It _would_ be useful if there were some way to declare which bits you cared
about in a particular project, e.g., {arch}/=perm-bits-i-care-about. It
might work like: (1) have the other, `don't care', bits all turned on in
the archive, (2) ignore the don't-care bits for comparisons, and (3) use
umask to set the don't-care bits upon file creation.
-Miles
Well, I can see that $HOME would work, but for people using /etc,
wouldn't they also need the owner/group for the files?
My guess is that tla fits one of those *almost* right for a couple
things, but not really fitting for either.
I think having it configurable would be nice, but I'm not sure how to
make it work on checkout. For instance, if someone publicly posts their
/etc to give other people an idea of how to configure their machine
(perhaps after filtering out a couple sensitive files). It would be nice
if when *I* check out that archive, it doesn't set the owner/group. But
for most of his work, he would want the owner set.
Since tar files can handle all of the permissions/users/etc, it seems
like it would be feasible to implement.
The idea of setting up what permissions bits, owner, etc are important
seems reasonable. In most *code* repositories you only care about the
execute bit. For other ones, you care about more than just permissions.
It might also be nice, though. If tla just kept a file (say in
{arch}/=file-permissions) that just had the owner/group/permissions bits
for all the files in the repository.
If you *want* to set everything to what is in that file, you could run a
reasonably simple bash script.
John
=:->
signature.asc
Description: OpenPGP digital signature
- Re: [Gnu-arch-users] Re: bitkeeper vs tla, (continued)
- Re: [Gnu-arch-users] Re: bitkeeper vs tla, John Meinel, 2004/09/23
- Re: [Gnu-arch-users] Re: bitkeeper vs tla, Dustin Sallings, 2004/09/23
- Re: [Gnu-arch-users] Re: bitkeeper vs tla, John Meinel, 2004/09/23
- [Gnu-arch-users] Re: bitkeeper vs tla, Miles Bader, 2004/09/24
- [Gnu-arch-users] Re: Link with permissions (was: bitkeeper vs tla), John Meinel, 2004/09/24
- Re: [Gnu-arch-users] Re: Link with permissions (was: bitkeeper vs tla), Robin Farine, 2004/09/24
- Re: [Gnu-arch-users] Re: Link with permissions (was: bitkeeper vs tla), Jason McCarty, 2004/09/24
- Re: [Gnu-arch-users] Link with permissions, Robin Farine, 2004/09/26
- Re: [Gnu-arch-users] Link with permissions, James Blackwell, 2004/09/27
- [Gnu-arch-users] Re: Link with permissions, Miles Bader, 2004/09/27
- Re: [Gnu-arch-users] Re: Link with permissions,
John Meinel <=
- Re: [Gnu-arch-users] Re: Link with permissions, Robin Farine, 2004/09/28
- Re: [Gnu-arch-users] Re: Link with permissions, Robin Farine, 2004/09/28
- [Gnu-arch-users] Re: Link with permissions, Miles Bader, 2004/09/28
- [Gnu-arch-users] Re: Link with permissions, Miles Bader, 2004/09/28
- [Gnu-arch-users] Re: Link with permissions, Robin Farine, 2004/09/28
- Re: [Gnu-arch-users] Re: Link with permissions, Robin Farine, 2004/09/28
- Re: [Gnu-arch-users] Re: Link with permissions, tomas, 2004/09/29
- Re: [Gnu-arch-users] Link with permissions, Robin Farine, 2004/09/29
- Re: [Gnu-arch-users] Link with permissions, Zenaan Harkness, 2004/09/29
- Re: [Gnu-arch-users] Link with permissions, tomas, 2004/09/30