Shares from Windows
Liam Proven
lproven at gmail.com
Mon Oct 22 13:16:05 UTC 2018
On Mon, 22 Oct 2018 at 13:17, Grizzly via ubuntu-users
<ubuntu-users at lists.ubuntu.com> wrote:
>
> 22 October 2018 at 12:10, Liam Proven wrote:
> Re: Shares from Windows (at least in part)
>
> >Comments re-ordered for clarity...
>
> >On Mon, 22 Oct 2018 at 08:22, Grizzly via ubuntu-users
> ><ubuntu-users at lists.ubuntu.com> wrote:
>
> >> Win to Win was troublesome
> >[...]
>
> >I think that this is *because* you did this:
>
> Win-to-Win shares were always troublesome, even before I found out about the
> (ever growing) list of "Hidden" shares that M$ set up by default, it got worse
> IMO with each new release of Windows,
Troublesome why or how?
They are part of the infrastructure of Windows NT and used in
Windows-to-Windows comms, domains, management etc. They've been there
ever since NT first appeared; I deployed NT 3.1 in production, the
first ever release.
Leave them alone! If you remove them, yes, things will break.
They're only available to administrators, and your normal login
shouldn't be one, meaning that they should be inaccessible anyway.
> BUT my main point was that the hidden share(s) I had made were visable as soon
> as I had entered smb:\\HostName, which is not a fault with Ubuntu but a
> security hole on Windows end?, I have not (as yet) tested if this holds true
> for later Windows (8.1 & 10) but does on Win 7 & I expect XP (not got Vista
> anywhere so ...)
There are a number of conventions in Windows just as there are in Unix.
In Unix, for example, due to an intentional code shortcut -- basically
a bug -- very early on, files whose names began with a dot were
invisible.
https://plus.google.com/+RobPikeTheHuman/posts/R58WgWwN9jp
https://linux-audit.com/linux-history-how-dot-files-became-hidden-files/
This proved both useful and problematic but it's remained and now it's
permanent.
Similarly, in Windows, a share whose name ends in a dollar sign won't be listed.
https://stackoverflow.com/questions/448371/why-are-these-folders-share-names-appended-with-dollar-signs
They are also meant to be admin-only accessible.
Linux does not respect this and shows them. The same as Linux shows
hidden files on Windows filesystems, lets you delete R/O files on an
NTFS, and so on. It's useful.
--
Liam Proven - Profile: https://about.me/liamproven
Email: lproven at cix.co.uk - Google Mail/Hangouts/Plus: lproven at gmail.com
Twitter/Facebook/Flickr: lproven - Skype/LinkedIn: liamproven
UK: +44 7939-087884 - ČR (+ WhatsApp/Telegram/Signal): +420 702 829 053
More information about the ubuntu-users
mailing list