search for: selinuxfilenametransition

Displaying 3 results from an estimated 3 matches for "selinuxfilenametransition".

2017 Jan 23
3
SELinux file permissions
Hi, I'm trying to grant dovecot the ability to manage its socket within the postfix spool directory. I have added the below to file_contexts.local : /var/spool/postfix/private/dovecot-auth system_u:system_r:dovecot_t:s0 However, running "restorecon -v /var/spool/postfix/private/dovecot-auth" gives me the following error : restorecon:
2017 Jan 23
0
SELinux file permissions
Hello, restorecon works only for existing files, for new files you are looking for file transition rule. Google that out, there is plenty of articles on that topic, for example: https://fedoraproject.org/wiki/Features/SELinuxFileNameTransition LZ 2017-01-23 19:57 GMT+01:00 Tim Smith <r.a.n.d.o.m.d.e.v.4+centos at gmail.com>: > Hi, > > I'm trying to grant dovecot the ability to manage its socket within > the postfix spool directory. > > I have added the below to file_contexts.local : > > /var/spool/pos...
2017 Jan 23
2
SELinux file permissions
...l <lukas at zapletalovi.com> wrote: > Hello, > > restorecon works only for existing files, for new files you are looking for > file transition rule. > > Google that out, there is plenty of articles on that topic, for example: > > https://fedoraproject.org/wiki/Features/SELinuxFileNameTransition > > LZ > > 2017-01-23 19:57 GMT+01:00 Tim Smith <r.a.n.d.o.m.d.e.v.4+centos at gmail.com>: > >> Hi, >> >> I'm trying to grant dovecot the ability to manage its socket within >> the postfix spool directory. >> >> I have added the below to...