Fedora Linux Support Community & Resources Center
Old 27th December 2009, 07:11 PM
scott36 Offline
Registered User
Join Date: Jan 2008
Posts: 56
Cant access hard drive - Newbie mistake?

Hi there,

I believe that this is a newbie mistake, but I cant access my fat32 partition from my fresh F12 as normal user (read only).

Thats how the partition is mounted at the moment:

/dev/sda2 on /data type vfat (rw,noexec,nosuid,nodev,gid=100,umask=0002,utf8=true)
What do I need to change to have access as user?

Chown is not working as I get the error:
Chown ... Operation not permitted.

The owner is root at the moment.

Thanks for every hint.

Reply With Quote
Old 27th December 2009, 08:07 PM
jpollard Offline
Registered User
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 7,346
Try changing the umask value. 002 removes execute capabilities on directories,
which prevents listing the contents.

If you want to prevent execution of binaries (not unreasonable) you can set
dmask=0000 (which should allow everything on directories) and
fmask=0222 (which should prevent execution of files).

If the disk is mounted "ro" the write permissions are a don't care, though you could
disable write on the dmask and fmask.
Reply With Quote
Old 27th December 2009, 08:12 PM
JK3MP Offline
Registered User
Join Date: Sep 2008
Age: 27
Posts: 136
Obviously you can't change permissions or owner from a non root account. Do you not have root access?
My IT Blog
Reply With Quote
Old 28th December 2009, 01:37 AM
scott36 Offline
Registered User
Join Date: Jan 2008
Posts: 56
Yes, I do have root access to mount and chown, but there's the message that the operation is permitted. I'll try the changes in the fstab and let you know.

---------- Post added at 01:37 AM CST ---------- Previous post was Yesterday at 09:32 PM CST ----------

Well, I tried umask=0000 but there's still the same problem!

The only thing is that I am allowed as user to create files and folders but I cant change owner of the files (as root) with

chown -R USERNAME /data/
I still get the error that the operation is not allowed.

As well, when I delete an existing file I get the error that I cant move the data to the trash and the file needs to be deleted imediately.

What is wrong there?
Reply With Quote
Old 28th December 2009, 04:32 AM
sidebrnz Offline
Registered User
Join Date: Oct 2007
Location: Freedonia
Age: 68
Posts: 3,009
*Shrug!* I've always had good luck with using auto,umask=0000 as the only options. (If you don't want it mounted at boot, use noauto instead.) Of course, I want to be able to run programs under either wine or dosbox, and YMMV. As far as not changing the owner, I'm not sure if you can do that with vfat, any more than you could turn off execution, as the filesystem doesn't support that.
Registered Linux user #470359 and permanently recovered BOFH.

Any advice in this post is worth exactly what you paid for it.
Reply With Quote

access, drive, hard, mistake, newbie

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
Trying to access old Fedora hard drive claudius1974 Hardware & Laptops 7 17th January 2011 10:38 PM
Hard Drive Access Tekno_Cowboy Security and Privacy 7 10th January 2009 08:53 AM
Constant Hard Drive Access ov10fac Using Fedora 8 14th June 2008 01:53 PM
Unable to access second hard drive Shyfe Hardware & Laptops 2 1st June 2007 08:41 PM
Newbie adding a hard drive Lodnod Using Fedora 3 15th February 2005 02:31 AM

Current GMT-time: 07:02 (Thursday, 21-09-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

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