LVM volume umask change
Hi all.
When I create file/directory in LVM volume, it is created with permissions (mode) 666. I need to get 644.
I changed umask in /etc/lvm/lvm.conf, but it did not helped. Any ideas?
Many thanks in advance.
MS
Quoted 4 lines · Marek Soha
When I create file/directory in LVM volume, it is created with permissions (mode) 666. I need to get 644.
I changed umask in/etc/lvm/lvm.conf, but it did not helped. Any ideas?
lvm.conf has nothing to do with any filesystems (and associated files and directories) you might happen to create on a logical volume.
Your question is a basic unix question. Try "man umask".
Hehe :)
You are joking, aren't you?
Please look into lvm.conf and try to find umask part... System umask is set correctly and this issue is happening only in LVM mount.
Stuart, d�a 15. novembra 2010 ste nap�sali:
SDG> On 11/13/2010 08:45 PM, Marek Soha wrote:
SDG> When I create file/directory in LVM volume, it is created with SDG> permissions (mode) 666. I need to get 644.
SDG> I changed umask in /etc/lvm/lvm.conf, but it did not helped. SDG> Any ideas?
SDG> lvm.conf has nothing to do with any filesystems (and associated SDG> files and directories) you might happen to create on a logical volume.
SDG> Your question is a basic unix question. Try "man umask".
Quoted 4 lines · Marek Soha
When I create file/directory in LVM volume, it is created with permissions (mode) 666. I need to get 644.
I changed umask in/etc/lvm/lvm.conf, but it did not helped. Any ideas?
Curious. What is the filesystem of your logical volume?
ext3
Eugene, d�a 15. novembra 2010 ste nap�sali:
Quoted 4 lines · Marek Soha
Quoted 4 lines
When I create file/directory in LVM volume, it is created with permissions (mode) 666. I need to get 644.
I changed umask in/etc/lvm/lvm.conf, but it did not helped. Any ideas?
EV> Curious. What is the filesystem of your logical volume?
EV> _______________________________________________ EV> linux-lvm mailing list
EV> [email protected]
EV> https://www.redhat.com/mailman/listinfo/linux-lvm
EV> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
2010/11/14 Marek Soha <[email protected]>:
Quoted 7 lines
Hehe :)
You are joking, aren't you?
Please look into lvm.conf and try to find umask part... System umask is set correctly and this issue is happening only in LVM mount.
This umask is for the files and directories that lvmtools create.