Skip to content

The umask setting hasn't taken effect for some files. Besides manually modifying the permissions, what should I do to grant write permissions to other users for those files that aren't affected? #6162

@Damonyhk

Description

@Damonyhk

Is there an already existing issue for this?

  • I have searched the existing issues

Expected behavior

chric@ubuntu:~$ ll /dev/shm | grep fast
-rw-rw-rw- 1 mtest mtest 549408 11月 10 17:16 fastrtps_bf60fac662c27812
-rw-rw-rw- 1 mtest mtest 0 11月 10 17:16 fastrtps_bf60fac662c27812_el
-rw-rw-rw- 1 mtest mtest 52416 11月 10 17:16 fastrtps_port7411
-rw-rw-rw- 1 mtest mtest 0 11月 10 17:16 fastrtps_port7411_el
-rw-rw-rw- 1 mtest mtest 32 11月 10 17:16 sem.fastrtps_port7411_mutex

Current behavior

mtest@ubuntu:~$ (umask 0000; ros2 run demo_nodes_cpp talker)

Steps to reproduce

mtest@ubuntu:$ (umask 0000; ros2 run demo_nodes_cpp talker)
chric@ubuntu:
$ ll /dev/shm | grep fast

Fast DDS version/commit

any

Platform/Architecture

Ubuntu Focal 20.04 amd64

Transport layer

Shared Memory Transport (SHM)

Additional context

No response

XML configuration file

Relevant log output

Network traffic capture

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    triageIssue pending classification

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions