MacOS – Dropping files on a network share results in incorrect permissions

macosNetworkpermission

I've got 2 Macs running OS 10.6.8. I've configured one to automatically drop certain files in a folder on the other Mac. I've used an Automator script to do this, it logs in using a user name [copier] created for this purpose, and then copies the files.
This used to work reasonably well. Recently however the files are copied with the wrong permissions. The copy has read&write permissions for user [copier] and 'no access' for everyone else. It should have read&write access for everyone. The folder permissions do have read&write access for everyone, so that's not it.
How can I set the permissions of files that get copied into this folder?

Best Answer

I'd recommend checking to see what the permissions on the source files are, to confirm that they are not set restrictively (i.e., no access for others.) It's possible that these permissions are being replicated on the share by the automator script.

If you need the enclosing folder to have more restrictive permissions, you can likely keep that setup (and use Automator to change permissions on the files before they're copied.) Although I'm not sure that Automator can modify file permissions, you can definitely use it to run a shell script (chmod 644 filename.txt?) on the files before they're copied to the server.