comcastuser |
03-29-2016 06:20 AM |
[Centos7] Samba update screws up my system? Can no longer share the root directory.
Samba used to allow me to share the root (/) directory of a given machine so I could alter (and share across the network) system configuration and /usr/share etc. files (Audacious skins, for instance) remotely without having to ssh in and do annoying extra steps.
Then, suddenly after a yum update, I can see the / directory when I connect to the host machine's share, but I cannot see anything below that, like /usr, etc (much less usr share): I get permission denied.
In investigating I changed my share from / to /home/ username and when I created a directory there via the remote machine it was set to owner 'root' as it should be. So my remote machine is accessing the system as root, but even so it is being locked out of root's subdirectories... even though it is viewing the system with the id of root.
When I set up an entirely brand new computer, the problem persisted as soon as I did 'yum update'. Its smb.conf file, which used to work flawlessly for me, is this: http://pastebin.com/fRvTnfpP
This exact issue also now happens when I set up NFS. I suspect this was a 'nanny' change by the authors who felt that we admins, even at home, cannot be trusted to know how to manage our systems.
This is all on a home network. 'Remote machine' refers to a peer on the same LAN. If anyone actually got into this network they would be inside my house and probably stealing my PCs - ergo, "good game". I don't need to be nanny'd by Samba security. Is there a way to circumvent this?
|