LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-15-2005, 01:37 AM   #1
trpn
Member
 
Registered: Oct 2002
Posts: 31

Rep: Reputation: 15
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?
 
Old 04-15-2005, 01:57 AM   #2
trpn
Member
 
Registered: Oct 2002
Posts: 31

Original Poster
Rep: Reputation: 15
nevermind

just chmod the mountpoint....
really should go to bed after that mistake.
 
Old 04-16-2005, 07:39 AM   #3
munchkins
LQ Newbie
 
Registered: Apr 2005
Distribution: Slackware 10.0
Posts: 20

Rep: Reputation: 0
yeah, you don't need to add "umask=0"
 
Old 12-28-2006, 07:45 AM   #4
sagar.1986
LQ Newbie
 
Registered: Nov 2006
Posts: 20

Rep: Reputation: 0
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
How can i mount ext3 so that any newly created directory will have permissions like :drwxrwxrwx ?
 
Old 12-28-2006, 07:28 PM   #5
ygloo
Member
 
Registered: Aug 2006
Distribution: slack
Posts: 323

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

Last edited by ygloo; 12-28-2006 at 08:01 PM.
 
Old 12-29-2006, 12:35 PM   #6
ygloo
Member
 
Registered: Aug 2006
Distribution: slack
Posts: 323

Rep: Reputation: 30
check out "sticky bit"

http://www.unixguide.net/hp/faq/5.1.9.shtml
 
Old 09-13-2008, 08:41 PM   #7
masteryuri
LQ Newbie
 
Registered: Sep 2008
Posts: 2

Rep: Reputation: 0
Quote:
Originally Posted by trpn View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to mount a external hard drive in ext3 format? kuertensun Linux - Newbie 12 09-06-2005 07:51 PM
Cannot mount ext3 filesystem on damaged hard drive Mathieu_G Linux - Hardware 3 04-01-2005 11:51 PM
mount network drive fstab/umask? J.Q. Monkey Linux - Newbie 3 02-24-2004 01:49 PM
Mounting an ext3 hard drive harperonline Linux - Hardware 1 03-14-2003 05:27 AM
usb hard drive crash, kernel 2.4.20 and ext3 mount failure cmisip Linux - General 2 03-04-2003 08:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration