<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 10 Apr 2015, at 09:37, Nicolai Hess &lt;<a href="mailto:nicolaihess@web.de" class="">nicolaihess@web.de</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><br class=""><div class="gmail_extra"><br class=""><div class="gmail_quote">2015-04-10 5:30 GMT+02:00 Phil (list) <span dir="ltr" class="">&lt;<a href="mailto:pbpublist@gmail.com" target="_blank" class="">pbpublist@gmail.com</a>&gt;</span>:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br class="">
It appears that there's a behavior difference between recent Cog and<br class="">
Pharo/Seaside (which I assume is just the Squeak VM?) </blockquote><div class=""><br class=""></div><div class="">No, it is pharo only.<br class=""></div><div class="">Pharo changed the fileplugin because it has a different abstraction<br class=""></div><div class="">for the platform file system.<br class=""></div><div class="">Instead of the squeak classes FileDirectory/DirectoryEntry...<br class=""></div><div class="">it uses the newer in FileSystem-/Disk/Store/Memory.<br class=""><br class=""></div><div class="">This File API and the underlaying FilePlugin provide<br class=""></div><div class="">more file attributes (Permissions and isSymlink)<br class=""></div><div class=""><br class="">&nbsp;</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">VMs: &lt;primitive:<br class="">
'primitiveDirectoryEntry' module: 'FilePlugin'&gt; returns 5 values in Cog<br class="">
and 7 in Squeak.&nbsp; The 6th value are the file permissions and the 7th is<br class="">
a boolean (haven't looked to see what it represents).<br class="">
<br class="">
I noticed this with some Pharo and Seaside images when attempting to<br class="">
open the world menu -&gt; Tools -&gt; File Browser which results in an error<br class="">
under Cog.&nbsp; The cause is DiskStore #basicEntryAt: returning 2 additional<br class="">
values that Cog currently does not:<br class="">
<br class="">
[plug := FilePluginPrims new.<br class="">
&nbsp; &nbsp; &nbsp; &nbsp; path := AbsolutePath from: '/tmp'.<br class="">
&nbsp; &nbsp; &nbsp; &nbsp; ds := DiskStore current.<br class="">
&nbsp; &nbsp; &nbsp; &nbsp; ds basicEntryAt: path] value.<br class="">
<br class="">
<br class="">
Squeak VM returns:&nbsp; #('tmp' <a href="tel:3606072933" value="+13606072933" class="">3606072933</a> <a href="tel:3606072933" value="+13606072933" class="">3606072933</a> true 0 511 false)<br class=""></blockquote></div></div></div></div></blockquote><div>as Nicolai said, this is not the squeak vm but the pharo vm (which is a Cog, too).&nbsp;</div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Cog VM returns:&nbsp; #('tmp' <a href="tel:3606072933" value="+13606072933" class="">3606072933</a> <a href="tel:3606072933" value="+13606072933" class="">3606072933</a> true 0)<br class="">
<br class="">
These results were obtained using the VMs from<br class="">
<a href="http://www.seaside.st/distributions/Seaside-3.1-OneClick-Pharo2.zip" target="_blank" class="">http://www.seaside.st/distributions/Seaside-3.1-OneClick-Pharo2.zip</a> and<br class="">
<a href="http://www.mirandabanda.org/files/Cog/VM/VM.r3308/coglinux-15.14.3308.tgz" target="_blank" class="">http://www.mirandabanda.org/files/Cog/VM/VM.r3308/coglinux-15.14.3308.tgz</a><br class="">
<br class="">
I'm assuming this is not an intentional behavior difference.&nbsp; But if it<br class="">
is, any details as to why would be appreciated…</blockquote></div></div></div></div></blockquote><div>we added posix permissions and symlink flag.&nbsp;</div><div>and we changed it not because we have a different abstraction, we changed because information was not enough.&nbsp;</div><div>we will add also owner and group soon also, but most probably it will be&nbsp;</div><div><br class=""></div><div>cheers,&nbsp;</div><div>Esteban</div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br class="">
Thanks,<br class="">
Phil<br class="">
<br class="">
</blockquote></div><br class=""></div></div>
</div></blockquote></div><br class=""></body></html>