Re: File locking
"vaughnsc ." <[email protected]>
| Newsgroups | gmane.comp.lang.realbasic.user |
|---|---|
| Message-ID | <CAMB6XrugFUi9Aj3nPSZ8-OZM=PDtO7z0A0MZMRsJJQtMDH5bVQ@mail.gmail.com> |
On my first coffee but, assuming folderitem.locked is a read-only property (I'm not 100% sure about that): couldn't you use a shell/path to 'chmod' (or equivalent) the file permissions? On May 19, 2017 6:49 AM, "Jean-Luc Arnaud" <[email protected]> wrote: > Hi Arnaud, > > Yes ... and no! > > I not only need to know if a file is locked, I need to be able to > lock/unlock it. > > Jean-Luc Arnaud > > Le 19/05/2017 à 07:09, Marnaud a écrit : > >> Le 18 mai 2017 à 18:04 du soir, Jean-Luc Arnaud <[email protected]> >> a écrit: >> >> Hi all, >>> >>> Is there a way, with a Xojo, Shell or MBS command, to lock a file in >>> order to make it not writable, read-only? >>> >>> I know some Shell commands on Mac modifying authorizations, but I’m >>> loocking for a kind of "Lock" in Macintosh File Info or "Read Only" in Win >>> file properties. >>> >> Hello Jean-Luc, >> >> Are you not simply looking for the Locked property of a folderitem? >> _______________________________________________ >> >> Xojo forum: >> >> https://forum.xojo.com/ >> >> > > _______________________________________________ > > Xojo forum: > > https://forum.xojo.com/ _______________________________________________ Xojo forum: https://forum.xojo.com/