Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 13
what line do i put in fstab to mount a fat32 partation so non privliged users can access it btw im running suse 10 eval if that makes a diffrence...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2005
    Posts
    48

    mount windows partition


    what line do i put in fstab to mount a fat32 partation so non privliged users can access it
    btw im running suse 10 eval if that makes a diffrence

  2. #2
    Linux Guru dylunio's Avatar
    Join Date
    Aug 2004
    Location
    Cymru
    Posts
    4,157
    Code:
    /dev/hda1 /windows vfat users,rw,auto,defaults 0 0
    I think that should work though you'll have to change the device and the mountpoint (the first two statments) to whatever you have on your machine.
    Registered Linux User #371543!
    Get force-get May The Source Be With You
    /dev/null
    /dev/null2

  3. #3
    Just Joined!
    Join Date
    Oct 2005
    Posts
    48
    i tried that i went to make a folder and it said error you dont have permision to wright to that folder

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Engineer oldcpu's Avatar
    Join Date
    Aug 2005
    Location
    Europe
    Posts
    1,142
    Quote Originally Posted by inmate
    i tried that i went to make a folder and it said error you dont have permision to wright to that folder
    Did you try to write to it as user "inmate", or did you try as su (super user - ie with root permissions)?

  6. #5
    Linux Guru budman7's Avatar
    Join Date
    Oct 2004
    Location
    Knee deep in Grand Rapids, Michigan
    Posts
    3,242
    Not being able to write to NTFS is not a fstab problem.
    It is a NTFS problem.
    Write support for NTFS in linux is not well supported.
    You should have a separate fat32 partition that both Windows and linux can write to.
    Or some other medium, usb stick, cd-rw.
    How to know if you are a geek.
    when you respond to "get a life!" with "what's the URL?"
    - Birger

    New users read The FAQ

  7. #6
    Linux Guru dylunio's Avatar
    Join Date
    Aug 2004
    Location
    Cymru
    Posts
    4,157
    Quote Originally Posted by budman7
    Not being able to write to NTFS is not a fstab problem.
    It is a NTFS problem.
    Write support for NTFS in linux is not well supported.
    It's a FAT32 partition budman7....
    you might want to add
    Code:
    umask=0222
    with the users,rw, part of the line so it reads:
    Code:
    /dev/hda1 /windows vfat users,rw,auto,defaults,umask=0222 0 0
    Registered Linux User #371543!
    Get force-get May The Source Be With You
    /dev/null
    /dev/null2

  8. #7
    Just Joined! the ex's Avatar
    Join Date
    Nov 2005
    Location
    oregon
    Posts
    41
    assuming your partition is dev/hdc1/

    Code:
    linux:~#  cd /
    linux:/ #  mkdir /fat32partition
    linux:/ # mount -w /dev/hdc1/fat32partition
    should work fine, "fat32partiotion" can be named whatever you want and is accesable through the filesystem

  9. #8
    Just Joined!
    Join Date
    Oct 2005
    Posts
    48
    i tried to access it using user permisions and i want to be able to access it without having to log on as su and i tried what you said in your second post dylunio and that dident work either any more ideas anyone

  10. #9
    Linux Guru dylunio's Avatar
    Join Date
    Aug 2004
    Location
    Cymru
    Posts
    4,157
    try it with umask=0000 then.
    Registered Linux User #371543!
    Get force-get May The Source Be With You
    /dev/null
    /dev/null2

  11. #10
    Linux Guru AlexK's Avatar
    Join Date
    Feb 2005
    Location
    Earth
    Posts
    3,379
    Once you have made the necessary changes to the fstab file, you have to unmount the FAT32 partition using umount /media/windows (replace it with correct name), then remount it.
    Life is complex, it has a real part and an imaginary part.

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •