-
All replies
-
Helpful answers
-
Jun 12, 2015 3:51 AM in response to Rishi TDby hichamfromfrance,Hi there,
Sorry, I don't have the solution but I have the same problem so I keep following your question.
The strange thing is that for me it happen also with the finder, often when one user works on a file on the server, and save it...the file keep the permission and right of the user and not of the server.
I don't know if it's normal or not but it's a big problem as often the other users can't work any more on the file. -
-
Jun 15, 2015 1:33 AM in response to Michael Diehrby hichamfromfrance,Hi Michael,
That describe exactly the problem I have.
It will try the solution suggested
Thank you
H.
-
by Michael Diehr,Jun 15, 2015 7:23 AM in response to hichamfromfrance
Michael Diehr
Jun 15, 2015 7:23 AM
in response to hichamfromfrance
Level 1 (75 points)
Servers EnterpriseIf that trick doesn't help, you may want to check your posix permissions. I was having a situation where users could save their files, but then other users couldn't read them, even though the ACLs were set properly to have them all in the same group.
I realized sometime later that my POSIX permissions were not allowing Group Read/Write, e.g. they were 700 rather than 770.
I was able to fix it with a few terminal commands.
# In the examples below, replace "MySharedVolume/MySharedFolder" with the actual path to your share
# and replace "myGroupName" below with the short name of your file sharing group)
# Note: if you aren't sure about your ACLs, you can run Step 1 and Step 2 to reset the ACLs:
# if not, then start at Step 3
# Step 1: recursively remove all ACLs from the entire folder tree:
sudo chmod -R -N /Volumes/MySharedVolume/MySharedFolder/
# Step 2: Set the group to have full permissions:
sudo chmod -R +a "myGroupName allow list,add_file,search,add_subdirectory,delete_child,readattr,writeattr,readextatt r,writeextattr,readsecurity,writesecurity,chown,file_inherit,directory_inherit" /Volumes/MySharedVolume/MySharedFolder/
# Now, fix the POSIX permissions:
# Step 3: First, make sure the Group is set to our group
sudo chgrp -R myGroupName /Volumes/MySharedVolume/MySharedFolder/
# Step 4: Fix the posix permissions to make sure Group has full access
sudo chmod -R 770 /Volumes/MySharedVolume/MySharedFolder/
After doing this, my group members now have full read/write permissions to all files/folders in the share