I have this little script simple script that is not working. It is a folder script that changes the permission of any files added to it. It is a Pulbic folder.
on adding folder items to this_folder after receiving added_items tell application "Finder" set fold_name to the name of this_folder try repeat with i from 1 to number of items in added_items set new_item to item i of added_items set the item_path to the quoted form of the POSIX path of new_item do shell script ("/bin/chmod 777 " & item_path) user name "root" password "cbn" with administrator privileges end repeat end try end tell end adding folder items to
Thank you in advance for all the help.