I looked for a solution to my problem but didn’t found any.
I would like to change access privilege of a folder that resides on a shared point on our Xserve. I want to do this via an applescript lauched from my computer. I have administrator privileges.
I read posts who suggest to use shell applescript but dont know the right syntax to use.
You problem requires several steps. If you research each step using the search for the forums you should find your answers.
mount the remote drive. You can search for how to do this.
the unix commands chown or chmod should help you change the ownership and access privileges to what you want.
to run the unix commands from applescript you use the “do shell script” command. Search to see exactly how to use it.
if your unix command needs sudo (i.e. administrator privileges) to run put “with administrator privileges” after the do shell script command and leave out sudo from your applescript command… you will be prompted for an admin password.