LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Mount ext3 hard drive with umask=0 (https://www.linuxquestions.org/questions/linux-general-1/mount-ext3-hard-drive-with-umask%3D0-313426/)

trpn 04-15-2005 12:37 AM

Mount ext3 hard drive with umask=0
 
I have a hard drive that is formatted with ext3 filesystem .. It has nothing on it right now as I would like to just use it as storage. It is one big partition.

I would like to have regular users be able to read and write to it but I cannot figure out how to set it to umask=0 (like you can with ntfs or fat partitions in fstab). ext3 does not have that option (yes, I checked the man pages).

What is the option to include in fstab to make ext3 drives read/write to anyone that mounts it?

trpn 04-15-2005 12:57 AM

nevermind

just chmod the mountpoint....
really should go to bed after that mistake.

munchkins 04-16-2005 06:39 AM

yeah, you don't need to add "umask=0"

sagar.1986 12-28-2006 06:45 AM

i mounted my ext3 partitions with no umask (it is not possible to give it anyway) and chmod worked out. However if i create a new directory now it will have drwxr-xr-x which means i cant write in to it:confused:
How can i mount ext3 so that any newly created directory will have permissions like :drwxrwxrwx ?

ygloo 12-28-2006 06:28 PM

don't think "chmod" mount point is a good idea, try with -
mount -o user,rw /dev/partition /mnt/somewhere

ygloo 12-29-2006 11:35 AM

check out "sticky bit"

http://www.unixguide.net/hp/faq/5.1.9.shtml

masteryuri 09-13-2008 07:41 PM

Quote:

Originally Posted by trpn (Post 1591999)
just chmod the mountpoint....

It's true.

Code:

sudo chmod -R a+xrw [directory] or [file]

I am in this thread for the same trpn's reason.
Though very late, I add the solution for others who visit this thread.


All times are GMT -5. The time now is 08:36 AM.