LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-29-2003, 03:53 PM   #1
jeopardyracing
Member
 
Registered: Sep 2003
Posts: 175

Rep: Reputation: 30
Permissions


Okay, I'm stumpted again and need your help.

Here's the setup: Toshiba Satellite notebook. Dual boot Red Hat 9.0 and Windows XP. As seen in Partition Magic, reading from left to right, the drive is laid out this way:

Red Hat (5 gig) - Windows XP NTFS (7 Gig) - FAT 32 Data (8 gig)

I'm trying to get Red Hat to be able to write to the FAT32 partition, in part so that I can network another notebook to the Toshiba so the Toshiba can accept periodic backups. Here is what I have done to try to access the FAT 32 partion:

su

mkdir /mnt/windows

mount -t vfat /dev/hda5 /mnt/windows

Now I can see all the files on the FAT 32 but I can't write to any of the folders. I tried to log in as root and change the permissions but it said I didn't created the folder so I couldn't change permissions! The FAT32 was of course created in Windows months before Red Hat was installed. Even though I substituted user while logged in as my usual identity, it lists the created of the directory as root. But even whether I am logged in as root or my usual login ID, it won't let me change the permissions (I'm trying to change them via the GUI, not the command line - a possible cause?)

Also, how can I rig the machine to mount that directory each time? After rebooting I noticed that the directory was still there but no longer mounted to the FAT partition.

Thanks!
 
Old 09-29-2003, 03:59 PM   #2
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
To mount a FAT32 filesystem automatically on Boot-up, put this entry at the bottom of your /etc/fstab file on a new line.

/dev/hda5 /mnt/windows vfat umask=000,defaults 0 0
 
Old 09-29-2003, 05:11 PM   #3
jeopardyracing
Member
 
Registered: Sep 2003
Posts: 175

Original Poster
Rep: Reputation: 30
permissions

Forgive my ignorance, since I'm still working through the Sam's book on Red Hat, but what are the permissions associated with that entry and for which users / groups? I'm just a little concerned about security so I want to be sure I understand the entry fully.

Thanks for the response! You guys are QUICK!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
file permissions OK, but command permissions? stabu Linux - General 2 10-05-2005 01:00 PM
permission ... permissions .... permissions alaios Linux - General 1 05-31-2005 05:16 AM
Permissions jymmi Linux - Newbie 3 04-15-2005 12:43 AM
Permissions help reddog64 Linux - Newbie 1 04-22-2004 06:23 PM
getting a directory's permissions and creating a new one with the same permissions newbie1000101 Programming 1 04-10-2004 01:52 PM


All times are GMT -5. The time now is 03:14 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration