thanks :-)<br><br>(my mistake, oups :-( )<br><br><br><div><span class="gmail_quote">On 3/6/07, <b class="gmail_sendername">Petre Scheie</b> <<a href="mailto:petre@maltzen.net">petre@maltzen.net</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
It appears there is a bug in the /usr/sbin/remove-icons-from-users-desktops script in<br>K12LTSP version 6.  After the line<br><br>DEST="`basename \"$FILE\"`"<br><br>the rm commands should point to $DEST, which is the filename with the path stripped
<br>away.  However, the rm commands still reference $FILE, which is something like<br>/root/Desktop/Icon.desktop, where Icon is the name you gave to the icon.  But since<br>$FILE still contains the full path, in this case relative to root's home directory, the
<br>rm commands won't work because they'll try to delete /root/Desktop/Icon.desktop from<br>each users ~/Desktop directory.  Changing the rm commands to use $DEST instead of $FILE<br>fixes this.<br><br>Petre<br><br>
_______________________________________________<br>K12OSN mailing list<br><a href="mailto:K12OSN@redhat.com">K12OSN@redhat.com</a><br><a href="https://www.redhat.com/mailman/listinfo/k12osn">https://www.redhat.com/mailman/listinfo/k12osn
</a><br>For more info see <<a href="http://www.k12os.org">http://www.k12os.org</a>><br></blockquote></div><br>