G’day scripters
I need to set the privilges for new folders to allow anyone to read/write. (Sierra v2)
At the moment, I’m being told when trying to save TextEdit files to new folders I don’t have sufficient permissions.
I’ve set the TexEdit App to read/write for all 3, but the folders I’m creating are read/write for me only, and my Mail Manager app cannot save the TextEdit files.
I’ve tried to open the man chmod, but can’t get the terminology right, and ManOpen won’t open under Sierra.
I’ve been expermimenting along the lines of
set temp_Folder to ((my mailManagerDesktopFolderPath) & "Yearly Orders " & year of my workingDate as text)
do shell script "mkdir -p -rwx " & quoted form of POSIX path of temp_Folder
mkdir: illegal option -- r
usage: mkdir [-pv] [-m mode] directory …
or
do shell script "mkdir fs sa . rlidwka " & quoted form of POSIX path of temp_Folder
but am completely stuffing it up.
Any advice and examples greatly appreciated.
This had happened since Sierra ver 2
Regards
Santa