Samba, VFS and recycle.conf problem

Tim Wunder tim
Mon May 17 11:47:51 PDT 2004


Hi,
I have recycle bin functionality pretty much working via VFS and samba 
2.2.8a (RHL 7.0), but am running up against a minor problem.
My users have a cache directory (Netscape 4.7x) in their home shares 
that I want to exclude from the recycle bin. The problem is that the 
directory has a space in its name,
"Program Files/Netscape/Users/<profilename>/cache". I cannot seem to get 
samba to exclude anything under the Program Files directory.
I've tried including the following as part of the 'excludedir =' line in 
the recycle.conf file:
/Program Files
"/Program Files"
/Program\ Files
/Program%20Files
/Program*Files

Unfortunately, none of those work. I can change the cache directory to 
$HOME/nscache and get the functionality I want using 'exludedir = 
/nscache', but that's somewhat problematic (I'd have to change every 
user's cache directory manually).

Is it possible to specify a Directory with a space in its name in the 
excludedir line of a recycle.conf file? If so, how?

Thanks,
Tim



More information about the Linux-users mailing list