fix chmod uploads command