Sakamoto Ryōma
Verified User
- Joined
- Jun 4, 2011
- Messages
- 69
I have set a face for the SSL folder in the Rocky Linux distro. The folder has default rx for my custom user. But when new SSL & key files are created. Certificate files have proper rights, but the key file does not. So I have a problem accessing the key file.
This is the result of getfacl for the folder where the SSL & key are stored.
This is the result for the newly created .key file inside that folder.
This is the result of getfacl for the folder where the SSL & key are stored.
getfacl /usr/local/directadmin/data/users/xyz/domains/
# file: usr/local/directadmin/data/users/xyz/domains/
# owner: diradmin
# group: diradmin
user::rwx
user:myuser:r-x
group::--x
mask::r-x
other::--x
default:user::rwx
default:user:myuser:r-x
default:group::--x
default:mask::r-x
defaultther::--x
This is the result for the newly created .key file inside that folder.
getfacl /usr/local/directadmin/data/users/xyz/domains/example.com.key
# file: usr/local/directadmin/data/users/xyz/domains/example.com.key
# owner: diradmin
# group: access
user::rw-
group::r--
other::---