You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Barrie Treloar <ba...@gmail.com> on 2008/10/06 11:09:40 UTC

http://maven.apache.org/developers/release/releasing.html step 6 permission fixing

Verify/change folder permissions to 0775 and files permissions to 0664 i.e.:

find . -type d -exec chmod a+rx {} \;
find . -type d -exec chmod g+w {} \;
find . -type f -exec chmod 664 {} \;

Can't this be replaced with

chmod -R a+rX,g+w,o-w /www/maven.apache.org/plugins/maven-XXX-plugin-Y.Z

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: http://maven.apache.org/developers/release/releasing.html step 6 permission fixing

Posted by Barrie Treloar <ba...@gmail.com>.
On Sun, Oct 12, 2008 at 1:28 AM, Hervé BOUTEMY <he...@free.fr> wrote:
>> find . -type d -exec chmod a+rx {} \;
>> find . -type d -exec chmod g+w {} \;
>> find . -type f -exec chmod 664 {} \;
>>
>> Can't this be replaced with
>>
>> chmod -R a+rX,g+w,o-w /www/maven.apache.org/plugins/maven-XXX-plugin-Y.Z

My only concern about after thinking why this might be like this, was
that windows probably sets the execution bits badly and so the
uploaded file might have them set incorrectly.
But having a+x on files (which are not shell scripts anyway) is no
reason to worry.
I think the biggest thing needs to be the file permissions dont allow
non-priveleged users to modify the files.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: http://maven.apache.org/developers/release/releasing.html step 6 permission fixing

Posted by Hervé BOUTEMY <he...@free.fr>.
+1
easier and more efficient

Le lundi 06 octobre 2008, Barrie Treloar a écrit :
> Verify/change folder permissions to 0775 and files permissions to 0664
> i.e.:
>
> find . -type d -exec chmod a+rx {} \;
> find . -type d -exec chmod g+w {} \;
> find . -type f -exec chmod 664 {} \;
>
> Can't this be replaced with
>
> chmod -R a+rX,g+w,o-w /www/maven.apache.org/plugins/maven-XXX-plugin-Y.Z
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org