<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 11:29, Esteban Lorenzano &lt;<a href="mailto:estebanlm@gmail.com" class="">estebanlm@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><blockquote type="cite" class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div class=""><br class="Apple-interchange-newline">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 class="Apple-converted-space">&nbsp;</span><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: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: 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?)<span class="Apple-converted-space">&nbsp;</span></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: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: 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'<span class="Apple-converted-space">&nbsp;</span><a href="tel:3606072933" value="+13606072933" class="">3606072933</a><span class="Apple-converted-space">&nbsp;</span><a href="tel:3606072933" value="+13606072933" class="">3606072933</a><span class="Apple-converted-space">&nbsp;</span>true 0 511 false)<br class=""></blockquote></div></div></div></div></blockquote><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">as Nicolai said, this is not the squeak vm but the pharo vm (which is a Cog, too).&nbsp;</div><br class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><blockquote type="cite" class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div class=""><div dir="ltr" class=""><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex;">Cog VM returns:&nbsp; #('tmp'<span class="Apple-converted-space">&nbsp;</span><a href="tel:3606072933" value="+13606072933" class="">3606072933</a><span class="Apple-converted-space">&nbsp;</span><a href="tel:3606072933" value="+13606072933" class="">3606072933</a><span class="Apple-converted-space">&nbsp;</span>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><span class="Apple-converted-space">&nbsp;</span>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 style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">we added posix permissions and symlink flag.&nbsp;</div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">and we changed it not because we have a different abstraction, we changed because information was not enough.&nbsp;</div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">we will add also owner and group soon also, but most probably it will be&nbsp;</div></div></blockquote>“most probably it will be a different primitive”… I wend for coffee without finishing the sentence ;)</div><div><br class=""><blockquote type="cite" class=""><div class=""><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class=""></div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">cheers,&nbsp;</div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">Esteban</div><br class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><blockquote type="cite" class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div class=""><div dir="ltr" class=""><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex;"><br class="">Thanks,<br class="">Phil</blockquote></div></div></div></div></blockquote></div></blockquote></div><br class=""></body></html>