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 :(


Posted on Nov 10, 2019 10:20 PM

Reply

Similar questions

2 replies

Nov 13, 2019 11:41 AM in response to vivmacos

My sysadmin background urges me to ask: exactly what is connecting with what? On the Mac side we now know you have Catalina and can suppose it incorporates the latest release 10.15.1, running on a Mac Mini. For completeness sake, wired or Wi-Fi between it and the Windows PC? On the PC side, what Windows version on what hardware? There are subtle but vexing differences in SMB from the various workstation and server versions out there.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Permissions issue for new files created by Windows PC in shared directory on Mac OS

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.