这是indexloc提供的服务,不要输入任何密码
Skip to content

env . should return Permission denied (not Is a directory) #33

@drinkcat

Description

@drinkcat

When running env . on most Linux machines, we would see:

$ env .
env: ‘.’: Permission denied

I suspect that on some recent version of termux, the error would be "Is a directory" (EISDIR?!), possibly because of termux LD_PRELOAD intercept?

It appears that execve would require EACCESS to be returned if the file is not a normal file.

If I read 3300bfb correctly, this case is not fixed?

We've had issues related to this in uutils/coreutils: uutils/coreutils#7542 , disabling termux's LD_PRELOAD fixes that issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions