Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 14th November 2004, 04:02 AM
veraction Offline
Registered User
 
Join Date: Nov 2004
Posts: 21
Allowing users to write/modify files in mounted filesystems?

I've just installed Fedora Core 3 a few days ago and am really liking it. (am a linux newbie)

Anyways, I was wondering how I would go about allowing all users to write/modify files in a mounted (hard drive partition) file system. Currently, I have to go in root to do anything like this. I tried doing a chmod of my mount folders but that didn't work.

Heres the section of my /etc/fstab file where I am having issues.. I want all users to be able to write and move files in that file system.

/dev/hde6 /mnt/data vfat user 0 0
/dev/hde1 /mnt/windows vfat user 0 0

Thanks

BTW, anyone know of a good DC client? I tried dcgui-qt and it seemed all messed up. I tried LDCC but couldn't extract the files in the pre-req Turbo Vision. DCTC's website seems to be down, though I found their file mirrored someplace else but it wouldn't work..
Reply With Quote
  #2  
Old 14th November 2004, 04:08 AM
int80h Offline
Registered User
 
Join Date: Oct 2004
Posts: 6
/dev/hda8 /data vfat defaults,umask=000 0 0

the "umask=000" part gives everyone read/write acess.
Reply With Quote
  #3  
Old 14th November 2004, 05:42 AM
veraction Offline
Registered User
 
Join Date: Nov 2004
Posts: 21
Ok, I changed the two lines in the fstab file to this:

Code:
/dev/hde6 /mnt/data vfat,defaults,umask=000 0 0
/dev/hde1 /mnt/windows vfat,defaults,umask=000 0 0
and the users still cannot write/modify from these mounted file systems..

any idea?
Reply With Quote
  #4  
Old 14th November 2004, 06:03 AM
kostas Offline
Registered User
 
Join Date: Sep 2004
Location: Greece
Posts: 13
hi
try this one:
vfat auto,rw,user,umask=000 0 0
good luck
Reply With Quote
  #5  
Old 14th November 2004, 06:43 AM
int80h Offline
Registered User
 
Join Date: Oct 2004
Posts: 6
/dev/hde6 /mnt/data vfat,defaults,umask=000 0 0

should be:

/dev/hde6 /mnt/data vfat defaults,umask=000 0 0

you have an extra "," between vfat and defaults. You might have to unmount/mount a partition after you change fstab.
Reply With Quote
  #6  
Old 14th November 2004, 02:42 PM
veraction Offline
Registered User
 
Join Date: Nov 2004
Posts: 21
Well, I tried this, and it didn't work (which I expected):
Code:
/dev/hde6 vfat auto,rw,user,umask=000 0 0
/dev/hde1 vfat auto,rw,user,umask=000 0 0
Also tried this, with no success:
Code:
/dev/hde6 /mnt/data vfat defaults,umask=000 0 0
/dev/hde1 /mnt/windows vfat defaults,umask=000 0 0
I'll keep trying..
Reply With Quote
  #7  
Old 14th November 2004, 02:48 PM
zAo Offline
Registered User
 
Join Date: Nov 2004
Posts: 46
Quote:
Originally Posted by veraction
Well, I tried this, and it didn't work (which I expected):
Code:
/dev/hde6 vfat auto,rw,user,umask=000 0 0
/dev/hde1 vfat auto,rw,user,umask=000 0 0
Also tried this, with no success:
Code:
/dev/hde6 /mnt/data vfat defaults,umask=000 0 0
/dev/hde1 /mnt/windows vfat defaults,umask=000 0 0
I'll keep trying..
Tried to umount/mount ?
Reply With Quote
  #8  
Old 14th November 2004, 02:54 PM
veraction Offline
Registered User
 
Join Date: Nov 2004
Posts: 21
Well, I changed the fstab file, then umounted, then mounted, then swtiched to a user to try to modify mnt/data but no success

then tried restarting computer, I noticed during booting, it said that like 10 & 11 in fstab were incorrect (which are those two lines)
Reply With Quote
  #9  
Old 14th November 2004, 03:01 PM
veraction Offline
Registered User
 
Join Date: Nov 2004
Posts: 21
Ok, I finally got it Thanks for your help.

Here is what worked finally (which I thought I tried already..)
Code:
/dev/hde6              /mnt/data                vfat    defaults,umask=000 0 0
/dev/hde1              /mnt/windows             vfat    defaults,umask=000 0 0
Reply With Quote
  #10  
Old 14th November 2004, 04:33 PM
stevewabc Offline
Registered User
 
Join Date: Aug 2004
Posts: 32
I have no problems with mine its set up like this:

/dev/hda5 /Windows vfat rw,umask=000 0 0
Reply With Quote
  #11  
Old 14th November 2004, 06:23 PM
reddragon72 Offline
Registered User
 
Join Date: Nov 2004
Location: houston, TX
Posts: 45
Well I'm in the same boat here , but I get a slightly different error. I can only mount the drive in root and when I try to access the drive from non root I get a "Could not enter folder /mnt/hdb"
here is my fstab entry for it

/dev/hdb1 /mnt/hdb ntfs defaults,unmask=000 0 0


I have tried everything. But whenever the drive is mounted the permissions for group goes from read to forbidden, and even as root I cannot change it. So for some unkown reason I cannot access /mnt/hdb after the drive is mounted. root can read the drive so i know that the ntfs reader is working, but nothing seems to work to change the forbidden to read. I had no issue with this in debian so I'm not sure if it's just the new fstab or what. Thanks for any help. Oh and yes I even mounted and unmounted over and over. Man this is killing me.
Reply With Quote
  #12  
Old 14th November 2004, 11:23 PM
Daizy Offline
Registered User
 
Join Date: Nov 2004
Age: 32
Posts: 66
Exclamation Oops!

not unmask, umask!

and remove defaults from there as well!
Reply With Quote
Reply

Tags
allowing, files, filesystems, mounted, users, write or modify

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
vsftpd: will not allow ftp users to create, modify, or delete files giftiger_wunsch Using Fedora 5 5th June 2009 12:18 PM
How to set context allowing user to modify /var/www lvona Security and Privacy 4 24th November 2006 07:44 AM
Copying files to my hard drive and allowing write access schpunty Using Fedora 2 24th April 2006 01:57 AM


Current GMT-time: 14:52 (Wednesday, 22-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat