Question
What are the permissions of the web templates directory?
Answer
Default permissions of the web 0711 and are owned by root.
~]# stat /var/cpanel/webtemplates/root/
File: ‘/var/cpanel/webtemplates/root/’
Size: 21 Blocks: 0 IO Block: 4096 directory
Device: fd01h/64769d Inode: 29380737 Links: 3
Access: (0711/drwx--x--x) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2020-09-29 01:23:59.633640927 -0500
Modify: 2020-06-12 19:52:20.490791042 -0500
Change: 2020-06-12 19:52:20.490791042 -0500
Birth: -
By default, web template directory files are set to 0644:
~]# stat /var/cpanel/webtemplates/root/english/suspended.tmpl
File: ‘/var/cpanel/webtemplates/root/english/suspended.tmpl’
Size: 7740 Blocks: 16 IO Block: 4096 regular file
Device: fd01h/64769d Inode: 31469942 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2020-06-12 19:52:20.490791042 -0500
Modify: 2020-06-12 19:52:20.490791042 -0500
Change: 2020-06-12 19:52:20.490791042 -0500
Birth: -
Comments
0 comments
Article is closed for comments.