I know that i can set permissions using:
do shell script “chmod 000 /Users/user/Desktop/test”
but how can i read to variable what is current permission of file?
I know that i can set permissions using:
do shell script “chmod 000 /Users/user/Desktop/test”
but how can i read to variable what is current permission of file?
The Finder ‘knows’:
tell application "Finder" to set p to {everyones privileges, group privileges, owner privileges} of (choose file)
--> {read only, read only, read write} often