NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
JMehring
Sep 29, 2013Apprentice
Can 'Recycle Bin' be enabled for CIFS and OS 6.1.2 on a 314?
The older 4.x version of the OS allowed a Recycle Bin when using CIFS. Is this possible on the new OS 6.1.2?
I noticed a recycle.conf file in '/data/._share/media' containing:
I noticed a recycle.conf file in '/data/._share/media' containing:
25000,0
22 Replies
Replies have been turned off for this discussion
- JMehringApprenticeI would assume so :)
- prix57Guideok, dumb question.
how do you access the config file on a RN 104 so you can apply the recycle bin config file? - StephenBGuru - Experienced UserSelect system, then the settings tab. The top section lists services, ssh is one of them. You need to enable that. Then use putty (or equivalent) to access the NAS. Logon is root, the password is your NAS admin password.
An alternative is to download the config settings (zip file) to your PC, make the change in the zip file, and then upload the new configuration. The config backup/restore is also on the settings tab.
Either way the files need to use the linux formatting convention, which is not compatible with a PC. One way to preserve the formatting is to use a freeware editor called notepad++ (http://notepad-plus-plus.org/). DON'T use notepad or wordpad on your PC - it is possible to brick your NAS if you use the windows format. - prix57Guide@ StephenB thank you so much for the info!
- prix57GuideHow do I actually create this config file on the NAS?
Do I just download the config settings (zip file) to my PC, create a new sub folder under /etc/frontview/samba/ called "addons" and in there create new config file "addons.conf"?
Wouldn't there be an issue creating the folder and files via windows?
How do I actually create the config file via command line?
When I connected to my RN104 via putty I dont see the samba subfolder under /etc/frontview. - JMehringApprenticeUse something like putty if coming from Windows to ssh into your NAS. If you need help on how to enable ssh I think there are a few threads on that.
As far as I know, the samba directory should be already present, even in the last version located at:
'/etc/frontview/samba'. If the 'addons' directory does not exist, create it.
cd /etc/frontview/samba
ls -l
# If addons directory does not exist, create it
mkdir addons
cd addons
# Create/edit the addons.conf file and add configuation information as incicated in the earlier post
vi addons.conf
If you need help using 'vi', search google; here is one of the links I found: http://www.howtoforge.com/faq/12_15_en.html
I have succussfully been using this technique with 6.1.2 to the latest 6.1.8
EDIT:
You stated that the '/etc/frontview/samba' directory does not exist for you. I am thinking it should be there since it hold many of the samba configuration files like:
cd /etc/frontview/samba
ls -l
total 36
drwxr-xr-x 1 admin admin 22 Mar 31 23:36 addons
-rw-r--r-- 1 admin admin 0 Jun 5 13:19 dfs.conf
-rw------- 1 admin admin 5585 Jun 5 13:19 Shares.conf
-rw-r--r-- 1 admin admin 303 Jun 5 13:16 Shares.conf.admin
-rw-r--r-- 1 115 guest 14 Jun 1 2013 smb.conf.CIFSFS
-rw-r--r-- 1 115 guest 599 Jun 1 2013 smb.conf.defaults
-rw-r--r-- 1 115 guest 32 Jun 1 2013 smb.conf.OS2
-rw-r--r-- 1 115 guest 84 Jun 1 2013 smb.conf.OSX
-rw-r--r-- 1 115 guest 14 Jun 1 2013 smb.conf.Samba
-rw-r--r-- 1 115 guest 0 Jun 1 2013 smb.conf.UNKNOWN
-rw-r--r-- 1 115 guest 0 Jun 1 2013 smb.conf.Vista
-rw-r--r-- 1 115 guest 0 Jun 1 2013 smb.conf.Win2K
-rw-r--r-- 1 115 guest 0 Jun 1 2013 smb.conf.Win2K3
-rw-r--r-- 1 115 guest 18 Jun 1 2013 smb.conf.Win95
-rw-r--r-- 1 115 guest 0 Jun 1 2013 smb.conf.WinNT
-rw-r--r-- 1 115 guest 0 Jun 1 2013 smb.conf.WinXP
-rw-r--r-- 1 115 guest 0 Jun 1 2013 smb.conf.WinXP64 - prix57GuideYes JMehring you are right I did find the samba directory in "/etc/frontview/samba".
I went ahead created addons.conf file and edited it via VI to add the recycle bin config.
I tested it and the recycle bin is there now and works! Thank you so much for all your help!
Just one question though.
When you delete items from the NAS, in order for them to go to the recycle bin can they only be deleted via the readynas web interface? When I delete items via windows explorer on the NAS it always asks to permanently delete (thus not going to the recycle bin), but when I delete the files via the readynas web interface when browsing to the shares the recycle bin works.
Is there a way to have files deleted via windows on the NAS go to the recycle bin setup? - JMehringApprenticeDid you try rebooting windows after applying the recycle bin configuration? It should work no matter what OS you are using since it is the samba/cifs share doing the work.
Personally I can not test this out since I do not have windows - prix57GuideI stand corrected it does work via windows as well.
- SandsharkSensei - Experienced UserActually, Windows is ignorant of the NAS recycle bin, so even things deleted where you tell it not to go to recycle bin will go there on the NAS. You also cannot "empty the recycle bin" in standard Windows fashion. You have to go into the bin and delete the files. Note that also applies to things deleted by your virus checker, which can be a good thing for false virus ID's but bad for real infected files.
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!