Disable Public Share

Status: Unplanned
by on ‎04-15-2011 06:38 AM

On MyBook Live the default share "Public" has unrestricted R/W and can't be disabled.

I would like to have the option of  turning off the default share "Public".

Status: Unplanned
The Public share is just that Public. You can always create other shares to restrict access.
Comments
by ‎04-21-2011 08:32 AM - edited ‎04-21-2011 08:34 AM

Trivial if you've enabled ssh. The shares are defined in a simple text file following the same syntax that samba normally does. If you want to disable the public share without learning anything about linux,

 

1/     type nano /etc/samba/overall_share

2/     type a # at the start of every line from ## BEGIN ## sharename = Public # to ## END ##

3/     ctrl + x to exit, choose y to save changes

4/     type  exit

 

Mine now looks like the following.

 

MyBookLive:~# cat /etc/samba/overall_share
## BEGIN ## sharename = Public #
#[Public]
# path = /DataVolume/shares/Public
# comment = Public Share
# public = yes
# browseable = yes
# writable = yes
# guest ok = yes
# map read only = no
## END ##
## BEGIN ## sharename = Data #
[Data]
path = /DataVolume/Data/
comment =
public = yes
browseable = yes
writable = no
guest ok = yes
map read only = no
## END ##
by on ‎04-25-2011 11:53 AM

Thanks for the tip.  

I had to look up how to enable ssh.  

Nothing more fun than hidden features. :-D

 

I'd still like to see the option to disable Public in the UI. 

 

 

by on ‎05-11-2011 03:04 AM

Dis this also work for FTP access?

by on ‎08-20-2011 05:14 PM

Does that solution not break the Dashboard UI?  All I've done is changed `

writable = yes

to

writable = no



by on ‎10-06-2011 08:14 AM
Status changed to: New
 
by Staff on ‎02-17-2012 01:18 PM
Status changed to: Unplanned
The Public share is just that Public. You can always create other shares to restrict access.
Announcements
Please click on News and Announcements for the latest announcements.

For a list of our Idea Exchanges, please click here.

Idea Statuses explained here.
Idea Statuses
Top Kudoed Authors
User Kudos Count
7
2
1
1
Forums | Ideas | News and Announcements | Register | Sign in | Help | Forum Guidelines
Copyright © 2001 - 2014 Western Digital Technologies, Inc. All rights reserved. | Trademarks | Privacy | Community Terms of Service | Site Terms of Use | Copyright | Contact WD