gnu-arch-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnu-arch-users] BUG: feature request: 'tla chmod' which 'touch'es files


From: Zenaan Harkness
Subject: [Gnu-arch-users] BUG: feature request: 'tla chmod' which 'touch'es files
Date: Fri, 24 Sep 2004 11:45:51 +1000

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 know whether the above does the right thing if no files are
passed in.

Anyway, one to add to the feature list.

thanks
zen




reply via email to

[Prev in Thread] Current Thread [Next in Thread]