Delete Network recycle bin folder

Discussion on setting up QNAP NAS products.

Delete Network recycle bin folder

Postby sorhol » Thu Sep 13, 2012 11:10 am

I earlier had a single disk volume which I have removed. Now I want to remove the "Network recycle bin" folder and I understand this can only be done by editing the "smb.conf" file.

Can someone please confirm I have to delete the whole section shown below in the "smb.conf" file?
[Network Recycle Bin 7]
comment = [Single Disk Volume: Drive 7]
path = /share/HDG_DATA/Network Recycle Bin
browsable = yes
oplocks = yes
ftp write only = no
public = yes
invalid users = "guest"
read list = @"everyone"
write list = "admin"
valid users = "root",@"everyone","admin"
inherit permissions = yes

Thanks in advance,
TS809U-RP, TS119P II, TS209P II, TS109 II, Synology DS112+
sorhol
Getting the hang of things
 
Posts: 53
Joined: Sun Jul 22, 2012 2:33 pm
NAS Model: TS-809 Pro

Re: Delete Network recycle bin folder

Postby pwilson » Thu Sep 13, 2012 11:44 am

sorhol wrote:I earlier had a single disk volume which I have removed. Now I want to remove the "Network recycle bin" folder and I understand this can only be done by editing the "smb.conf" file.

Can someone please confirm I have to delete the whole section shown below in the "smb.conf" file?
[Network Recycle Bin 7]
comment = [Single Disk Volume: Drive 7]
path = /share/HDG_DATA/Network Recycle Bin
browsable = yes
oplocks = yes
ftp write only = no
public = yes
invalid users = "guest"
read list = @"everyone"
write list = "admin"
valid users = "root",@"everyone","admin"
inherit permissions = yes

Thanks in advance,


Yes you are absolutely correct. If you are nervous about it, you could simply prepend each line with a "#" symbol, which will effectively "comment-out" (ie disable) the lines, without actually deleting them. This would make it easy to reinstate later if you felt so inclined.

Code: Select all
#### sorhol - 2012-09-12 - Disabled Network Recycle Bin 7 as drive no longer exists.  #####
#[Network Recycle Bin 7]
#comment = [Single Disk Volume: Drive 7]
#path = /share/HDG_DATA/Network Recycle Bin
#browsable = yes
#oplocks = yes
#ftp write only = no
#public = yes
#invalid users = "guest"
#read list = @"everyone"
#write list = "admin"
#valid users = "root",@"everyone","admin"
#inherit permissions = yes


Patrick.

Patrick M. Wilson
Victoria, BC Canada
QNAP TS-419P+ w/ 4 * Seagate Barracuda 2TB 5900rpm (RAID5) - FW: 3.8.1 Build 20121205
Forums: View My Profile - Search My Posts - Send Private Message - View My Photo - Top Community Forum Posters
QNAP: Turbo NAS User Manual - QNAP Wiki - QNAP Tutorials - QNAP FAQs - HowTos - QNAP Video Library
User avatar
pwilson
Moderator
 
Posts: 3694
Joined: Fri Mar 06, 2009 11:20 am
Location: Victoria, BC, Canada
NAS Model: TS-419P+

Re: Delete Network recycle bin folder

Postby m4rk » Thu Sep 13, 2012 7:36 pm

Thanks, that helps me too with a similar question in another thread.
m4rk
Starting out
 
Posts: 16
Joined: Thu Nov 17, 2011 9:23 pm
NAS Model: TS-119P+

Re: Delete Network recycle bin folder

Postby sorhol » Thu Sep 13, 2012 8:21 pm

Thank you very much Patrick. Will do the update once I get home from work
TS809U-RP, TS119P II, TS209P II, TS109 II, Synology DS112+
sorhol
Getting the hang of things
 
Posts: 53
Joined: Sun Jul 22, 2012 2:33 pm
NAS Model: TS-809 Pro

Re: Delete Network recycle bin folder

Postby sorhol » Fri Sep 14, 2012 3:02 am

I can confirm this worked just as expected.

Thx
TS809U-RP, TS119P II, TS209P II, TS109 II, Synology DS112+
sorhol
Getting the hang of things
 
Posts: 53
Joined: Sun Jul 22, 2012 2:33 pm
NAS Model: TS-809 Pro


Return to Turbo Station Installation & Setup

Who is online

Users browsing this forum: Crusader2001 and 3 guests