LinuxQuestions.org
Help answer threads with 0 replies.
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 06-22-2005, 05:52 PM   #1
forgiste
LQ Newbie
 
Registered: Jun 2005
Location: Techsus
Distribution: Fedora Core 4
Posts: 5

Rep: Reputation: 0
problems reading media drive


Okay, I'm running Fedora Core 4 (beautiful, especially since I love Red Fedoras..), I've mounted 2 other NTFS volumes already. One has a Windows XP install on it, and the other is used for backup and music.

They are NTFS, and I'm not running captive, so I'm not too worried about people having unauthorized write access to them. Under root, I can access the drives, browse them, and access files, such as my music. However, under my basic user account (which I have assigned to every group on my computer, maybe that was a mistake) I cannot access the files. I've set my user account as the owner of the drives, so I have access to the drives themselves, but all the files and folders inside the drives are locked. Basically, I wish to be able to play my music files under my linux install.

I've tried manually changing the permissions on the files, but it says I cannot change them, even as root. I can however change permissions to the folders.

I apologize if this problem has been posted and or solved by someone else somewhere else, if so, please refer me. Thank you in advance.

Forgiste
 
Old 06-22-2005, 09:28 PM   #2
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
look at man mount:
uid=value, gid=value and umask=value
Set the file permission on the filesystem. The umask value is
given in octal. By default, the files are owned by root and not
readable by somebody else. The umask value is given in octal.

These are mount options you can add to the entry for your NTFS partitions in your /etc/fstab file.
 
Old 06-22-2005, 09:43 PM   #3
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 62
Example of a line for /etc/fstab
Code:
/dev/hda1       	/winxp                  ntfs	umask=000,users,noauto,owner,ro 0 0
 
Old 06-23-2005, 12:45 PM   #4
forgiste
LQ Newbie
 
Registered: Jun 2005
Location: Techsus
Distribution: Fedora Core 4
Posts: 5

Original Poster
Rep: Reputation: 0
Okay it works now, thanks. I actually had my /etc/fstab file setup correctly, but it was wrapping the text, so apparently it screwed up the formatting.

everything starting with umask was on a new line. I just backspaced a few times and it worked.

When booting however, it says
"Mount Point 0 does not exist" twice

it also says that line 10 of /etc/fstab is invalid syntax..

"LABEL=;

if ((ret = swap swap defaults 0 0"

^^ that is lines 8-10 of my /etc/fstab file. I didn't write that, that was automatically written there during the install process.
I'm afraid to delete it, because I want a swap partition to be active. My swap partition is /dev/hdd2, could I just delete the above and put
/dev/hdd2 swap swap defaults 0 0???

thanks again.
 
Old 06-23-2005, 05:26 PM   #5
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 62
Never seen anything like that in fstab. When in doubt make a backup of the file. Then modify the orginal, if you have problems you can easily restore the backuped file. So I would delete those odd lines.

swap would look like what you said.
/dev/hdd2 swap swap defaults 0 0

Brian1
 
  


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
problems reading iso fedora core 4 file from cd/hard drive tencan Fedora - Installation 6 10-31-2005 02:50 PM
Reading and Writing DVD media elsabio Fedora 2 03-06-2005 06:25 PM
reading drive a: ? how laurenaj Linux - Newbie 2 05-12-2004 08:19 PM
Reading Media off the Microsoft Windows 98 Partition saturninus Linux - Newbie 7 08-28-2003 11:35 AM
Debian Linux - Reading the A: Drive acidbreez Linux - Hardware 1 08-10-2003 04:47 AM


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