-
Notifications
You must be signed in to change notification settings - Fork 197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[discuss] What is process.owner in POSIX? #593
Comments
In your note for the process PR you mentioned
I think the problem here is that this field will be empty. Does it make sense and is there a way to copy to the owner one of the users (effective, real or saved) for POSIX systems? |
Could this be set as When I see "owner" in Linux, I think of file ownership, and when I first looked at this attribute, I thought it was referring to "the owner of the file being executed". But the ECS "Effective user ID's username" is probably the closest to the Windows process owner. But that will already be the People who are not too familiar with Windows might think of these before they think of the Windows definition, so that's why I thought it would be a good idea to add a note that the attribute is Windows-only and avoid possible confusion about the usage. If it can't be Windows-only, I think we should define which of these definitions should be used on posix |
The
process.owner
attribute is defined as "The username of the user that owns the process". What does that mean for POSIX systems?In Windows, a process's owner is well-defined, but POSIX doesn't have a well-defined process "owner". To me, with POSIX, the owner could be one of: the user that owns the file being executed, effective user ID, real user ID, or (maybe) saved user ID.
I think it should be decided what process.owner means with POSIX systems, and add a note to the attribute to better define it.
I think it could either specify that process.owner should only be used on Windows, and use other attributes with POSIX (other process user ID attributes will be added with #564), or define which value should be used with POSIX.
The text was updated successfully, but these errors were encountered: