LinuxQuestions.org
Visit Jeremy's Blog.
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 03-14-2004, 12:00 AM   #1
WannaLearnLinux
Member
 
Registered: May 2003
Location: California
Distribution: Slax
Posts: 262

Rep: Reputation: 31
/mnt/hdb1 - only su access (NTFS)


I hate to making new posts,but all posts here I searched were talking about vfat.
My prob at this time is that I can access hdb1 only as root.I need me,as regular user,to access this drive.

$ cat /etc/fstab
/dev/hda5 / ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hda7 /home ext2 defaults 1 2
none /mnt/cdrom supermount dev=/dev/scd0,fs=auto,ro,--,iocharset=iso8859-1,codepage=850,umask=0 0 0
none /mnt/cdrom2 supermount dev=/dev/hdd,fs=auto,ro,--,iocharset=iso8859-1,codepage=850,umask=0 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=auto,--,iocharset=iso8859-1,sync,codepage=850,umask=0 0 0
/dev/hdb1 /mnt/hd auto user,iocharset=iso8859-1,kudzu,codepage=850,noauto,umask=0,exec 0 0
/dev/hda8 /mnt/hda8 vfat defaults 0 0
/dev/hda1 /mnt/win_c ntfs iocharset=iso8859-1,ro,umask=0 0 0
/dev/hde1 /mnt/win_c2 ntfs iocharset=iso8859-1,ro,umask=0 0 0
/dev/hdg1 /mnt/win_c4 ntfs iocharset=iso8859-1,ro,umask=0 0 0
none /proc proc defaults 0 0
/dev/hda6 swap swap defaults 0 0

Don't know what those "kudzu"etc. means.

I need to add there at /dev/hdb1(NTFS) something,but can't find what could make me accessible.

Thanx
 
Old 03-14-2004, 12:21 AM   #2
AMMullan
Member
 
Registered: Sep 2003
Location: United Kingdom
Distribution: Ubuntu, Arch
Posts: 438

Rep: Reputation: 30
I have mine as follows:

/dev/hda5 /mnt/storage vfat defaults 0 0

As a normal user u have read access but I think that only root has write access NTFS partitions as it's still only Beta to access. them.....

If i'm wrong on this one can someone please let me know cos that's my understanding....

Last edited by AMMullan; 03-14-2004 at 12:23 AM.
 
Old 03-14-2004, 12:52 AM   #3
WannaLearnLinux
Member
 
Registered: May 2003
Location: California
Distribution: Slax
Posts: 262

Original Poster
Rep: Reputation: 31
ok,but

Quote:
Originally posted by AMMullan
I have mine as follows:

/dev/hda5 /mnt/storage vfat defaults 0 0



.....before I try it,that means your storage is FAT32 if I'm not mistaken (vfat)......



As a normal user u have read access but I think that only root has write access NTFS partitions as it's still only Beta to access. them.....

If i'm wrong on this one can someone please let me know cos that's my understanding....


I should add before,that using KDE 3.1 Start>quick browser>Root dir>/mnt I can see all other partitions NTFS on another hard drives,but NOT this hdb1
It says:" FAILED TO READ DIRECTORY"

In console when type:

$ cd /mnt/hd
bash: cd: /mnt/hd: Permission denied

and when su I can read those files.

So all I need to do is to add something then other users can READ those files.

Anyway thanx for so fast reply.

Last edited by WannaLearnLinux; 03-14-2004 at 01:08 AM.
 
Old 03-14-2004, 03:03 AM   #4
AMMullan
Member
 
Registered: Sep 2003
Location: United Kingdom
Distribution: Ubuntu, Arch
Posts: 438

Rep: Reputation: 30
If you can't cd into the directory maybe it's just a permissions thing on that folder - have you tried a chmod 777 /mnt/hd? (As root of course)
 
Old 03-14-2004, 04:04 AM   #5
stirling
Member
 
Registered: Feb 2004
Distribution: LFS, Ubuntu
Posts: 52

Rep: Reputation: 16
with your options i can't even mount as root. (wrong fs type...error)

it was choking on both the codepage and kudzu options.

i normally use:
/dev/hdb1 /mnt/win ntfs ro,user,umask=0,noauto 0 0

the user option controls who can mount the drive
the umask controls permissions

see also: man mount

Last edited by stirling; 03-14-2004 at 04:09 AM.
 
Old 03-14-2004, 04:23 AM   #6
AMMullan
Member
 
Registered: Sep 2003
Location: United Kingdom
Distribution: Ubuntu, Arch
Posts: 438

Rep: Reputation: 30
Sorry, my bad (notice that it was of type vfat) - I haven't used NTFS for my storage this time (usually do lol)...

Hmmm ur suggestion didn't work on my partitioning (got a NTFS partition for windows (gaming))...
 
Old 03-14-2004, 12:15 PM   #7
WannaLearnLinux
Member
 
Registered: May 2003
Location: California
Distribution: Slax
Posts: 262

Original Poster
Rep: Reputation: 31
it didn't work

Quote:
Originally posted by stirling
with your options i can't even mount as root. (wrong fs type...error)

it was choking on both the codepage and kudzu options.

i normally use:
/dev/hdb1 /mnt/win ntfs ro,user,umask=0,noauto 0 0

the user option controls who can mount the drive
the umask controls permissions

see also: man mount

Well I changed it as above using vi as root.But now I can't access this drive even as root in console.It dissapeared.I tried even change it to look same as other NTFS partitions but can't access this drive anymore

I'll look at man mount,

thanx for trying
 
Old 03-14-2004, 12:17 PM   #8
WannaLearnLinux
Member
 
Registered: May 2003
Location: California
Distribution: Slax
Posts: 262

Original Poster
Rep: Reputation: 31
yea

Quote:
Originally posted by AMMullan
Sorry, my bad (notice that it was of type vfat) - I haven't used NTFS for my storage this time (usually do lol)...

Hmmm ur suggestion didn't work on my partitioning (got a NTFS partition for windows (gaming))...

I know it was FAT32 (vfat),so I didn't tried it
 
Old 03-14-2004, 12:43 PM   #9
WannaLearnLinux
Member
 
Registered: May 2003
Location: California
Distribution: Slax
Posts: 262

Original Poster
Rep: Reputation: 31
got it .)

All I did now to gewt it done was:

#mount -t ntfs /dev/hdb1 /mnt/hd

Then I rebooted and it works.

This is how looks my /etc/fstab ( I changed it as it is before I tried those above):

[grinder@mdk hd]$ cat /etc/fstab
/dev/hda5 / ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hda7 /home ext2 defaults 1 2
none /mnt/cdrom supermount dev=/dev/scd0,fs=auto,ro,--,iocharset=iso8859-1,codepage=850,umask=0 0 0
none /mnt/cdrom2 supermount dev=/dev/hdd,fs=auto,ro,--,iocharset=iso8859-1,codepage=850,umask=0 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=auto,--,iocharset=iso8859-1,sync,codepage=850,umask=0 0 0
/dev/hdb1 /mnt/hd ntfs iocharset=iso8859-1,ro,umask=0 0 0
/dev/hda8 /mnt/hda8 vfat defaults 0 0
/dev/hda1 /mnt/win_c ntfs iocharset=iso8859-1,ro,umask=0 0 0
/dev/hde1 /mnt/win_c2 ntfs iocharset=iso8859-1,ro,umask=0 0 0
/dev/hdg1 /mnt/win_c4 ntfs iocharset=iso8859-1,ro,umask=0 0 0
none /proc proc defaults 0 0
/dev/hda6 swap swap defaults 0 0


It works,great. Another lesson I learned.
 
Old 03-14-2004, 12:44 PM   #10
WannaLearnLinux
Member
 
Registered: May 2003
Location: California
Distribution: Slax
Posts: 262

Original Poster
Rep: Reputation: 31
thanx to stirling for man mount,I forgot about that one .)
 
  


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
i get the error Could not enter folder /mnt/hdb1 linuxretard Linux - Hardware 2 04-10-2005 10:54 AM
What do I need to do to mnt NTFS on SuSE 9.0? Thaidog Linux - Distributions 10 04-18-2004 02:00 AM
failiure to mount NTFS volume, have hdb but not hdb1? nskn Linux - Software 0 04-02-2004 07:20 PM
Access HDB1 for users Rivitir Slackware 4 11-20-2003 07:09 PM
hdb1 access suddenly EXTREMELY slow... vance Linux - Hardware 3 06-14-2003 07:29 PM

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

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