You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "cederom (via GitHub)" <gi...@apache.org> on 2023/03/29 20:59:22 UTC

[GitHub] [nuttx] cederom commented on pull request #8924: binfmt: set default uid for builtin app

cederom commented on PR #8924:
URL: https://github.com/apache/nuttx/pull/8924#issuecomment-1489312285

   Good question @patacongo I don't get it too :-) 
   
   Could you please elaborate more on your goal @fxysunshine ?
   
   In Unix if you want to provide different applications with a separate access levels (i.e. to filesystem), for instance when you run a service, you would want to create a dedicated user and group for that application (or group of applications), then launch that application by that user/group. Services may be launched by system init scripts and/or local user crontab. Not sure if all this functionality is already here in NuttX?
   
   The problem you are facing right now is that UID/GID is not set even if you run the application by a given user?
   
   Maybe you want something like `su` to run one application as another user?
   
   Maybe you want `setuid`/`setgid` functionality in order to spawn process with `uid`/`gid` or a file owner?


-- 
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: commits-unsubscribe@nuttx.apache.org

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