linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] LVM volume umask change
@ 2010-11-14  1:45 Marek Soha
  2010-11-14 23:00 ` Stuart D Gathman
  2010-11-15  1:06 ` Eugene Vilensky
  0 siblings, 2 replies; 6+ messages in thread
From: Marek Soha @ 2010-11-14  1:45 UTC (permalink / raw)
  To: linux-lvm

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [linux-lvm] LVM volume umask change
  2010-11-14  1:45 [linux-lvm] LVM volume umask change Marek Soha
@ 2010-11-14 23:00 ` Stuart D Gathman
  2010-11-14 23:28   ` Marek Soha
  2010-11-15  1:06 ` Eugene Vilensky
  1 sibling, 1 reply; 6+ messages in thread
From: Stuart D Gathman @ 2010-11-14 23:00 UTC (permalink / raw)
  To: linux-lvm

[-- Attachment #1: Type: text/plain, Size: 422 bytes --]

On 11/13/2010 08:45 PM, Marek Soha wrote:
> 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".

[-- Attachment #2: Type: text/html, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [linux-lvm] LVM volume umask change
  2010-11-14 23:00 ` Stuart D Gathman
@ 2010-11-14 23:28   ` Marek Soha
  0 siblings, 0 replies; 6+ messages in thread
From: Marek Soha @ 2010-11-14 23:28 UTC (permalink / raw)
  To: Stuart D Gathman; +Cc: linux-lvm

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".

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [linux-lvm] LVM volume umask change
  2010-11-14  1:45 [linux-lvm] LVM volume umask change Marek Soha
  2010-11-14 23:00 ` Stuart D Gathman
@ 2010-11-15  1:06 ` Eugene Vilensky
  2010-11-15  1:29   ` Marek Soha
  1 sibling, 1 reply; 6+ messages in thread
From: Eugene Vilensky @ 2010-11-15  1:06 UTC (permalink / raw)
  To: LVM general discussion and development

On Sat, Nov 13, 2010 at 7:45 PM, Marek Soha <marek@snet.sk> wrote:
> 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?

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [linux-lvm] LVM volume umask change
  2010-11-15  1:06 ` Eugene Vilensky
@ 2010-11-15  1:29   ` Marek Soha
  2010-11-15  2:17     ` Eugene Vilensky
  0 siblings, 1 reply; 6+ messages in thread
From: Marek Soha @ 2010-11-15  1:29 UTC (permalink / raw)
  To: Eugene Vilensky; +Cc: LVM general discussion and development

ext3

Eugene, d�a 15. novembra 2010 ste nap�sali:
EV> On Sat, Nov 13, 2010 at 7:45 PM, Marek Soha <marek@snet.sk> wrote:
>> 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> linux-lvm@redhat.com
EV> https://www.redhat.com/mailman/listinfo/linux-lvm
EV> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [linux-lvm] LVM volume umask change
  2010-11-15  1:29   ` Marek Soha
@ 2010-11-15  2:17     ` Eugene Vilensky
  0 siblings, 0 replies; 6+ messages in thread
From: Eugene Vilensky @ 2010-11-15  2:17 UTC (permalink / raw)
  Cc: LVM general discussion and development

2010/11/14 Marek Soha <marek@snet.sk>:
> 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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-11-15  2:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-14  1:45 [linux-lvm] LVM volume umask change Marek Soha
2010-11-14 23:00 ` Stuart D Gathman
2010-11-14 23:28   ` Marek Soha
2010-11-15  1:06 ` Eugene Vilensky
2010-11-15  1:29   ` Marek Soha
2010-11-15  2:17     ` Eugene Vilensky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).