Samba 3.0.23pre1 and recycle.so

Thomas Bork tombork at web.de
Tue May 23 21:36:35 GMT 2006


Volker Lendecke wrote:

> Attached find a completely untested patch that introduces
> the parameter "recycle:subdir_mode". I don't want to change
> the behaviour of the existing params, that's why I renamed
> it from your proposal.
> Does it do what you want?

Yes :)

The repository was created with 777 and the subdirs with 700 
(recycle:directory_mode = 0777 and recycle:subdir_mode = 0700):

deveis 1.2.2 # ls -alR /public/samba_recycle_bin
/public/samba_recycle_bin:
total 12
drwxrwxrwx   3 tb     users   4096 May 23 23:30 .
drwxrwxrwx  14 nobody nogroup 4096 May 23 23:30 ..
drwx------   3 tb     users   4096 May 23 23:30 tb

/public/samba_recycle_bin/tb:
total 12
drwx------  3 tb users 4096 May 23 23:30 .
drwxrwxrwx  3 tb users 4096 May 23 23:30 ..
drwx------  3 tb users 4096 May 23 23:30 _ordner1

/public/samba_recycle_bin/tb/_ordner1:
total 12
drwx------  3 tb users 4096 May 23 23:30 .
drwx------  3 tb users 4096 May 23 23:30 ..
drwx------  3 tb users 4096 May 23 23:30 _ordner2

/public/samba_recycle_bin/tb/_ordner1/_ordner2:
total 12
drwx------  3 tb users 4096 May 23 23:30 .
drwx------  3 tb users 4096 May 23 23:30 ..
drwx------  2 tb users 4096 May 23 23:30 _ordner3

/public/samba_recycle_bin/tb/_ordner1/_ordner2/_ordner3:
total 16
drwx------  2 tb users 4096 May 23 23:30 .
drwx------  3 tb users 4096 May 23 23:30 ..
-rwxrwxrwx  1 tb users   18 May 23 23:29 _test.txt



Thanks a lot!


der tom


More information about the samba-technical mailing list