Post by pouda on Jan 24, 2009 16:31:45 GMT 7
(excuse me for my english but i'm french... ;D, if you are any question, just reply to this post...)
i've downloaded recycle bin module and i don't know if on your n2100 is work but in mine not...
i find a solution...and i'm working to make a moidule but...i'm looking for...
first install ssh module and activate it...in the ssh config menu, enable sssh access... the login is: root and the default password is: irresistible (you can change it by the command passwd in the root terminal)
connect you to your n2100 with an ssh client like the excellent
putty ...
after you must create a recycle directory like : /raid/recycle but this folder must be in your hard disk drive.
mkdir /raid/recycle
and edit the smb.conf in /raid/sys/smb.conf..
vi /raid/sys/smb.conf
(put
i for insert text
x for del a char
:q! for exit whitout saving
:wq! for save and exit
)
in this file you can find all your shares...
add ,at the end of a config share, this lines
save your smb.conf >>
esc
:wq!
and in the consol tape : reboot for restart the system
Now when you delete a file in this directory by error, samba move the file in this directory... an d you can retrieve it easily...
for more facilities...you can share share the recycle repository and name it : recycle bin....
##############
i've downloaded recycle bin module and i don't know if on your n2100 is work but in mine not...
i find a solution...and i'm working to make a moidule but...i'm looking for...
first install ssh module and activate it...in the ssh config menu, enable sssh access... the login is: root and the default password is: irresistible (you can change it by the command passwd in the root terminal)
connect you to your n2100 with an ssh client like the excellent
putty ...
after you must create a recycle directory like : /raid/recycle but this folder must be in your hard disk drive.
mkdir /raid/recycle
and edit the smb.conf in /raid/sys/smb.conf..
vi /raid/sys/smb.conf
(put
i for insert text
x for del a char
:q! for exit whitout saving
:wq! for save and exit
)
in this file you can find all your shares...
add ,at the end of a config share, this lines
vfs object = recycle:repository recycle:keeptree recycle:versions recycle:touch recycle:exclude recycle:exclude_dir recycle:maxsize recycle:noversions
#your recycle repository
recycle:repository=/raid/recycle
recycle:keeptree=True
recycle:versions=no
recycle:touch=no
recycle:exclude=*.tmp|*.temp|*.obj|~\$*
recycle:exclude_dir=/tmp|/temp|/cache
# maximum size of the recycle bin in GB
recycle:maxsize=0
recycle:noversions=*.xls|*.doc|*.ppt|*.jpg|*.mov|*.JPG
save your smb.conf >>
esc
:wq!
and in the consol tape : reboot for restart the system
Now when you delete a file in this directory by error, samba move the file in this directory... an d you can retrieve it easily...
##############
for more facilities...you can share share the recycle repository and name it : recycle bin....