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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
06-22-2005, 05:52 PM
|
#1
|
LQ Newbie
Registered: Jun 2005
Location: Techsus
Distribution: Fedora Core 4
Posts: 5
Rep:
|
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
|
|
|
06-22-2005, 09:28 PM
|
#2
|
Senior Member
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549
Rep:
|
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.
|
|
|
06-22-2005, 09:43 PM
|
#3
|
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:
|
Example of a line for /etc/fstab
Code:
/dev/hda1 /winxp ntfs umask=000,users,noauto,owner,ro 0 0
|
|
|
06-23-2005, 12:45 PM
|
#4
|
LQ Newbie
Registered: Jun 2005
Location: Techsus
Distribution: Fedora Core 4
Posts: 5
Original Poster
Rep:
|
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.
|
|
|
06-23-2005, 05:26 PM
|
#5
|
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:
|
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
|
|
|
All times are GMT -5. The time now is 05:28 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|