Issue with Permissions Not Applying to All Shared Memory Objects in /dev/shm #5678
sravaniSam17
started this conversation in
Support
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I'm facing an issue where my request-reply server-client application does not exchange data when running under different user accounts. To resolve this, I modified the permissions for files in
/dev/shm
by setting them to664
instead of the default644
.fastdds version using is 3.1.0
In particular, I made this change in the
set_default()
function inpermissions.hpp
. However, after making this modification, the new permissions (664) are applied only to certain FastDDS files, such as:fastdds_a4cd5ceca2ff1f5a(fastdds_xxxxxxxxxx)
fastdds_port7400(fastdds_portxxxx)
But the permissions are not applied to the following files:
fastdds_a4cd5ceca2ff1f5a_el(fastdds_xxxxxxxxxx_el)
fastdds_port7400_sl(fastdds_portxxxx_sl)
fastdds_port7400_el(fastdds_portxxxx_el)
sem.fastdds_port7400_mutex(sem.fastdds_portxxx_mutex)
Could you provide guidance on how to ensure that the updated permissions apply to all FastDDS-related files in
/dev/shm
?Thanks in advance for your help!
Beta Was this translation helpful? Give feedback.
All reactions