LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 01-14-2005, 05:17 AM   #1
silverstormboy
Member
 
Registered: Apr 2003
Location: Singapore
Distribution: Ubuntu 7.10 Gutsy
Posts: 32

Rep: Reputation: 15
Debian normal user cant mount windows shared partition


Hi, Im using Debian with kernel bf24.

I have windows partition as vfat in my hard disk.

Currently , I must 'su -' as Root in order to read and write my windows partition.

my fstab is as follows:

/dev/hda2 /home/fj/win1 vfat rw,fj,auto 0 2
/dev/hdb1 /home/fj/win2 vfat rw,fj,auto 0 2

I have tried to 'chmod 777' both:
/dev/hda2 and /dev/hdb1

but still the message is:
bash: cd: win1: Permission denied


is there any other way to read my windows partitions rather than being a root? cause i try to use juk my mp3 are all in my windows partitions.

Thank you very much for your help.

Last edited by silverstormboy; 01-14-2005 at 05:18 AM.
 
Old 01-14-2005, 06:27 AM   #2
Haiyadragon
Member
 
Registered: Sep 2003
Location: Gorredijk, Netherlands
Distribution: Arch Linux
Posts: 400

Rep: Reputation: 30
Try

/dev/hda2 /home/fj/win1 vfat auto,user,umask=000 0 2
/dev/hdb1 /home/fj/win2 vfat auto,user,umask=000 0 2

I don't know what fj is, add it if you want. I don't think rw is needed, not sure though (I'm not working on a Linux system right now ).
 
Old 01-14-2005, 06:28 AM   #3
Sohni
Member
 
Registered: Sep 2003
Location: Planet Earth
Distribution: SuSE Linux 9.0
Posts: 83

Rep: Reputation: 15
You should add user (or was it users) option.
also suid or nosuid may be of help.

Try
man mount
to get more relevant information
 
Old 01-14-2005, 07:25 AM   #4
silverstormboy
Member
 
Registered: Apr 2003
Location: Singapore
Distribution: Ubuntu 7.10 Gutsy
Posts: 32

Original Poster
Rep: Reputation: 15
BRAVOO....wuuhhuu.....Thank you so much Haiyadragon and Sohni for your reply.


I followed what Haiyadragon said, and
NOW IT WORKSSS....

I've been trying to figure this out for dayss......well...im just a newbiee

Thankss a bunch guys for the fastest reply, i appreciate it
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
normal user can mount? vacilus Linux - Software 1 12-22-2004 11:39 AM
Unable To Mount Windows Partition as user, only as root k_bob Slackware 12 11-24-2004 06:52 AM
Windows files copied to my linux partition are locked when logged in as a normal user necbrownie Slackware 8 10-15-2004 08:11 AM
Access my windows partition as a normal user necbrownie Slackware 5 10-13-2004 04:22 PM
FSTAB entry for normal user to access windows partition rmanocha Linux - Software 4 01-29-2004 04:33 PM


All times are GMT -5. The time now is 05:11 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration