Hi, I just discovered what looks like a massive “oh shit” situation…
I’m dual booting Manajro and Win10, auto-mounting the NTFS Windows partitions. When connected to my work LAN, I see an entry "media on " in another machine’s Windows Explorer. Clicking on that, I end up in Manjaro’s
/media, having read and write access to both mounted Windows partitions without any security hurdles.
etc/fstab that auto-mounts the Windows partitions:
# <file system> <mount point> <type> <options> <dump> <pass> UUID=C8E6-56EF /boot/efi vfat umask=0077 0 2 UUID=18e86a2a-299b-4c2d-81b4-cb540c817a68 swap swap defaults,noatime 0 2 UUID=2ac777f8-ef41-4109-9299-ac528f4969bf / ext4 defaults,noatime 0 1 UUID=f1add496-7fdd-42ee-beef-d222f88d0ab9 /home ext4 defaults,noatime 0 2 UUID=8E86ECBB86ECA545 /media/data/winsys ntfs-3g nofail,noatime,rw,user,uid=1000,gid=1000,dmask=022,fmask=133,windows_names,auto 0 0 UUID=8E50B7A150B78F09 /media/data/windata ntfs-3g nofail,noatime,rw,user,uid=1000,gid=1000,dmask=022,fmask=133,windows_names,auto 0 0
I could use some help finding out how to turn off sharing of my
/media directory completely, couldn’t find anything in terms of that here on the forums.
PS: sharing was never turned on, so I don’t quite understand why or how
/media got network shared in the first place.
Thanks in advance!