ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject chmod-check remote...
Date Wed, 16 Aug 2006 06:25:09 GMT
there are any tasks for check chmod of files on servers?

It's not so good to do it like this..
        <for param="filename">
                                <fileset dir="${referenzdir}">
                                        <include name="*"/>
                <sshexec host="xxx" username="yyy" password="yyy" trust="true"
`ls -l /yyy/yyy/temp/heischb/Web-Programm/@{filename}|cut -c1-10`\\c"
outputproperty="temp" />
                        <equals arg1="${temp}" arg2="-rwxr-xr-x" />
                                <echo>Korrekt gesetzt</echo>
                                <echo> NICHT KORREKT!!!!! </echo>
                                <echo> @{filename}</echo>

... because it needed a ssh-connection for every file ...

Have anybody a idea?

Regards Benjamin Heisch

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message