Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 08-18-2006, 01:16 PM   #1 (permalink)
 
True Techie

Join Date: Sep 2005

Posts: 179

trekkie00 is on a distinguished road

Default Permissions Problem

I just installed Ubuntu Linux a few days ago. In order to get it installed correctly, I removed the cables to one of my hard drives. I reattached it and got it to mount when the system starts up. However, unless I'm a superuser, it won't allow me to do anything with the folder except read it.

I logged in as an admin and tried to change the owner and group, but it comes up with an error saying it can't be changed. I then try to change the individual permissions below that, but they unselect themselves. I tried doing "sudo chmod 777 /(folder)", but it doesn't seem to have any effect. Does anyone know what I should try next?
trekkie00 is offline  
Old 08-18-2006, 03:09 PM   #2 (permalink)
Law
Law's Avatar
 
Wizard Techie

Join Date: Aug 2005

Location: the data closet

Posts: 4,172

Law is on a distinguished road

Default

What file system is it?
__________________

Law is offline  
Old 08-18-2006, 03:22 PM   #3 (permalink)
 
True Techie

Join Date: Sep 2005

Posts: 179

trekkie00 is on a distinguished road

Default

The drive is formatted (in windows) as FAT32.
__________________
Computers:
(Laptop) Dell Vostro 1400 / Core 2 Duo T5670 1.8ghz / 2gb RAM / 8400M GS / 250gb HDD / XP-Windows 7-Ubuntu Triple Boot
(Desktop) Athlon X2 4000+ / 2gb RAM / 9800GT / 250GB + 1TB HDD / XP-Vista-Windows 7-Ubuntu Quad Boot

Windows 7 is looking to be great - if M$ doesn't screw it up!
trekkie00 is offline  
Old 08-18-2006, 03:30 PM   #4 (permalink)
Law
Law's Avatar
 
Wizard Techie

Join Date: Aug 2005

Location: the data closet

Posts: 4,172

Law is on a distinguished road

Default

Create a directory call Windows in the /mnt directory call it whatever, I'll just use windows as my example

Go to /etc directory and edit the fstab file with the following, make sure to leave a line after the last one. Then just type mount /dev/sdb5 in the terminal. sdb5 would be my example, you need to enter the correct one. If you want it to mount automatically ever time the OS is started, remove the noauto,

/dev/sdb5 /mnt/windows vfat noauto,rw,users,umask=000 0 0
Law is offline  
Old 08-18-2006, 04:03 PM   #5 (permalink)
 
Banned

Join Date: Sep 2005

Posts: 5,191

The General

Default

To find out which /dev it is, do:
Code:
cat /proc/partitions

The General is offline  
Old 08-18-2006, 10:43 PM   #6 (permalink)
 
True Techie

Join Date: Sep 2005

Posts: 179

trekkie00 is on a distinguished road

Default

Thanks, I've gotten it working great now. I had edited fstab, but just put "default" instead of the whole "rw,users,umask=000".

Now I know where to come if I have questions about all this. I've been a "happy" Windows user for the past ten years, so all the command line stuff is pretty odd to me.
__________________
Computers:
(Laptop) Dell Vostro 1400 / Core 2 Duo T5670 1.8ghz / 2gb RAM / 8400M GS / 250gb HDD / XP-Windows 7-Ubuntu Triple Boot
(Desktop) Athlon X2 4000+ / 2gb RAM / 9800GT / 250GB + 1TB HDD / XP-Vista-Windows 7-Ubuntu Quad Boot

Windows 7 is looking to be great - if M$ doesn't screw it up!
trekkie00 is offline  
 
Closed Thread

Thread Tools
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
Trackbacks are On
Pingbacks are On
Refbacks are On