I am trying to move folders older than 30 days to another folder on a smb mounted server. It works fine when running this script locally, but gives me error when choosing folders on the smb server. I can manually create and move the folders in Finder, so it shouldn't be a permission thing. Does anybody know why it doesn't work?