Created
August 27, 2013 10:42
-
-
Save mfournier/6352032 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@vagrant-openldap:/etc/openldap# ls -lZd /var/lib/ldap | |
ls: cannot access /var/lib/ldap: No such file or directory | |
root@vagrant-openldap:/etc/openldap# semanage fcontext -l | grep slapd_db_t | |
/etc/openldap/slapd\.d(/.*)? all files system_u:object_r:slapd_db_t:s0 | |
/var/lib/ldap all files system_u:object_r:slapd_db_t:s0 | |
/var/lib/ldap(/.*)? all files system_u:object_r:slapd_db_t:s0 | |
root@vagrant-openldap:/etc/openldap# mkdir /var/lib/ldap | |
root@vagrant-openldap:/etc/openldap# mkdir /var/lib/ldap/a | |
root@vagrant-openldap:/etc/openldap# ls -laZ /var/lib/ldap | |
drwxr-xr-x. root root unconfined_u:object_r:var_lib_t:s0 . | |
drwxr-xr-x. root root system_u:object_r:var_lib_t:s0 .. | |
drwxr-xr-x. root root unconfined_u:object_r:var_lib_t:s0 a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment