As a non-root user I am running a process. The process binary has been given a cap_sys_resource capability. Even though the process is owned by the same user, that user cannot read its /proc//fd directory. The permissions in /proc/pid look like this:dr-xr-xr-x.   9 ec2-user ec2-user 0 May 12 01:03 .dr-xr-xr-x. 249 root     root     0 Apr  3 13:34 ..dr-xr-xr-x.   2 ec2-user ec2-user 0 May 12 01:03 attr-rw-r--r--.   1 root     root     0 May 12 01:04 autogroup-r--------.   1 root     root     0 May 12 01:03 auxv-r--r--r--.   1 root     root     0 May 12 01:04 cgroup--w-------.   1 root     root     0 May 12 01:04 clear_refs-r--r--r--.   1 root     root     0 May 12 01:03 cmdline-rw-r--r--.   1 root     root     0 May 12 01:04 comm-rw-r--r--.   1 root     root     0 May 12 01:04 coredump_filter-r--r--r--.   1 root     root     0 May 12 01:04 cpusetlrwxrwxrwx.   1 root     root     0 May 12 01:04 cwd-r--------.   1 root     root     0 May 12 01:04 environlrwxrwxrwx.   1 root     root     0 May 12 01:04 exedr-x------.   2 root     root     0 May 12 01:03 fddr-x------.   2 root     root     0 May 12 01:04 fdinfo-rw-r--r--.   1 root     root     0 May 12 01:04 gid_map-r--------.   1 root     root     0 May 12 01:04 io-r--r--r--.   1 root     root     0 May 12 01:04 limits-rw-r--r--.   1 root     root     0 May 12 01:04 loginuiddr-x------.   2 root     root     0 May 12 01:04 map_files-r--r--r--.   1 root     root     0 May 12 01:04 maps-rw-------.   1 root     root     0 May 12 01:04 mem-r--r--r--.   1 root     root     0 May 12 01:04 mountinfo-r--r--r--.   1 root     root     0 May 12 01:04 mounts-r--------.   1 root     root     0 May 12 01:04 mountstatsdr-xr-xr-x.   5 ec2-user ec2-user 0 May 12 01:04 netdr-x--x--x.   2 root     root     0 May 12 01:03 ns-r--r--r--.   1 root     root     0 May 12 01:04 numa_maps-rw-r--r--.   1 root     root     0 May 12 01:04 oom_adj-r--r--r--.   1 root     root     0 May 12 01:04 oom_score-rw-r--r--.   1 root     root     0 May 12 01:04 oom_score_adj-r--r--r--.   1 root     root     0 May 12 01:04 pagemap-r--r--r--.   1 root     root     0 May 12 01:04 personality-rw-r--r--.   1 root     root     0 May 12 01:04 projid_maplrwxrwxrwx.   1 root     root     0 May 12 01:04 root-rw-r--r--.   1 root     root     0 May 12 01:04 sched-r--r--r--.   1 root     root     0 May 12 01:04 schedstat-r--r--r--.   1 root     root     0 May 12 01:04 sessionid-rw-r--r--.   1 root     root     0 May 12 01:04 setgroups-r--r--r--.   1 root     root     0 May 12 01:04 smaps-r--r--r--.   1 root     root     0 May 12 01:04 stack-r--r--r--.   1 root     root     0 May 12 01:03 stat-r--r--r--.   1 root     root     0 May 12 01:03 statm-r--r--r--.   1 root     root     0 May 12 01:03 status-r--r--r--.   1 root     root     0 May 12 01:04 syscalldr-xr-xr-x.   3 ec2-user ec2-user 0 May 12 01:03 task-r--r--r--.   1 root     root     0 May 12 01:04 timers-rw-r--r--.   1 root     root     0 May 12 01:04 uid_map-r--r--r--.   1 root     root     0 May 12 01:04 wchanIs there a way to read the /proc//fd directory without using the root user? 
How to read the /proc//fd directory of a process, which has a linux capability?
permissions;root;proc;not root user;capabilities