[su] Allow write on any file/dir

This commit is contained in:
Pierre-Hugues Husson 2019-08-22 00:34:13 +02:00
parent f2b061da52
commit 2b4b3d6398
1 changed files with 3 additions and 0 deletions

View File

@ -134,3 +134,6 @@ allow phhsu_daemon domain:fd { use };
allow phhsu_daemon domain:unix_stream_socket { connectto ioctl getattr getopt read write shutdown };
allow phhsu_daemon self:netlink_kobject_uevent_socket create_socket_perms;
allow phhsu_daemon self:{ netlink_tcpdiag_socket } { create_socket_perms nlmsg_write nlmsg_read };
allow phhsu_daemon file_type:file create_file_perms;
allow phhsu_daemon file_type:dir create_dir_perms;