Permissions issue for new files created by Windows PC in shared directory on Mac OS
Hello,
I shared a directory on Mac OS (Catalina) running on Mac Mini (not server) and though I am able to access files inside it via Windows PC. But the issue is whenever I create a file in the shared directory via Windows PC, it only generates the following permission and as a result users on Mac OS are unable to access it.
-rw-------+
I read a post somewhere that I need to enable ACL permissions for SMB shares, I ran the following command but the issue still exists.
sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.smb.server AclsEnabled -bool YES
I further read that I also need to setup inheritance permissions on the parent folder. I ran the following command but issue still exists. Here the group is "admin" and folder path is XAMPP directory.
sudo chmod -R +a "group:admin:allow readattr,writeattr,readextattr,writeextattr,readsecurity,list,search,add_file,add_subdirectory,delete_child,file_inherit,directory_inherit" /Applications/XAMPP/xamppfiles/htdocs/
How can I make it work?
Please Help :(
PS: I've installed XAMPP on Mac Mini (not server) and am trying to use it as a web server. But with this permission issue I am unable to use it :(