LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 06-29-2011, 04:36 PM   #1
MYQLTECH
LQ Newbie
 
Registered: Jun 2011
Posts: 1

Rep: Reputation: Disabled
Permissions can't be changed on mounted Fat32 USB HDD


I'm new to Linux but have a little experience with it, using UBUNTU 11.04, I have an external 1TB USB HDD mounted to this computer which is running dual boot with Windows7. The HDD is formatted FAT32 and I've set the share options but the permissions for allowing others to access it say NONE and cannot be changed. my other UBUNTU 11.04 computer can see the ShareName that I set for my HDD and even individual files on my usb HDD that I've shared but it is unable to access them. Error recieved: unable to mount location - Failed to mount windows share. I formatted a thumbdrive to ext3 and was able to change permissions and my other computer accesses it just fine.

Other Threads seem close to this but not quite the same thing, in my research FSTAB is not for removable data and I am unfamiliar with how to run CHMOD 777, I don't know what it does, and have heard that it doesn't fix my issue anyways
 
Old 06-29-2011, 08:40 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,317
Blog Entries: 28

Rep: Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140
You say it is mounted.

What happens when you unmount and remount it?
 
Old 06-30-2011, 12:48 AM   #3
Blue_Ice
Member
 
Registered: Jul 2006
Location: Belgium
Distribution: Debian, Fedora, CentOS, Windows
Posts: 361

Rep: Reputation: Disabled
FAT32 does not support permissions and the mounting problem might be because not the right drivers are installed.
 
1 members found this post helpful.
Old 06-30-2011, 07:41 AM   #4
littlejoe5
Member
 
Registered: Aug 2006
Location: Arizona
Distribution: ubuntu dirivatives mostly Mate
Posts: 260

Rep: Reputation: 19
Are you sure that it is formatted Fat32? If it is NTFS (very common with Windows) then you will need to install from your repositories ntfs-3g in order to access it. Like this:
apt-get install ntfs-3g

I'm using Mint 10, which is very similar to your Ubuntu, and have no difficulty accessing either Fat32, or NTFS on a USB drive.
 
1 members found this post helpful.
Old 06-30-2011, 03:01 PM   #5
maury0324
Member
 
Registered: Jul 2003
Location: Florida
Distribution: Debian Squeeze amd_64
Posts: 66

Rep: Reputation: 16
Try doing a gksudo nautilus to manage the permissions on the drive. Be careful and be sure of what your doing. I have done this in the past
sometimes when switching distros.
 
0 members found this post helpful.
Old 07-01-2011, 11:25 AM   #6
jgbreezer
LQ Newbie
 
Registered: Mar 2011
Location: London, UK
Distribution: Ubuntu + Redhat(work)
Posts: 7

Rep: Reputation: 0
First, you were curious about chmod. chmod CHanges file MODes. The file 'mode' is usually called permissions, and is whether it is readable, writeable, or executable (ie. if you can run it as a program, or if the execute permission is set on a directory, whether you can set it as your current directory). You also have the user who owns the file and its group.

I suspect that the files on the drive are set not to be readable by anyone other than the logged-in-user (and probably their group) when the drive is plugged in and the machine turned on. The machine trying to use the drive accesses it as the user/group depending on what your machine is set up to allow them to use, which is failing because it that user is not you.

You can set the USB disk to be mounted to be readable by everyone (not sure how to do this in the GUI, but adding options to an entry in fstab for the drive would allow it - may need to create a permanent entry which the system should use again each time). This obviously is less secure. Or you can make the USB drive mounted by a group/user that both of you can read/write as appropriate. Not sure what user the remote computer is accessing it as - is there an equivalent local user on your machine? Or maybe its accessing it as a general network-share 'guest' or equivalent anonymous user (if so, you probably dont want to open up the drive to be accessed by guest cos then anyone at all on the network could do the same read/write).

Sorry for not providing easy command lines or places to change in config files/a user-interface step-through, but I think thats the basics of how to make it do what you want.
 
0 members found this post helpful.
Old 07-01-2011, 01:09 PM   #7
dark_30
LQ Newbie
 
Registered: Nov 2007
Posts: 1

Rep: Reputation: 0
Just a guess. If the "immutable" flag is set not even root can change permissions or delete the file. Take a look at man chattr and man lsattr. So look with lsattr /path/dir_or_file. If you see an "i" in the first field, that's what stops you. I think ls -l /path/file may also show this. chmod is good to know as well. chmod 775 will give -rwxrwxr-x perms. If this is a directory x perms are needed to cd into the dir. Hope this helps.

---------- Post added 07-01-11 at 01:09 PM ----------

Oops, remember. Everything in linux is a file.
 
0 members found this post helpful.
Old 07-01-2011, 04:24 PM   #8
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,978

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
Many distros have a user permission or privileges to allow access to removable storage.

See this page about half way down.

https://help.ubuntu.com/community/Mount/USB
 
Old 08-12-2011, 11:03 PM   #9
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
Quote:
Originally Posted by Blue_Ice View Post
FAT32 does not support permissions ...
Blue_Ice is right. Please stop trying to help w/ a problem that is inherent in the M$ file system & cannot be "fixed".

Quote:
Originally Posted by Blue_Ice View Post
... the mounting problem might be because not the right drivers are installed.
Please let's concentrate on this real problem.
 
  


Reply



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
Write permissions on a mounted fat32 partition Cain_vX Linux - Newbie 1 03-27-2006 02:54 PM
How to Adjust permissions for a mounted windows fat32 filesystem greengrocer Linux - Newbie 2 08-28-2005 01:21 AM
permissions and mounted fat32 partition ianunderwood Linux - Newbie 8 06-25-2003 05:17 AM
Permissions on FAT32 mounted disks in RH 8 Hdata Linux - Newbie 9 04-21-2003 01:50 PM

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

All times are GMT -5. The time now is 04:02 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