Subject: My solution: Trash Can Folder
From: Henning Jebsen (hjebsen@hbv.de)
Date: Thu May 31 2001 - 08:26:35 EDT
Hi Folks
Lots of time I spent to solve those problems with the Trash Folder.
Like it
seems to me ;-) I found a solution for existing Trash Folders.
The Folder should not be owned by any of its users. And the Folder
should have rwx to the group. Here is my script for existing
Trash folders. (Any content will be removed!)
if test -d "$verz"/Network\ Trash\ Folder/;then
echo "#"
echo "# Korrekturen des Volumes:"
echo "# Trash Folder dieses Volumes"
echo "#"
echo "chmod o-rwx $verz/Network\ Trash\ Folder/ -R"
echo "chgrp trashusers $verz/Network\ Trash\ Folder/ -R"
echo "chown nobody $verz/Network\ Trash\ Folder/"
echo "chmod g+rwx $verz/Network\ Trash\ Folder/"
echo "rm -rf $verz/Network\ Trash\ Folder/Tra*"
fi
Any MAC-User has to be member of trashusers.
New created trashfolders will be created with unsufficient rights.
They need to be "converted" by this script.
The client only gets affected after it *remounts* the complete volume.
But there is no need to restart afpd or netatalk completely.
-- mailto: hjebsen@hbv.de (Henning Jebsen) org: Heinrich Bauer Verlag phone: +49-40-3019-5525
This archive was generated by hypermail 2b28 : Sun Oct 14 2001 - 03:04:41 EDT