How to mount a partition as root and make it world read-write?
rodolfo.alcazar at padep.org.bo
Tue Nov 16 12:21:31 UTC 2004
El mar, 16-11-2004 a las 12:07 +0000, VJ escribió:
> 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
Rodolfo Alcázar (rodolfo.alcazar at padep.org.bo)
Administrador datos y red - Padep/GTZ
La Paz, Bolivia
More information about the users