I have a shared directory with the Guest account having Read & execute, Read, List contents permissions. I can access files over the network (e.g. on my tablet or laptop) without issue. However, my downloads go into a temp directory and when completed are moved to my shared directory. The files are then visible over the network but cannot be accessed (read) until I manually add the Guest user permissions on the file or re-apply the permissions on the top level.
If I understand - Why are file permissions retained when moving files within the same volume? - the issue must be that my temp directory is applying permissions to the files, and these permissions are being copied to the shared directory rather than inheriting.
How can I remove all special permissions from the temp directory, or otherwise - how can I force files copied into a shared directory to inherit the permissions?
E:\>icacls _temp
_temp BUILTIN\Administrators:(I)(F)
BUILTIN\Administrators:(I)(OI)(CI)(IO)(F)
NT AUTHORITY\SYSTEM:(I)(F)
NT AUTHORITY\SYSTEM:(I)(OI)(CI)(IO)(F)
NT AUTHORITY\Authenticated Users:(I)(M)
NT AUTHORITY\Authenticated Users:(I)(OI)(CI)(IO)(M)
BUILTIN\Users:(I)(RX)
BUILTIN\Users:(I)(OI)(CI)(IO)(GR,GE)