[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: "ls -d" OK, but not "ls"



Vincent Lefevre (12021-06-23):
> And while I'm at it, "strace" gives:
> 
> [...]
> stat("/etc/systemd", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
> openat(AT_FDCWD, "/etc/systemd", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = -1 ENOENT (No such file or directory)
> [...]
> 
> So, on the same directory, "stat" succeeds, but not "openat".

Have you looked at dmesg?

Regards,

-- 
  Nicolas George

Attachment: signature.asc
Description: PGP signature


Reply to: