23.1.10

WD MyBook Hacks - Remove Default Shares

The default shares - [Download] and [Public] - always annoyed me quite a lot, so I figured out how to remove them, since simply deleting them obviously won't work:
  1. stop samba daemon: #~: /etc/init.d/S90smbd stop
  2. edit /usr/private/user_smb_conf/.overall_share:  remove sections [Download] and [Public] (should be first two sections). Note: Here you can also check the other shares manually.
  3. start samba daemon: #~: /etc/init.d/S90smbd start
Well, that's all. It is also possible to make a backup copy of .overall_share so that it can be restored if necessary since we did not delete the actual directories.
Update: the web interface seems to overwrite .overall_share adding the removed sections always if a new user is added or user credentials are changed. The obvious yet inconvenient solution is to do this hack every time it is necessary, while the proper solution would be to alter the corresponding part of the web interface. This I haven't figured out yet, but I will post it if I succeed.

2 comments:

  1. You might face technical errors while you register amazon primevideo.com/mytv, visit the given link and activate amazon prime video in your device and enjoy watching your favorite web series.

    ReplyDelete