Hi,
I have pve 4.1, container with centos 6.7 installed from standard template centos-6-default_20160205_amd64.tar.xz. Umask not working as it has to (should be 644 for file and 755 for directory):
The same wrong behavior happens for /tmp:
Any ideas how to fix that?
Regards,
Alex
I have pve 4.1, container with centos 6.7 installed from standard template centos-6-default_20160205_amd64.tar.xz. Umask not working as it has to (should be 644 for file and 755 for directory):
Code:
[root@work ~]# umask
0022
[root@work ~]# touch tst && ls -l tst
-r--r----- 1 root root 0 Mar 15 08:13 tst
[root@work ~]# mkdir tst-dir && ls -ld tst-dir
dr-xr-x---+ 2 root root 4096 Mar 15 08:19 tst-dir
The same wrong behavior happens for /tmp:
Code:
[root@work ~]# touch /tmp/tst && ls -l /tmp/tst
-rw-rw-rw- 1 root root 0 Mar 15 08:23 /tmp/tst
[root@work ~]# mkdir /tmp/tst-dir && ls -ld /tmp/tst-dir
drwxrwxrwx+ 2 root root 4096 Mar 15 08:24 /tmp/tst-dir
Any ideas how to fix that?
Regards,
Alex