[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnu-arch-users] Re: BUG: feature request: 'tla chmod' which 'touch'es f
From: |
Mark Stosberg |
Subject: |
[Gnu-arch-users] Re: BUG: feature request: 'tla chmod' which 'touch'es files |
Date: |
Sat, 25 Sep 2004 01:34:12 +0000 (UTC) |
User-agent: |
slrn/0.9.8.0 (FreeBSD) |
On 2004-09-24, Zenaan Harkness <address@hidden> wrote:
>
> Trying to create a shared revlib when initial permissions were not set
> up as group +rw(x) has been a long, messy and at times quite frustrating
> experience for me.
>
> Too many times I've been bitten by chmod not 'touch'ing the
> corresponding file, and therefore not propagating the perms change into
> the commit.
>
> A function like the following would probably do the trick:
>
> tla-chmod
> {
> chmod $@
> touch $@
> }
I don't think this adds much value to 'tla' as the 100th-and-something
sub-command. It does nothing tla-specific. It sounds like either some
other 'tla' command should be chmod'ing and touch'ing files
automatically, or you could use a shell alias for 'chmod-n-touch'.
It does seem like a reasonable idea for 'chmod' to 'touch' a file if you
want it to, so perhaps patching chmod with "--touch" flag could even
make sense.
Mark
--
http://mark.stosberg.com/
- [Gnu-arch-users] BUG: feature request: 'tla chmod' which 'touch'es files, Zenaan Harkness, 2004/09/23
- [Gnu-arch-users] Re: BUG: feature request: 'tla chmod' which 'touch'es files,
Mark Stosberg <=
- Re: [Gnu-arch-users] BUG: feature request: 'tla chmod' which 'touch'es files, Aaron Bentley, 2004/09/25
- Re: [Gnu-arch-users] BUG: feature request: 'tla chmod' which 'touch'es files, John Meinel, 2004/09/25
- Re: [Gnu-arch-users] BUG: feature request: 'tla chmod' which 'touch'es files, Aaron Bentley, 2004/09/25
- Re: [Gnu-arch-users] BUG: feature request: 'tla chmod' which 'touch'es files, Matthew Dempsky, 2004/09/25
- Re: [Gnu-arch-users] BUG: feature request: 'tla chmod' which 'touch'es files, John Meinel, 2004/09/25
- Re: [Gnu-arch-users] BUG: feature request: 'tla chmod' which 'touch'es files, Matthew Dempsky, 2004/09/26
- Re: [Gnu-arch-users] BUG: feature request: 'tla chmod' which 'touch'es files, John Meinel, 2004/09/26
- Re: [Gnu-arch-users] BUG: feature request: 'tla chmod' which 'touch'es files, Matthew Dempsky, 2004/09/26
- Re: [Gnu-arch-users] BUG: feature request: 'tla chmod' which 'touch'es files, Harald Meland, 2004/09/26