Skip to content
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

nqtail multi user output #49

Open
RTLhamster opened this issue Aug 26, 2024 · 2 comments
Open

nqtail multi user output #49

RTLhamster opened this issue Aug 26, 2024 · 2 comments

Comments

@RTLhamster
Copy link

I tried nq and nqtail in a user envirionment to sequentially run programs.
The issue I see is that the other user can see the program output (via nqtail) of the job started from the other user.

user1:
nq command1
nqtail -> sees his output

user2
nq command2
nqtail -> sees output of command1 and then command2

Is there a way that the user only sees the output of his own jobs?

@leahneukirchen
Copy link
Owner

You can patch that in by checking the uid of the file creator, but you cannot stop users from seeing the logs, as the log file itself needs to be readable.

@RTLhamster
Copy link
Author

yes, its clear that the files can be seen by all users since these files are readable by all users.
My concern is more the user experience, if the user sees the output of others: its confusing.
By default I cannot pass the UID to nqtail, or am I wrong?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants