daniel-p-carvalho commented on PR #20442: URL: https://github.com/apache/nuttx/pull/20442#issuecomment-5962897253
@acassis > > > @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. Reference - [POSIX](https://pubs.opengroup.org/onlinepubs/9699919799/utilities/ls.html) <img alt="image" width="1578" height="355" src="https://private-user-images.githubusercontent.com/172062840/664359481-e18baedd-09b7-44f8-b729-50448228827f.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTA5Nzc4ODQsIm5iZiI6MTc5MDk3NzU4NCwicGF0aCI6Ii8xNzIwNjI4NDAvNjY0MzU5NDgxLWUxOGJhZWRkLTA5YjctNDRmOC1iNzI5LTUwNDQ4MjI4ODI3Zi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYxMDAyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MTAwMlQyMTQ2MjRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT02NmYzYzlhNGQyZmJmNWU5MzQwMGFjZGUyZDZlNGUwMThlMDU3MzRlOThiMzJiY2YwYmYwNTE0MGFhN2U4MGNiJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZyZXNwb25zZS1jb 250ZW50LXR5cGU9aW1hZ2UlMkZwbmcifQ.5q5r6Rbs9RU81osOMg61vr3q5e-KsGpn77FpIKbxl28"> > > Gotcha it! Thank you very much @Abhishekmishra2808 > > @daniel-p-carvalho any idea why the setuid was enabled in your FS? @acassis No idea, the memory already had SmartFS and those files on it when I started testing. -- 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]
