Sharing a desktop app, or with beta testers
matthias_livecode_150811 at m-r-d.de
matthias_livecode_150811 at m-r-d.de
Thu Jan 27 17:14:44 EST 2022
William,
i just tried in a Monterey VM
the syntax
pw=YourPassword; echo $pw | sudo -S ....... works here as long as i do not have a $ sign in my password.
The problem seems to be that the dollar sign is a special character in shell. I am not a shell expert, but i've read that strings that contain dollar signs has to be in single quotes.
I've putted the password in single quotes and it worked then altough it contained the dollar sign.
I will adjust the sample stack.
Regards,
Matthias
> Am 27.01.2022 um 12:01 schrieb matthias rebbe via use-livecode <use-livecode at lists.runrev.com>:
>
> As i have still 11.6.2 installed i cannot test, if this might be something Monterey specific.
> I am currently downloading Monterey and will install it onto a VM, so i could test. But the 12GB take some time to download.
>
> There is a free tool available from Late Night Software called SD Notary, which also does the needed steps to get a notarized app.
> https://latenightsw.com/sd-notary-notarizing-made-easy/ <https://latenightsw.com/sd-notary-notarizing-made-easy/>
>
> Maybe you try that .
>
> Regards,
> Matthias
>
>
>> Am 27.01.2022 um 02:06 schrieb William Prothero via use-livecode <use-livecode at lists.runrev.com <mailto:use-livecode at lists.runrev.com>>:
>>
>> Matthias:
>> I tried the command in the shell
>> It didn’t work as shown in the status field.
>> I then switched to superuser, with the password, and it ran the following without complaint.
>> xattr -cr "/Users/prothero/Oceanography Projects/LiveCode-RunRev Projects/1-AA-Current Projects/PT_Explorer Projects/EarthExplorer_CurrentWkg-D4/EExp Builds/Earth Explorer2/Earth Explorer.app"
>>
>> Weird: I entered the command as you suggested below, and it asked for a password, as expected. BUT, it didn’t recognize the password I put in. Then I just did an SU command, it asked for the password and recognized my password. Then the action worked. I’m on OS 12.1 (Apple).
>>
>> My shell password has a dollar sign, 2 numbers and 2 capital letters. Could that be the problem?
>>
>> —This is the shell/terminal text:
>> WProtherosMBP4:~ prothero$ sudo -S xattr -cr "/Users/prothero/Oceanography Projects/LiveCode-RunRev Projects/1-AA-Current Projects/PT_Explorer Projects/EarthExplorer_CurrentWkg-D4/EExp Builds/Earth Explorer2/Earth Explorer.app"
>> Password:
>> Sorry, try again.
>> WProtherosMBP4:~ prothero$ sudo -S xattr -cr "/Users/prothero/Oceanography Projects/LiveCode-RunRev Projects/1-AA-Current Projects/PT_Explorer Projects/EarthExplorer_CurrentWkg-D4/EExp Builds/Earth Explorer2/Earth Explorer.app"
>> Password:
>> Sorry, try again.
>>
>> But this worked:
>> WProtherosMBP4:~ prothero$ su
>> Password:
>> sh-3.2#
>>
>> I changed the shell pw to all lower case alphabetical letters. Same issue.When I entered the shell first, entering the same password, it worked. The command below didn’t. It asked me for the password and when I entered it, it refused. Hmm.. odd.
>> WProtherosMBP4:~ prothero$ sudo -S xattr -cr "/Users/prothero/Oceanography Projects/LiveCode-RunRev Projects/1-AA-Current Projects/PT_Explorer Projects/EarthExplorer_CurrentWkg-D4/EExp Builds/Earth Explorer2/Earth Explorer.app"
>> Password:
>> Sorry, try again.
>> Password:
>> Sorry, try again.
>> Password:
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list