<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi<div><br></div><div> cd /Users/gerardawanou/<br></div><div><br></div><div>gives</div><div><br></div><div><div>ans =</div><div><br></div><div> "/Users/gerardawanou"</div></div><div><br></div><div>[a,b]=getversion()<br></div><div><br></div><div>gives</div><div><br></div><div><div>a = </div><div><br></div><div> "scilab-branch-6.1"</div><div> b = </div><div><br></div><div> "GCC" "x64" "release" "Jan 19 2021" "19:28:01"</div></div><div><br></div><div>Adding bin/sh solves the problem. Sorry I thought that would be equivalent to full disc access.</div><div><br></div><div>Thank you very much.</div><div><br></div><div>Gerard</div><div><br></div></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jan 25, 2021 at 2:08 AM Stéphane Mottelet <<a href="mailto:stephane.mottelet@utc.fr" target="_blank">stephane.mottelet@utc.fr</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">
<div>
<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 href="https://www.utc.fr/~mottelet/scilab_for_macOS.html" target="_blank">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" target="_blank">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>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><br>
</div>
<div>S.<br>
</div>
<div><br>
</div>
<div>Le 24/01/2021 à 22:05, Gerard Awanou a
écrit :<br>
</div>
<blockquote type="cite">
<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" target="_blank">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">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">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">http://lists.scilab.org/mailman/listinfo/users</a><br>
<br>
</blockquote>
</div>
</div>
<br>
<fieldset></fieldset>
<pre>_______________________________________________
users mailing list
<a href="mailto:users@lists.scilab.org" target="_blank">users@lists.scilab.org</a>
<a href="https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/users" target="_blank">https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<pre 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 href="http://www.utc.fr/~mottelet" target="_blank">http://www.utc.fr/~mottelet</a>
</pre>
</div>
_______________________________________________<br>
users mailing list<br>
<a href="mailto:users@lists.scilab.org" target="_blank">users@lists.scilab.org</a><br>
<a href="http://lists.scilab.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.scilab.org/mailman/listinfo/users</a><br>
</blockquote></div>