Re: [devel] [PATCH 1/1] osaf: Set sticky bit for socket and pipe files [#2953]

2018-11-09 Thread Hans Nordebäck
Hi Minh, the "sticky" bit here is in fact  the "restricted deletion bit", it is used on directories, e.g. the /tmp directory where several users have r/w access but when the 't' bit is set only the file owners may delete its files. It should not be set on files only directories and I don't

[devel] [PATCH 1/1] osaf: Set sticky bit for socket and pipe files [#2953]

2018-11-05 Thread Minh Anh Du
There are files, sockets and pipes have world writable permission, but only root user and owner should be able to create/delete these files. Sticky bit should be set for these sockets and pipes for security reason. --- src/base/daemon.c | 2 +- src/base/osaf_secutil.c | 2 +-