I've been struggling for a few days now with a perplexing "Access Denied" error when trying to create files in a Samba shared folder between my Windows Server 2016 VM and OpenSUSE Tumbleweed in VMware Workstation Pro 17. Although I can access the folder without problems, I'm completely unable to create or modify files from either Windows or even from Linux accessing the same shared resource. I've attempted a number of different solutions, including setting up explicit permissions in Samba, adjusting file system permissions on OpenSUSE, and checking my firewall settings. I've also made sure to clear my credentials in Windows and have tested both Bridged and NAT network modes for my VMs. My Samba configuration seems alright, but I still get an error saying that policies are blocking guest access. Any insights on what I might be missing in the Samba setup, how to interpret the lack of error logs while still facing denied access, or whether this might be related to VMware or the filesystem permissions on OpenSUSE would be greatly appreciated!
1 Answer
It sounds like you're facing issues with permissions here. The error you're seeing often happens when guest access is blocked. Since you can access the folder, make sure that your Samba config is set up to allow guests if needed. Also, remember that Linux file permissions can get tricky; the user needs write permissions on the folder itself to create new files. Ensure that the user defined in your Samba config actually has the necessary permissions on the Linux side as well. If you haven't yet, check your 'smb.conf' for improper settings as well. Good luck!
Just a heads up, you might want to check that the directory's owner is set up correctly in OpenSUSE. Sometimes, the Samba user and Linux user being different can cause issues. Also, if you’re prompted for a username and password, it suggests that there's a permissions issue preventing guest access.