D in SUSE Enterprise Linux

Joakim dlang at joakim.fea.st
Wed May 2 02:54:54 UTC 2018


On Tuesday, 1 May 2018 at 16:02:03 UTC, rikki cattermole wrote:
> On 02/05/2018 3:51 AM, Vino wrote:
>> On Tuesday, 1 May 2018 at 15:42:38 UTC, Jonathan M Davis wrote:
>>> On Tuesday, May 01, 2018 15:18:12 Vino via 
>>> Digitalmars-d-learn wrote:
>>>> [...]
>>>
>>> That sounds like your /tmp is mounted with noexec. which 
>>> won't work with rdmd or any other program that expects to be 
>>> able to create a file in /tmp and run it. Presumably, you'll 
>>> need to change the settings in /etc/fstab so that /tmp is not 
>>> mounted with noexec.
>>>
>>> - Jonathan M Davis
>> 
>> Hi Jonathan,
>> 
>>    Yes the /tmp is mounted with noexec option , we should not 
>> change this option as it is a security violation so is there 
>> any other way we can make it work, it tried setting the tmp 
>> env variable to a local FS which is mounted with the noexec 
>> option but it did not work.
>> 
>> From,
>> Vino.B
>
> Modify rdmd to use another directory which is more acceptable 
> for your setup.

Or just set an environment variable like TMP, if you don't want 
to append the flag Jonathan gave each time, as rdmd simply calls 
std.file.tempDir:

https://dlang.org/phobos/std_file.html#.tempDir


More information about the Digitalmars-d-learn mailing list