I have a 10.9 server with file sharing enabled. One of the users decided to change the permissions on the folder and was doing some "spring cleaning" now all of my shares are not visible from the workstations except one "Home Folders" This is the only share that has staff(primary group) where as the others and new shares have "administrators (primary group)". How can I change this as the users that are not administrators cannot see any other shares when browsing to the server.
MacOS – OSX Server 10.9 File Sharing – not working properly
filemacosserver.appsharinguser-account
Related Question
- MacOS – OSX Server File Sharing – Allow users to change password
- MacOS – User management for an AFP share
- MacOS – Windows shares keep dropping from OS X
- MacOS – Mavericks Server /Work group manager issues
- Cannot add permissions to a file share in File Sharing Preferences
- IOS – File sharing between OS X server and iOS device
- How to get list of users connected to file sharing
Best Answer
If it's the group ownerships, from the command line you could do:
for each of the shares, if the other non-admin users you mentioned are in the
staff
group. Otherwise, replacestaff
with the correct group. It's possible you may not want all the directories underneath the shared directory shared, so you'd have to go in and alter the permissions/ownership for each of them too, or remove the-R
and change folders individually.See some examples of
chown
here and an explanation of the command I've given here.I'd also note down what the current ownership and permissions are using
ls -l
, so that you can change them back if this doesn't work.(obviously, replace
yourusername
with your username, and/Path/To/SharedFolder
with the path to the shared folder. I say "obviously" but I'm writing this because, according to my experience, it's not always obvious!:)