[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Creating dir and fixing permissions on existing dirs
From: |
Mark . Burgess |
Subject: |
Re: Creating dir and fixing permissions on existing dirs |
Date: |
Fri, 10 May 2002 17:50:16 +0200 (MET DST) |
On 10 May, Adrian Phillips wrote:
>
> Am I being dense here - I want to have a directories, or files for
> that matter, that creates a directory and fixes its permissions. Now
> the options today seem to be :-
>
> - directories : creates but doesn't handle permissions
(yes it does?)
> - files, action fixdirs : fixes perms but doesn't create
> - files, action touch : creates but doesn't fix perms (I posted patch
> to fix this)
> - files, action create : creates but doesn't fix perms
>
Why can't you just have two rules? There's no reason to do everything
in one rule -- it doesn't cost any more or less?
> Now touch, with my patch, does fix the perms but updates the mtime
> which I don't want.
>
> Now, if there is currently no way to do this then I propose a new
> action, <something>, that creates and fixes perms for a
> directory. What <something> would be I've been struggling with, but
> createfixdirs is about the only thing I can think of. Oh, I'd create a
> patch for this as well so I'm not looking for somebody to do the work
> for me just suggestions for the best solution :-)
>
> Has anyone else suggestions ?
>
> Sincerely,
>
> Adrian Phillips
>
I need to look at this more closely. I haven't had time to look at the mail
recently.
M
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272 Email: Mark.Burgess@iu.hio.no
Fax : +47 22453205 WWW : http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~