Red Hat Topics - mounted filesys can be written only by root

This is Interesting: Free IT Magazines  
Home > Archive > Red Hat Topics > October 2005 > mounted filesys can be written only by root





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author mounted filesys can be written only by root
Francesco Montorsi

2005-10-04, 5:48 pm

Hi,
sorry by I'm a linux newbie: I'm using FC4 and I need to mount a partition on the
promise RAID controller on my A8V motherboard: I do:


dmraid -ay

to create the mapping in

/dev/mapper/pdc_ehfbdhffi8

then I try to do (as root):

mount -o user /dev/mapper/pdc_ehfbdhffi8 /mnt/mypart

and it works but I have only read accesses to /mnt/mypart when using a non-root user....
how can I do ?


I also tried

mount -o umask=0777 /dev/mapper/pdc_partition1 /mnt/mypart

but in this case I get the message:

mount: wrong fs type, bad option, bad superblock on /dev/mapper/pdc_ehfbdhffi8,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so


also, when using the command

/sbin/e2fsck /dev/mapper/pdc_ehfbdhffi8

I get the message:

[root@d83-176-96-165 frm]# /sbin/e2fsck /dev/mapper/pdc_ehfbdhffi8
e2fsck 1.37 (21-Mar-2005)
/sbin/e2fsck: Permission denied while trying to open /dev/mapper/pdc_ehfbdhffi8
You must have r/w access to the filesystem or be root
[root@d83-176-96-165 frm]#

but I ran the command as root !


Thanks for any hint,
Francesco
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com