patacongo opened a new issue #1543:
URL: https://github.com/apache/incubator-nuttx/issues/1543


   Using configuration sim:nsh
   
       nsh> mount
         /etc type romfs
         /proc type procfs
         /tmp type vfat
       nsh> ls -Rl /etc
       /etc:
        dr-xr-xr-x       0 .
        -r-xr-xr-x      20 group
        dr-xr-xr-x       0 init.d/
        -r-xr-xr-x      35 passwd
       /etc/init.d:
        dr-xr-xr-x       0 ..
        -r-xr-xr-x      71 rcS
   
   /etc/init.d can be listed; /etc/init.d/. cannot:
   
       nsh> ls -l /etc/init.d
       /etc/init.d:
        dr-xr-xr-x       0 ..
        -r-xr-xr-x      71 rcS
       nsh> ls -l /etc/init.d/.
       nsh: ls: stat failed: 2
   
   /etc/init.d/.. can be listed; /etc/init.d/../. cannot:
   
       nsh> ls -l /etc/init.d/..
       /etc/init.d/..:
        dr-xr-xr-x       0 .
        -r-xr-xr-x      20 group
        dr-xr-xr-x       0 init.d/
        -r-xr-xr-x      35 passwd
       nsh> ls -l /etc/iniit.d/../.
       nsh: ls: stat failed: 2
       
       nsh> ls -l /etc/init.d/../group
        -r-xr-xr-x      20 /etc/init.d/../group
       nsh> cat /etc/init.d/../group
       root:*:0:root,admin


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to