LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-14-2003, 01:14 AM   #1
thewaker
LQ Newbie
 
Registered: Aug 2003
Location: Canada, Eh!
Distribution: Slackware 10.0
Posts: 5

Rep: Reputation: 0
Angry External Drive Mounted, Can't access as a user


Linux Newbie...

My Distro is SUSE 8.2, Kernel 2.4.20-4GB, installed on a Toshiba Satellite 1800-s100.

I have a 14 GIG external Toshiba drive Connected via USB, through a USB 2.0 Cardbus card. It is formatted as FAT32. The drive is recognized; Mounts automatically both root, and user; and I can write to it --- but only as root.

Here is my /etc/fstab entry:

/dev/sda1 /windows/External vfat user 0 0

I can't change ownership of directories on this drive, nor can I change ownership of the drive itself!

When I create a directory X and then chown it to the user I want to let access that directory I get "Can't change permissions on folder X, You do not have sufficient privleges to do this" --- this being whilst logged on as ROOT!

Example:
linux:/windows/External # mkdir TheWaker
linux:/windows/External # chown -c thewaker TheWaker
chown: changing ownership of `TheWaker': Operation not permitted
linux:/windows/External #
(I am logged on as root here)

This is annoying the heck out of me....all I want to do is write files to this drive in both Linux and WinXP so I can share back and forth with ease!

Any help is greatly appreciated, and I hope I've included enough information.
 
Old 08-14-2003, 03:54 AM   #2
joyxf86
LQ Newbie
 
Registered: Aug 2003
Location: India
Distribution: Red Hat 9.0
Posts: 9

Rep: Reputation: 0
This *might* work...

in /etc/fstab
1. add the device and mount point.
2. specify the file system as auto
3. specify the other options as-rw,owner,user
4. mount the drive.
 
Old 08-14-2003, 07:43 AM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,784

Rep: Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936
Are you trying to change permissions of the directory with the drive mounted?

This question is asked a lot here so have you searched the stite yet?

Hint: You will need to add the option umask=000 to the entry in the /etc/fstab file.
 
Old 08-14-2003, 12:32 PM   #4
thewaker
LQ Newbie
 
Registered: Aug 2003
Location: Canada, Eh!
Distribution: Slackware 10.0
Posts: 5

Original Poster
Rep: Reputation: 0
Ha, I don't know what I did, but it's working now.

Actually I did nothing....I rebooted a few times whilst configuring other hardware...

I've been reading from/writing to it all morning...GIG after GIG...

By the way...I did search the forum, but couldn't seem to find any information answering my specific problem.

Anyways Thanks for you help...I'll remember those answers for the future
 
Old 08-14-2003, 03:26 PM   #5
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
A useful addition to a suitable umask value is your user id number ( uid =xxx ) - it grants you ownership of your mounted files etc.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
External Hard Drive --No Access as USER only ROOT (10.1) 1kyle Mandriva 1 10-31-2004 09:09 AM
cant access mounted drives when logged in as a user Shantesh Linux - General 1 12-25-2003 08:07 PM
write access to mounted drive woja Linux - Newbie 3 11-05-2003 02:24 AM
External Hard Drive Not Mounted during Install chazdg Mandriva 5 10-30-2003 11:02 AM
Common user access to mounted partitions? JoooN Slackware 2 02-16-2003 06:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:19 AM.

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