On 2014-5-13 05:01 , Clemens Lang wrote: > Hi, > > Please keep the conversation on the list so others with the same problem > can follow. > >> Yes! The `sandbox_enable no' hack worked around the problem. >> >> Can you reproduce the problem by creating a fake package and trying the >> "test -w /var/tmp"? > > Yes, I can reproduce this with a minimal example: > > PortSystem 1.0 > name test > version 1.0 > maintainers cal > categories test > description Description > long_description LongDescription > platforms darwin > homepage Homepage > distfiles > configure { > system "test -w /var/tmp" > system "test -w /var/tmp/" > system "test -w /var/tmp/foo" > } > > I'm not sure why it fails for /var/tmp/foo, though – my understanding is it > should work.
You would have to create foo first. >> What else would you like me to try? > > I've CC'd somebody more knowledgeable on sandboxing than I am. Joshua, any > idea what's wrong here or is this expected behavior? We do exclude /var/tmp itself with the regex we use. We certainly don't want to allow file-write* on it, but possibly one of the subsets could be added safely. - Josh _______________________________________________ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users