live code seems to gratuitously unlock write permission for directories
Dr. Hawkins
dochawk at gmail.com
Thu Dec 1 14:53:33 EST 2016
On Thu, Dec 1, 2016 at 11:32 AM, Dr. Hawkins <dochawk at gmail.com> wrote:
> I'm trying to put in a failsafe that prevents overwriting older files. Do
> I need to change the owner of the files for this???
>
That doesn't do it either:
get shell ("chmod -w " & oldFlDir && "; chown dhArchive " & oldFlDir)
gets
chown: /Users/hawk/Documents/dhbk/16/1611/161130: Operation not permitted
And I still own the directory, and it's still write-enabled.
--
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
More information about the use-livecode
mailing list