[coreutils] RFC for adding file creation mode feature into touch utility
From:
Rakib Mullick
Subject:
[coreutils] RFC for adding file creation mode feature into touch utility.
Date:
Fri, 7 Jan 2011 04:01:51 -0500
Hello list,
This is a Request For Comment for adding a new feature into touch
utility. touch is basically an utility to modify a file's timestamps
and it is also used for file creation vastly. We can create a file by
just doing 'touch filename'. There are lot of cases where we need to
change file's permission after creation. To do that we need to
separately do 'chmod -/+ mode filename'. Now, my proposal is to adding
mode changing feature to the touch utility, it will help us to create
a file by just doing 'touch --mode xxx filename'. It will create a
file with specified mode.
Hope to get some response.
thanks in advance!
rakib