[26812] in Athena Bugs
Re: [daemon@ATHENA.MIT.EDU : linux 9.4.18: mitwebacls]
daemon@ATHENA.MIT.EDU (Sean M. Brown)
Thu Apr 6 14:30:35 2006
In-Reply-To: <200604042346.k34NkHMC001301@speaker-for-the-dead.mit.edu>
Mime-Version: 1.0 (Apple Message framework v749.3)
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
Message-Id: <1A737FEA-DE6B-4DB6-B805-8C8426C2EEC1@mit.edu>
Content-Transfer-Encoding: 7bit
From: "Sean M. Brown" <smbrown@mit.edu>
Date: Thu, 6 Apr 2006 14:30:31 -0400
To: Jonathon Weiss <jweiss@mit.edu>
X-Spam-Score: 1.217
X-Spam-Level: * (1.217)
X-Spam-Flag: NO
Cc: cwis-admin@mit.edu, bugs@mit.edu
Errors-To: bugs-bounces@mit.edu
My reply was:
> Hi Jeffrey,
>
> The mitwebacls script is a simple convenience script for changing
> the acls on a single directory only. The documentation shows how to
> change the acls on the cwd or another single directory that is not
> the cwd.
>
> The mitwebacls script can be combined with other command line
> programs to provide the functionality you describe.
>
> specifically,
>
> find . -type d -exec mitwebacls {} \;
>
> will recursively set the acls
Sean
...
sean m. brown - <smbrown@mit.edu>
technical consultant - is&t - dcad
On Apr 4, 2006, at 7:46 PM, Jonathon Weiss wrote:
>
> Hi,
>
> The following bug report refers to the mitwebacls script in the cwis
> locker. Please take a look and get back to the user.
>
> Thanks,
> Jonathon
>
>
> ------- Forwarded transaction
>
> [26732] daemon@ATHENA.MIT.EDU (Jeffrey S Walden) Athena Bugs
> 02/01/06 16:01 (35 lines)
> Subject: linux 9.4.18: mitwebacls
> Message-Id: <200602012100.k11L0qRF031730@w20-575-18.mit.edu>
> To: bugs@mit.edu
> Date: Wed, 01 Feb 2006 16:00:52 -0500
> From: Jeffrey S Walden <jwalden@mit.edu>
> X-Spam-Score: 1.217
> X-Spam-Level: * (1.217)
> X-Spam-Flag: NO
> Errors-To: bugs-bounces@mit.edu
>
> System name: ozok-the-destroyer.mit.edu
> Type and version: i686 9.4.18 (with mkserv)
> Display type: ATI Technologies Inc RV370 5B60 [Radeon X300 (PCIE)]
>
> Shell: /bin/athena/bash
> Window manager: unknown
>
> What were you trying to do?
> I was using https://web/ist/web/reference/web-resources/https.html
> to make a
> directory and its contents (including subdirectories) web-
> accessible to only
> a specific user.
>
> What's wrong:
> The suggested mitwebacls script doesn't change permissions on
> subdirectories.
>
> What should have happened:
> mitwebacls should probably include the following line at the end:
>
> $ find $WORKDIR -type d -exec fs copyacl -fromdir $WORKDIR -todir
> {} \;
>
> This line changes the acls properly for me, and because .htaccess.mit
> presumably works recursively as .htaccess does on normal Apache web
> servers, all the relevant changes should apply to all subdirectories.
>
> Please describe any relevant documentation references:
> http://www.oit.duke.edu/unix-manual/6.html#4.5
> --[26732]--
>
> ------- End forwarded transaction