LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 08-11-2006, 11:23 AM   #1
Hisse
LQ Newbie
 
Registered: May 2005
Posts: 7

Rep: Reputation: 0
Can't access windows drives


I recently did an install of suse 10.1 all went well untill today when i attempted to access my windows ntfs and fat drives to get my music. If i try to access them through the my computer button or if i try to mount them(they haven't been mounted) I get a little pop-up window that says "permissions denied" I have tried accessing them from my normal user and from root and neither works. Could someone please give me some advice as to what i can try?
 
Old 08-11-2006, 11:55 AM   #2
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Location: Horgau, Germany
Distribution: Manjaro KDE, Win 10
Posts: 2,199

Rep: Reputation: 164Reputation: 164
Please post /etc/fstab.
 
Old 08-11-2006, 12:09 PM   #3
Hisse
LQ Newbie
 
Registered: May 2005
Posts: 7

Original Poster
Rep: Reputation: 0
/dev/hdb6 / ext3 acl,user_xattr 1 1
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
/dev/fd0 /media/floppy auto noauto,user,sync 0 0
 
Old 08-11-2006, 01:34 PM   #4
sIn_mAfIje
LQ Newbie
 
Registered: May 2006
Location: serbia
Distribution: suse 9.3,slackware 10.2
Posts: 25

Rep: Reputation: 15
in fstab on line where is your win particion add these line
rw,user,users,auto,umask=0000 0 0
so if it writes
/dev/hda5 /windows ntfs defaults 0 0
change it to
/dev/hda5 /windows ntfs rw,user,users,auto,umask=0000 0 0
im not sure about the umask if 0000 dont work try 0222

but in these fstab i dont see your win particion ...

Last edited by sIn_mAfIje; 08-12-2006 at 02:21 AM.
 
Old 08-11-2006, 02:33 PM   #5
Hisse
LQ Newbie
 
Registered: May 2005
Posts: 7

Original Poster
Rep: Reputation: 0
The problem is i can't even mount them the only way i can even see that they are there(other than knowing) is by going into the "my computer" icon on the desktop and they apear there as media:/hda1(ntfs drive), media:/hdb5(ntfs partition), and media:/hda5(fat partition)

If i click on them there or right click and click mount i get a little window that pops-up and says "permissions denied" and a blank konqueror window opens up that says media:/hda1 in the title bar but there is nothing there.

Could it possibly be a problem with samba or wouldn't that apply here?
 
Old 08-12-2006, 02:04 AM   #6
sIn_mAfIje
LQ Newbie
 
Registered: May 2006
Location: serbia
Distribution: suse 9.3,slackware 10.2
Posts: 25

Rep: Reputation: 15
u cant mount as regular user u must be root
in console type
su
mount /dev/hda1 /windows(or what is your path to that particion)
 
Old 08-12-2006, 02:14 AM   #7
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Since these drives are fixed, you could run the YaST2 partitioner program so that they are mounted when you boot up.
For fat32 (vfat) and ntfs partitions you can use the "uid=" option to make yourself the owner of the drives. You will be able to write to the Fat32 drive and read from the ntfs drive.
 
Old 08-12-2006, 10:18 PM   #8
Hisse
LQ Newbie
 
Registered: May 2005
Posts: 7

Original Poster
Rep: Reputation: 0
ok this is what fstab currently looks like

/dev/hdb6 / ext3 acl,user_xattr 1 1
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
/dev/fd0 /media/floppy auto noauto,user,sync 0 0
/dev/hda1 /C ntfs rw,user,users,auto,umask=0222 0 0
/dev/hdb5 /E ntfs rw,user,users,auto,umask=0222 0 0

I managed to get it mounted using yast partitioner but i can still only access it from root, i tried 0000 and 0222 neither worked for me i tried putting uid= with my uid but nothing lets me access it as my user it always says you do not have sufficient permissions to read file:///C (or ///E)

I'm really getting confused because ive never had trouble with previous installations of suse, is there anything else i can try?
 
Old 08-12-2006, 10:38 PM   #9
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Run the mount command by itself and see if they are even listed. You can use your username with the "uid=" option.
Also look at the permissions of the mountpoints:
ls / -ld
 
  


Reply



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
How to set write access to Windows drives ramteid Linux - Software 4 05-20-2006 02:28 AM
how to set permissions for normal users to access windows hard drives on suse 10? akshay_jp SUSE / openSUSE 4 12-25-2005 12:33 PM
how to access 'drives' lewisdw Linux - Newbie 8 11-23-2003 12:16 AM
Partitioning drives to split Linux and windows with windows already on computer. linuxnoub Linux - Hardware 5 10-16-2003 12:21 AM
access to cd drives??? themightybuck Linux - Newbie 4 10-15-2002 02:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 09:46 AM.

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