LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-15-2004, 02:52 AM   #1
shibatatie
LQ Newbie
 
Registered: Feb 2004
Location: China
Posts: 16

Rep: Reputation: 0
Question Can't access ntfs driver as a user


I am new to linux = I suck.

I've just got slack 10 installed on my computer. It automatically found my ntfs partition and mount it during starting up, which is very cool.

However later I found that only root can access to the /ntfs somehow. I've tried to change the fstab, but it didn't work.

This is the line in my fstab:

/dev/hdc6 /ntfs ntfs auto,user,ro 1 0

Could someone tell me what goes wrong?


By the way, which command can copy a entire directory including sub-directories? "cp" doesn't work for sub-directories.
 
Old 07-15-2004, 03:03 AM   #2
muhkuhmasta
LQ Newbie
 
Registered: Jul 2004
Posts: 24

Rep: Reputation: 15
i think you need to chmod the permissions to your ntfs directory somehow...

and with the right options cp can copy whole directories (refer to the man page).


of course all this info can be wrong for I am a newbie too
 
Old 07-15-2004, 07:33 AM   #3
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
I would change the fstab line for ntfs to :
/dev/hdc6 /ntfs ntfs auto,user,ro,umask=0222 0 0

(note the last 0, it is for not check ntfs partition at boot as fsck does not support ntfs)
 
Old 07-15-2004, 08:13 AM   #4
SolarBear
Member
 
Registered: Oct 2003
Location: Québec, Canada
Distribution: Gentoo 2005.0(desktop), Debian 3.0 r2 (server)
Posts: 105

Rep: Reputation: 15
You can use cp -R to copy recursively subforlders. man cp for more details.
 
Old 07-15-2004, 05:57 PM   #5
Boow
Member
 
Registered: Feb 2004
Distribution: Slackware 10.2
Posts: 669

Rep: Reputation: 32
/dev/hda1 /mnt/hda1 ntfs ro,noauto,user,gid=100,uid=1000,umask=0227 0 0

here's mine type id in console to find your gid uid
 
Old 07-15-2004, 10:58 PM   #6
shibatatie
LQ Newbie
 
Registered: Feb 2004
Location: China
Posts: 16

Original Poster
Rep: Reputation: 0
Problem solved! Thanks guys!

This is the one that works 4 me:

/dev/hdc6 /ntfs ntfs auto,user,ro,umask=0222 0 0
 
Old 07-16-2004, 08:37 PM   #7
Darkenedes
Member
 
Registered: Jul 2004
Location: Pittsburgh, PA
Distribution: : Slackware 10
Posts: 31

Rep: Reputation: 15
How would this work with a FAT32 partition? I keep all of my music and other files on my Windows 98 drive, and I hate logging in as root everytime I want to access them. I'll boot up Linux and post my fstab configuration line later if I need to.
 
Old 07-16-2004, 09:44 PM   #8
cereal83
Member
 
Registered: Feb 2004
Location: Canada
Distribution: Slackware
Posts: 479

Rep: Reputation: 30
Quote:
Originally posted by shibatatie
Problem solved! Thanks guys!

This is the one that works 4 me:

ntfs auto,user,ro,umask=0222 0 0
Thanks, That worked for me too. Now I can run wine.

 
Old 07-18-2004, 03:35 PM   #9
pkid
LQ Newbie
 
Registered: Jun 2004
Location: South Africa
Distribution: Slackware 10 Dropline GNOME 2.6.1.
Posts: 12

Rep: Reputation: 0
I run cp with cp -r (note the lower case r) and I find that for me that moves the entire directory to where I specifiy including subdirectories. I move normal files all the time and so don't need cp to do anything to special files so I don't use -R. Actually a bit faster than moving stuff with nautilus. But note that the man entry for cp goes on that -r should be a synonym for -R etc... So I think I may have misunderstood the difference between the 2 and I am sorry if I have.
 
Old 07-18-2004, 06:24 PM   #10
blk96gt
Member
 
Registered: Jun 2004
Location: Nacogdoches, TX
Distribution: Ubuntu 7.04
Posts: 230

Rep: Reputation: 30
Quote:
Originally posted by Darkenedes
How would this work with a FAT32 partition? I keep all of my music and other files on my Windows 98 drive, and I hate logging in as root everytime I want to access them. I'll boot up Linux and post my fstab configuration line later if I need to.
You would just change the ntfs part to vfat, like this:
/dev/hdc6 /mnt/hd vfat auto,user,ro,umask=0222 0 0
If you wanted to have write access, just change the umask option to umask=0000.
 
Old 07-19-2004, 09:22 AM   #11
cereal83
Member
 
Registered: Feb 2004
Location: Canada
Distribution: Slackware
Posts: 479

Rep: Reputation: 30
ok well I had to reinstall slack and now I can't get access to my win partition and I have

Quote:
/dev/hda2 /win ntfs auto,user,ro,umask=0222 0 0
whats wrong with this, like why can't I see it as root or a user?
 
  


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
why doesnt i have any access to my ntfs partition as user? mannnetobbelob Linux - Software 25 11-11-2010 04:10 AM
NTFS user access in slack 10.2 fdahl_009 Slackware 4 10-15-2005 07:20 AM
Not Able to Access NTFS as normal user rob0t Slackware 6 09-21-2005 06:57 PM
NTFS access as user aje Slackware 5 12-03-2004 10:23 PM
No user access to ntfs disk? kam_kenneth Linux - Newbie 6 05-05-2004 02:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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