How to mount a partition as root and make it world read-write?

Paul Howarth paul at city-fan.org
Tue Nov 16 13:08:51 UTC 2004


VJ wrote:
> under root login, /etc/fstab contains the following line (i changed your
> ext3 to ext2)
> ***********************
> /dev/hdh3               /t            ext2      defaults        1 2
> ***********************
> 
> then root mounted /t
> ***********************
> [root at dxr ~]# mount /t
> 
> ***********************
> 
> under mythtv user
> ***********************
> [mythtv at dxr work]$ mkdir /t/t
> mkdir: cannot create directory `/t/t': Permission denied
> [mythtv at dxr work]$
> 
> ***********************

Perhaps I'm not making myself clear.

With your system in the state after running the above commands, do the 
following as root:

mount /dev/hdh3 /t
chown root:root /t
chmod 1777 /t

This will set up the filesystem. Now umount the filesystem.

umount /t

Now, next time you mount the filesystem, it should work.

mount /t

Try mkdir /t/t as user mythtv.

Paul.




More information about the fedora-list mailing list