files share with Mac (Catalina) show up with <no access> permissions.

hello,

Using shared folder, and it’s somewhat working , in that my scanner and another PC on the network can drop files into the folder. The problem is the file’s permissions wind up being  Nobody <read/write> and everyone <no access>.


This makes it problematic for me to open/use the files, as I have to manually change the permissions every time.


I have tried setting the privileges of the shared folder to r/w, then choosing apply to enclosed items, but that only affects files currently existing - not any files added after. 


Also in systemPreferences>sharing, in File Sharing, I’ve set administrator, my id and everyone to be R/W, and also right-clicked to app permissions to enclosed items.


Ideas?

MacBook

Posted on Apr 22, 2020 2:12 PM

Reply

Similar questions

3 replies

Apr 23, 2020 10:44 AM in response to dan.wills

Should the client version be a file server? Maybe it will as they are cutting those features out of the Server app, but for now, you have to configure the file server functions manually. File sharing is just making the directories available to specific users. You can share files, but the implication is the other users will make a copy of their own.

There are some apps to put those ACL creation strings behind a GUI, but I prefer to know what it is doing if I'm managing a file server.

Apr 22, 2020 5:16 PM in response to dan.wills

By default, files are create with the user who created it as the owner, the group of the folder that it is in, and others (everyone), no access. Everyone > No access doesn't mean all users are denied access. It is actually the POSIX "others" permission. Others makes perfect sense, everyone makes no sense.


If you want to have multiple users edit files created by others (scanner, sharing users), you need to set up an access control list (ACL) to allow that. File Sharing does not equal File Server.


You need to create a group in Users & Groups (same as creating a user, just change to group), and add all your users into that group. You'll need to figure out what user you scanner is using (maybe nobody which might be difficult).

Here is the ACL and command to add to the folder, then apply to enclosed.

chmod -R +a "group:<groupName> allow list,add_file,search,add_subdirectory,delete_child,readattr,writeattr,readextattr,writeextattr,readsecurity,file_inherit,directory_inherit" "Path/to/directory/"

Replace <groupName> with your group name and "Path/to/directory/" with your desired directory, /Users/Shared/

I would create a folder inside of Shared to apply this to, but I don't think I have any good reason.


Once you edit the parts in a text editor, copy and paste it into Terminal and hit return.

The, Get Info on the folder and select Apply to Enclosed from the gear menu. If you don't already have subfolders, you don't need to apply to enclosed. Any new folders will get the ACL inherited.

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.

files share with Mac (Catalina) show up with <no access> permissions.

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