Received: from mx3.redhat.com (mx3.redhat.com [172.16.48.32]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j1GKJEO07443 for ; Wed, 16 Feb 2005 15:19:14 -0500 Received: from synflood.office.aol.com (h-64-236-128-14.nat.aol.com [64.236.128.14]) by mx3.redhat.com (8.12.11/8.12.11) with ESMTP id j1GKJ8U7014115 for ; Wed, 16 Feb 2005 15:19:08 -0500 Received: from [127.0.0.1] (localhost [127.0.0.1]) by synflood.office.aol.com (Postfix) with ESMTP id 840D548006 for ; Wed, 16 Feb 2005 15:19:02 -0500 (EST) Message-ID: <4213AAB5.6090103@avondalenetworks.com> Date: Wed, 16 Feb 2005 15:19:01 -0500 From: Jeff Bethke MIME-Version: 1.0 Subject: Re: [linux-lvm] vgscan changing/resetting perms? References: <421392D6.4070405@avondalenetworks.com> <20050216191923.GD12420@zippy.toger.us> In-Reply-To: <20050216191923.GD12420@zippy.toger.us> Content-Type: multipart/alternative; boundary="------------080002010403020007020409" Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: To: LVM general discussion and development This is a multi-part message in MIME format. --------------080002010403020007020409 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit I totally agree for general purposes. However, the users/app in question are Oracle/Sybase Databases writing directly to the devices. -jeff Jason Martin wrote: >On Wed, Feb 16, 2005 at 01:37:10PM -0500, Jeff Bethke wrote: > > >>Then I go ahead and reboot the host or someone comes along and runs a >>vgscan. VOILA! The perms for those files reset to root:root. How do >>I prevent that from happeneing? I want it so that I can make a device >>and set its perms to some user, and forget about it. Is that even >>possible? If so, how? Or, what am I doing wrong in setting up the lv/vg's? >> >> >One generally doesn't let non-root users have direct access to >devices. Instead you should format and mount the filesystems on >those drives and give users access to that. > >-JM > > >------------------------------------------------------------------------ > >_______________________________________________ >linux-lvm mailing list >linux-lvm@redhat.com >https://www.redhat.com/mailman/listinfo/linux-lvm >read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/ > --------------080002010403020007020409 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit I totally agree for general purposes. However,  the users/app in question are Oracle/Sybase Databases writing directly to the devices.   

-jeff





Jason Martin wrote:
On Wed, Feb 16, 2005 at 01:37:10PM -0500, Jeff Bethke wrote:
  
Then I go ahead and reboot the host or someone comes along and runs a 
vgscan.  VOILA!  The perms for those files reset to root:root.   How do 
I prevent that from happeneing?  I want it so that I can make a device 
and set its perms to some user, and forget about it.   Is that even 
possible? If so, how? Or, what am I doing wrong in setting up the lv/vg's?
    
One generally doesn't let non-root users have direct access to
devices. Instead you should format and mount the filesystems on
those drives and give users access to that.

-JM
  

_______________________________________________ linux-lvm mailing list linux-lvm@redhat.com https://www.redhat.com/mailman/listinfo/linux-lvm read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

--------------080002010403020007020409--