LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 02-20-2004, 12:56 PM   #1
Polyfaux
LQ Newbie
 
Registered: Feb 2004
Location: PA
Distribution: Slackware
Posts: 3

Rep: Reputation: 0
cant access my windows drive in my user account


I am complealy new to the whole linux thing......I have two hardrives one with slackware with kde and the other is my ntfs windows drive. I am trying to access my windows drive in linux. so far i have mounted and can access it through my root but when i use my regular user i can it says permison is denied. I was told to edit the fstab or mtab. i have tryed slackwares web page but it reads like stereo instructions any help would be great..
 
Old 02-20-2004, 01:00 PM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
auto,ro,umask=0222

having them options in your fstab for the ntfs partition should do ...

for example :
Code:
/dev/hda1 /mnt/windows ntfs auto,ro,umask=0222 0 0

Last edited by DrOzz; 02-20-2004 at 01:01 PM.
 
Old 02-20-2004, 07:38 PM   #3
ronadinihari
LQ Newbie
 
Registered: Feb 2004
Location: Indonesia
Distribution: Redhat Linux 9
Posts: 15

Rep: Reputation: 1
Smile

usually it's just the matter of who owns /mnt/your_mnt_point, and what type of access rights.

if /mnt/your_mnt_point owns by root group root, and access right is default. then you can't access it unless you login as root.

two solution:
1. use chmod to change access rights for /mnt/your_mnt_point.
2. make a user group, include your username to the group, use chown to change /mnt/your_mnt_point group to the new group name, use chmod to change group access rights of /mnt/your_mnt_point.

option 2 provide more security control.
 
Old 02-20-2004, 08:26 PM   #4
Polyfaux
LQ Newbie
 
Registered: Feb 2004
Location: PA
Distribution: Slackware
Posts: 3

Original Poster
Rep: Reputation: 0
i will give you thoughts a try and find out what happens
 
Old 02-21-2004, 12:12 AM   #5
Polyfaux
LQ Newbie
 
Registered: Feb 2004
Location: PA
Distribution: Slackware
Posts: 3

Original Poster
Rep: Reputation: 0
Ok problem....... I did the unmask thing and now i can open it in my user but the the folder is empty
 
Old 02-21-2004, 07:08 AM   #6
natalinasmpf
Member
 
Registered: Dec 2003
Distribution: Slackware 9.1
Posts: 309

Rep: Reputation: 30
you obviously have to mount it.

Don't mount the ntfs rw, though, unless you have the 2.6.2 kernel (its dangerous to write to an ntfs disk under linux since windows won't release public code for it.)

The user has to mount it.
 
  


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
USB flashdrive access with user account?? servnov Linux - General 1 08-30-2005 10:04 AM
Other users have access to my user account? BajaNick Linux - Software 2 04-11-2005 11:08 PM
can not access directory from user account - only root walterbyrd Linux - General 1 03-04-2005 11:23 PM
I can't access my windows drive as a user, only as root...fstab problems? DiZASTiX Slackware 14 12-29-2004 08:54 PM
user account timed access wylie eyed Linux - General 4 01-12-2004 05:54 PM

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

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