<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi,</p>
<p>First of all, can you give the build date of your version of
Scilab ([a,b]=getversion()) ? Since the end of december the dmg
archive of Scilab is notarized by Apple and it could change the
way that disk access is granted or not. <br>
</p>
<p>Moreover, as indicated in
<a class="moz-txt-link-freetext" href="https://www.utc.fr/~mottelet/scilab_for_macOS.html">https://www.utc.fr/~mottelet/scilab_for_macOS.html</a><br>
</p>
<p style="font-style: normal"><font face="Arial, sans-serif"><font
size="3"><b>Problems with macOS Catalina</b></font></font></p>
<p style="font-style: normal; font-weight: normal"><font
face="Arial, sans-serif"><font size="3">macOS Catalina
introduces new security controls. For example, apps are now
required to ask your permission before accessing parts of the
drive where documents and personal files are kept. If Scilab
does not show files in the FileBrowser component, you will
have to enable the command-line interpreter <i>/bin/sh</i>
(which is run just after you double-click on Scilab's icon) in
the "Privacy" tab in the System Preferences Control Panel.
This small <a
href="https://www.utc.fr/~mottelet/scilab/scilab_catalina_enable_sh_720.mov">video</a>
shows how to find the <i>/bin</i> folder by using the keys
combination <i>Command-Shift-G</i> and then drag and drop <i>/bin/sh</i>
in the list of authorized applications.
</font></font>
</p>
<div class="moz-cite-prefix">this is not just a matter of full disk
access, /bin/sh should also be authorized. However, settings can
also be different if you have disabled the System Integrity
protection.</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">S.<br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">Le 24/01/2021 à 22:05, Gerard Awanou a
écrit :<br>
</div>
<blockquote type="cite"
cite="mid:CAHYT1jifiykCCW6nvgTmOhHieCFFSSmrrf9evmKPKXByRn9TJw@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">I am using the GUI. It starts with the
message
<div><br>
</div>
<div>
<div>Startup execution:</div>
<div> loading initial environment</div>
</div>
<div><br>
</div>
<div>Then, I try to go to a specific directory</div>
<div><br>
</div>
<div>cd Desktop<br>
</div>
<div><br>
</div>
<div>I then got the error message</div>
<div><br>
</div>
<div>
<div>"/Users/gerardawanou/Desktop"</div>
<div>Can't get current directory.</div>
</div>
<div><br>
</div>
<div>I did give Scilab full disc acsess</div>
</div>
</div>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Sun, Jan 24, 2021 at 2:52
PM Heinz Nabielek <<a href="mailto:heinznabielek@me.com"
moz-do-not-send="true">heinznabielek@me.com</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">Gérard,<br>
<br>
I added SciLab into Security&Privacy/Privacy/Full Disk
Access.<br>
<br>
Works fine. But furious about the way the newer Mac OSses
make life ever more difficult......<br>
<br>
Does anybody have a better suggestion?<br>
Heinz<br>
<br>
<br>
<br>
> On 24.01.2021, at 21:03, Gerard Awanou <<a
href="mailto:awanou@uic.edu" target="_blank"
moz-do-not-send="true">awanou@uic.edu</a>> wrote:<br>
> <br>
> Hi<br>
> <br>
> I am running Scilab 6.1 on mac OS Catalina and I am
getting the annoying message<br>
> "Can't get current directory".<br>
> <br>
> How do I fix this?<br>
> <br>
> _______________________________________________<br>
> users mailing list<br>
> <a href="mailto:users@lists.scilab.org"
target="_blank" moz-do-not-send="true">users@lists.scilab.org</a><br>
> <a
href="https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/users"
rel="noreferrer" target="_blank" moz-do-not-send="true">http://lists.scilab.org/mailman/listinfo/users</a><br>
<br>
</blockquote>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a>
<a class="moz-txt-link-freetext" href="https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/users">https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Stéphane Mottelet
Ingénieur de recherche
EA 4297 Transformations Intégrées de la Matière Renouvelable
Département Génie des Procédés Industriels
Sorbonne Universités - Université de Technologie de Compiègne
CS 60319, 60203 Compiègne cedex
Tel : +33(0)344234688
<a class="moz-txt-link-freetext" href="http://www.utc.fr/~mottelet">http://www.utc.fr/~mottelet</a>
</pre>
</body>
</html>