Abhishekmishra2808 commented on PR #20442:
URL: https://github.com/apache/nuttx/pull/20442#issuecomment-5961819959

   > @Abhishekmishra2808 could you please help here: why is the setuid defined 
here:
   > 
   > ```
   > nsh> ls -l /mnt
   > /mnt:
   >  -rwSrwSrw-         209 emtds.cfg
   >  -rwSrwSrw-         106 modbus.cfg
   >  -rwSrwSrw-          46 mfr.dat
   >  -rwSrwSrw-         224 mdl.dat
   >  -rwSrwSrw-        1750 dna.dat
   > nsh>
   > ```
   > 
   > Hmm, strange, normally the setuid is lower case 's', is the upper case 'S' 
setuid too?
   
   Hi @acassis, Uppercase S means the setuid/setgid bit is set while the 
corresponding execute bit is clear. 
   Ref - 
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/[ls](https://pubs.opengroup.org/onlinepubs/9699919799/utilities/ls.html).html


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to