[Dict-common-dev] Problems with the sourceforge server

Agustín Martín Domingo agmartin@aq.upm.es
Tue, 11 Jun 2002 17:59:30 +0200


This is a multi-part message in MIME format.
--------------000605000503010304070300
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable

Agust=EDn Mart=EDn Domingo wrote:
> Hi all,
>=20
> Seems that sourceforge has changed its server yesterday. That is=20
> producing some problems, since now when uploading a new dict package to=
=20
> sourceforge, I get the error
>=20
> chmod: changing permissions of=20
> `/home/groups/d/di/dict-common/htdocs/testing/sources/iportuguese_19980=
611-8.diff.gz':=20
> Operation not permitted
>=20
> for all files at the staging area not owned by the uploader (me).
>=20
> The package itself is uploaded (with g=3Dr not g=3Drw), but the Package=
s and=20
> Sources files are not recreated and no mail is sent because of the=20
> previous error.
>=20
> Seems that the new server does not like
>=20
> chmod -R g=3Du $www_dir

Changed also in sf-dictrelease in CVS. For those curious, attached is=20
the patch against previous sf-dictrelease

Cheers,

Agustin

--=20
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Agustin Martin Domingo, Dpto. de Fisica, ETS Arquitectura Madrid,
(U. Politecnica de Madrid)  tel: +34 91-336-6536, Fax: +34 91-336-6554,
email:agmartin@aq.upm.es, http://corbu.aq.upm.es/~agmartin/welcome.html

--------------000605000503010304070300
Content-Type: text/plain;
 name="patch.sf-dictrelease"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="patch.sf-dictrelease"

--- sf-dictrelease.orig	Tue Jun 11 17:50:20 2002
+++ sf-dictrelease	Tue Jun 11 17:55:28 2002
@@ -1,5 +1,5 @@
 #! /bin/bash
-# 	$Id: sf-dictrelease,v 1.15 2002/06/04 12:06:45 agmartin Exp $
+# 	$Id: sf-dictrelease,v 1.16 2002/06/11 15:55:28 agmartin Exp $
 # ----------------------------------------------------------------------
 # sf-dictrelease: A script that will make a local release of a package
 # First intended to release a dictionary to the sourceforge stage area
@@ -178,6 +178,7 @@
     make_controldata
     create_info_file > $CONTROLDIR/${PACKAGE}.info
     ( cd $DESTDIR && tar -cvzf ../${TARBALL} . )
+    PKGFILES=`cat $CONTROLDIR/${PACKAGE}.list | tr -s '\n' ' '`
 }
 
 install_sources(){
@@ -267,7 +268,8 @@
 	    $rcp_command ../${TARBALL} $www_dir_remote
 	    $rsh_command "tar xzf $www_dir/${TARBALL} -C $www_dir; rm -f $www_dir/${TARBALL}"
 	if [ "$REMOTE" == "yes" ]; then
-	    $rsh_command "chgrp -R $www_group $www_dir; chmod -R g=u $www_dir"
+	    #$rsh_command "chgrp -R $www_group $www_dir; chmod -R g=u $www_dir"
+	    $rsh_command "chgrp -R $www_group $www_dir; ( cd $www_dir && chmod g=u $PKGFILES )"
 	fi
     )
 }

--------------000605000503010304070300--