LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 06-28-2004, 10:05 AM   #1
illiniguy3043
Member
 
Registered: May 2004
Location: Illinois
Distribution: Ubuntu 8.04
Posts: 56

Rep: Reputation: 15
Can't read off 2nd hard disk (Mandrake 10)


I want to read off of my other hard disk which has Windows on it and I was able to for a while and then magically after I restarted my computer and booted into Windows and then restarted again and booted back into Linux I was no longer able to read off my Windows hard disk in Linux....what gives? Before I could access it using my normal username; now I can only read it if I go into the terminal as root. Harddrake says that my Windows hard disk is owned by root (makes sense but I thought I'd just throw it in there). My /etc/fstab is posted below.


/dev/hda1 / ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hda6 /home ext3 defaults 1 2
/dev/hdb2 /home/windows ntfs umask=755,user,suid,dev,exec 0 0
/dev/hdc /mnt/cdrom auto umask=0,user,iocharset=iso8859-1,codepage=850,noauto,ro,exec 0 0
/dev/hdd /mnt/cdrom2 auto umask=0,user,iocharset=iso8859-1,codepage=850,noauto,ro,exec 0 0
none /proc proc defaults 0 0
/dev/hda5 swap swap defaults 0 0
 
Old 06-28-2004, 05:16 PM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 683Reputation: 683Reputation: 683Reputation: 683Reputation: 683Reputation: 683
The umask=755 only allows writing files on the partition. umask=0222 might be better for a NTFS partition, since you can't write to the partition anyway. Since the owner and group are root, the last number of the umask is what is important.

Consider creating a group for the purpose of controlling access to this drive, and using the gid=<groupname> option. Then you can control which users can access the partition by making allowed users members of the group.
 
  


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
suse 9.2 won't read my hard disk clearestchannel Linux - Newbie 9 11-09-2005 09:55 AM
Disappearing partitions during or after SUSE 9.2 install on 2nd 250GB Hard Disk. winterfeld SUSE / openSUSE 0 02-21-2005 01:03 PM
SuSE 9.2 Won't Read My Hard Disk clearestchannel SUSE / openSUSE 1 11-30-2004 02:19 PM
Problem mounting ext3 filesystem on 2nd Hard Disk judgedeath2 Linux - Hardware 2 08-16-2004 09:43 AM
Read Only hard disk? GTBlackwell Linux - Hardware 3 12-16-2003 10:16 AM

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

All times are GMT -5. The time now is 12:15 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
Open Source Consulting | Domain Registration