I have to change write permissions to a folder and, may be, I need administrator authorization
So in applescript it's easy and I can do that just with a single command line.
do shell script "sudo chmod 777 " & MyFolder with administrator privileges
The system dialog appears and ask the password to the user and then do the "chmod" command
But the problem is:
How can I tell ApplleScript the name of MyFolder?
At first sight it seems NativeProcess is the right solution but it dont work.
The applescript starts correctly but I can't read arguments.
Now any other solution is a good solution, also your suggestions are appreciated.
Thanks again
Ivan