LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-03-2005, 12:54 AM   #1
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
Cannot read Windows partition. Permission problems


I am using SUSE 9.3. I mounted my windows partition (hda1) to /media/windows.
I can access it fine as root, and when I do:

chown -R micro420 /media/windows , I can DISPLAY the contents of the folder but I cannot COPY them to my /home directory. I get 'permission denied', BUT, it copies fine if I do it as root.

So how do I fix this little permission problem?
 
Old 10-03-2005, 12:59 AM   #2
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,775

Rep: Reputation: 86
Did you manually mount it? If so, with what command? If not, what does your /etc/fstab look like?
 
Old 10-03-2005, 01:09 AM   #3
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Original Poster
Rep: Reputation: 45
My fstab

/dev/hdb5 / ext3 acl,user_xattr 1 1
/dev/hdb7 /home ext3 acl,user_xattr 1 2
/dev/hdb6 swap swap pri=42 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
proc /proc proc defaults 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
sysfs /sys sysfs noauto 0 0
/dev/cdrom /media/cdrom subfs noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
/dev/dvdrecorder /media/dvdrecorder subfs noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
/dev/hda1 /media/windows ntfs user 0 0
/dev/hdb1 /media/windows1 ntfs user 0 0

No, I do not mount it manually. SUSE has done it for me. Hope this helps?
 
Old 10-03-2005, 01:22 AM   #4
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,775

Rep: Reputation: 86
Quote:
Originally posted by Micro420
/dev/hda1 /media/windows ntfs user 0 0
Change this line to read
Code:
/dev/hda1       /media/windows  ntfs    nls=utf8,umask=0222 0       0
You'll have to make this change as root.
 
Old 10-03-2005, 01:27 AM   #5
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Original Poster
Rep: Reputation: 45
Thanks! It worked! Can you explain what the additions mean? To me they look like random numbers.

Also, would I make the same entry to

/dev/hdb1 /media/windows1 ntfs user 0 0

I want to have /media/windows1 also be the same as /media/windows

Last edited by Micro420; 10-03-2005 at 01:35 AM.
 
Old 10-03-2005, 01:46 AM   #6
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,775

Rep: Reputation: 86
Quote:
Originally posted by Micro420
Thanks! It worked! Can you explain what the additions mean? To me they look like random numbers.
I have no idea. I just copied them out of the Ubuntu Guide. If you want to learn more about the /etc/fstab syntax, though, you can read this.

Quote:
Also, would I make the same entry to

/dev/hdb1 /media/windows1 ntfs user 0 0

I want to have /media/windows1 also be the same as /media/windows
Yes, same principle, different directory.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
giving permission to read windows partitions jaakkop Slackware 2 01-13-2005 08:51 AM
Permission problems in a vfat shared partition ReachingFarr Linux - Newbie 4 10-04-2004 07:09 AM
Windows partition read-only problem. njbrain Linux - General 2 03-30-2004 02:21 PM
permission to windows partition? MrPolite Linux - General 3 11-01-2002 11:30 PM
Read linux partition from windows FireIsMyFlag Linux - General 2 10-10-2002 05:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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