Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Partition permissions not persistant

Status
Not open for further replies.

reinstalled

IS-IT--Management
Feb 18, 2003
178
HI,

Running RH EL5 and changing the permissions and owner of partitions (both raw and cooked) using simple chown and chmod
This works fine but does not persist across a reboot.
This a non-system/boot hard drive we are setting up to hold a Sybase ASE db.

What are we doing wrong or is there a better way to accomplish what we are trying to do?

Thanks,
 
One clunky option would be to add the relevant chown and chmod commands to /etc/rc.d/rc.local, or a separate boot-time script if you prefer.

Are they just /dev/sdxxn type devices, or managed by device-mapper?

Annihilannic.
 
Thanks for the reply,

They are manage by LVM.
path is /dev/mapper/VolGroup00

In reading I found the "udev" facility. Am I to use this
to set the permissions on the partitions?

I understand I can do this in several ways. I guess I'm more interested in what the right, or recommended way is.

Trying to set up an ASE db and the sybase user must own the partition(s) it will use.
 
Thanks,

That's a good find.
We went with a start up entry in rc.local.
Red Hat support came back with using either udev or the rc entry.

Thanks for the help!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top