Skip to content

Conversation

mkundu1
Copy link
Contributor

@mkundu1 mkundu1 commented Sep 19, 2025

This PR removes the FLUENT_SERVER_INFO_PERMISSION_SYSTEM env var for compose launch. The server writes the server-info file with the default 600 permission. The file is then owned by client-user via a subsequent scheme command, so it can be read in the client side.

@github-actions github-actions bot added the bug Issue, problem or error in PyFluent label Sep 19, 2025
@mkundu1
Copy link
Contributor Author

mkundu1 commented Sep 19, 2025

@hpohekar Please verify these changes from your side. I got the test test_docker_compose passing locally with docker compose. I haven't tested podman compose.

I was trying to execute the chown as a separate docker exec call, but could not get it working. Feel free to give it a try.


container_dict["command"].append(
f"""-command="(system \\\"chown {os.getuid()}:{os.getgid()} {container_dict["container_server_info_file"]}\\\")" """
)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will send the scheme command (system "chown <uid>:<gid> <server-info-file>") to Fluent.

@mkundu1
Copy link
Contributor Author

mkundu1 commented Sep 21, 2025

Superseded by #4484

@mkundu1 mkundu1 closed this Sep 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Issue, problem or error in PyFluent

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants