Target folder permissions NOT inheriting with MOVED files

windnsalsa

New Member
Reaction score
0
Hi, it has been exhausting researching and experimenting with permission settings to ultimately have files copied or moved to a "shared" folder to inherit permissions of their target parent folder. Below is an environment in my research.


Mac Pro [10.10.1 Yosemite] with a shared folder. PC [non Mac] as well as Mac clients using the same workgroup name accessing the shared folder. I have used the chmod ACL settings below. The permission inheritance works on NEWLY CREATED folders/files or COPIED [from locally or via a networked computer] folders/files. But, the inheritance does NOT work on folders/files that have been MOVED from same Mac or from another computer over the same network. Rather, these MOVED folders/files retain the permissions of their parent folder from where they were moved.


chmod -R +a "group:[examplegroup] allow list,add_file,search,add_subdirectory,delete_child,readattr,writeattr,readextat tr,writeextattr,readsecurity,file_inherit,directory_inherit" /path/to/folder


There will be times where folders/files will be MOVED rather than COPIED from various users and we want these files to also inherit permissions set on the target Shared folder. We don't want to manually configure the read+write permissions and "Apply to Enclose items" within the Get Info window.


This is a strange behavior when it comes to file sharing where read + write permissions are assumed within this group. I have tested this scenario on Windows 8 and 10 PCs and the shared folders there resulted in the desired permission inheritance as described above. What is Microsoft doing that Apple is not doing in this case?


Other things I have tried:

-Tinkertool System 2 application which resulted in the same undesired behavior.

-I have tested with a shared folder on a USB connected flash drive to represent an external hard drive and permissions do inherit as desired. But, we already have an external USB drive acting as a Time Machine backup. So, I don't want to connect 2 external drives in this scenario.


Possible solutions/workaround:

-I've heard that my desired permission inheritance might work on an OS X server version. I have not confirmed this to work. But I have not tried this. I don't want to have to upgrade or install a server OS on this Mac Pro just to have permissions to work. Also, the Mac Pro is being used as a desktop with 3rd party apps which I don't know would be restricted being used on OS X Server platform.

-NAS as a dedicated file server which might offer the desired inheritable permissions. I have not confirmed this. This would be an additional cost.


But the least costly and best solution for us would hopefully be to have the desired permissions inherited on the Mac Pro. We originally bought the Mac Pro to use it for day to day work as well as to serve as a file server for a very small office. Is there a way to get the desired inheritable permissions on moved folders/files? I have done extensive googling and most of the workarounds have been using the ACL chmod commands, but none of them addressed that it works on moved items. Please help.
 
What kind of ACL's are needed? Looking at what you posted it looks like there there is no real ACL's. They just need to access the files.

How are the files being moved? In reality if someone drags and drops the files are being copied not moved. If no access granularity is needed one thing I do is Command + I on the folder. Select everyone, read and write, apply to enclosed items. But I have found problems still can happen. Such as when someone downloads pictures from a camera to the share point.

Another thing you could do is hang a USB drive off of the Mac in question to use for sharing. Format as HFS+ and then you can Command + I and tell it to ignore permissions. Then share it out like anything else.
 
Back
Top