Hi,
there are any tasks for check chmod of files on servers?
It's not so good to do it like this..
<for param="filename">
<path>
<fileset dir="${referenzdir}">
<include name="*"/>
</fileset>
</path>
<sequential>
<echo>@{filename}</echo>
<sshexec host="xxx" username="yyy" password="yyy" trust="true"
command="echo
`ls -l /yyy/yyy/temp/heischb/Web-Programm/@{filename}|cut -c1-10`\\c"
outputproperty="temp" />
<echo>${temp}</echo>
<if>
<equals arg1="${temp}" arg2="-rwxr-xr-x" />
<then>
<echo>Korrekt gesetzt</echo>
</then>
<else>
<echo> NICHT KORREKT!!!!! </echo>
<echo> @{filename}</echo>
</else>
</if>
</sequential></for>
... because it needed a ssh-connection for every file ...
Have anybody a idea?
Regards Benjamin Heisch
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]