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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



----- Original Message ----- 
From: "Rodolfo Alcázar" <rodolfo.alcazar@xxxxxxxxxxxx>
To: "For users of Fedora Core releases" <fedora-list@xxxxxxxxxx>
Sent: Tuesday, November 16, 2004 12:21 PM
Subject: Re: How to mount a partition as root and make it world read-write?


> El mar, 16-11-2004 a las 12:07 +0000, VJ escribió:
>
> > Hi,
> >     I read man mount and tried various options but could not do what I
need.
> > I want to mount /dev/hdh3 as /tmp. /dev/hdh3 is ext2 formatted
partition.
> > Also I want to make it have permissions of 777 so that all programs run
by
> > all users and daemons (under any login) can access it. Kindly tell me
what
> > options will go into fstab.
>
> 1) /tmp is a system dir. Create a directory of your own, or you could
> lose information. Do not use /tmp!
>
> 2) I believe you should try umask=000, I think this is a reverse mask,
> say 027 will give you rwxr-x--- permissions. Just try, I didn't.
> Example, if your userid is 500 and your groupid:
>
> /dev/hda3 /mytmp ext2 auto,uid=500,gid=100,umask=027 0
>
> good luck.
> -- 
> Rodolfo Alcázar (rodolfo.alcazar@xxxxxxxxxxxx)
> Administrador datos y red - Padep/GTZ
> La Paz, Bolivia
>
> -- 
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
>

I want this to move my /tmp to another partition to make use of an un-used
partition(small one). I know it will break things if I just do it blindly. I
want this partition to be mounted during boot so that all daemons/programs
by other uses use this partion as /tmp.

Your method of using uid=??? is not supported by options for ext2 (see man
page and also try doing it practically) See below

***********************************************
[root@dxr ~]# mount /dev/hdh3 /t -o noatime,uid=0,gid=0,umask=000
mount: wrong fs type, bad option, bad superblock on /dev/hdh3,
       or too many mounted file systems
[root@dxr ~]# mount /dev/hdh3 /t -o noatime,uid=0,gid=0
mount: wrong fs type, bad option, bad superblock on /dev/hdh3,
       or too many mounted file systems
[root@dxr ~]# mount /dev/hdh3 /t -o noatime,uid=0
mount: wrong fs type, bad option, bad superblock on /dev/hdh3,
       or too many mounted file systems
[root@dxr ~]# mount /dev/hdh3 /t -o noatime

***********************************************
The last command actually mounted it, and did not complain. so clearly those
extra options are not supported.

Regards from VJ


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux