Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11
Mounting a shared windows VFAT disk in fstab file. I can mount the drive without a problem, but it is pnly in read only. I needed it to be read ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2005
    Posts
    13

    Mounting a shared windows VFAT disk


    Mounting a shared windows VFAT disk in fstab file.


    I can mount the drive without a problem, but it is pnly in read only.

    I needed it to be read write for all users can so one help me

    line in the fstab file :

    //thebe/thebepdf /mnt/thebe/pdf smbfs auto 0 0

  2. #2
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,906
    It's probably a permissions thing at the windows end. Try specifying a username and password with the 'auto' option.
    Linux user #126863 - see http://linuxcounter.net/

  3. #3
    Just Joined!
    Join Date
    Sep 2005
    Posts
    13
    I've checked username and password they seem to be ok.

    You can write to the shared windows drive if you use 'Network Browsing' on the desktop. That works fine. But mounting using the fstab I still can not get it to work so it RW able

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Engineer
    Join Date
    Mar 2005
    Posts
    1,431
    Quote Originally Posted by damie
    I've checked username and password they seem to be ok.

    You can write to the shared windows drive if you use 'Network Browsing' on the desktop. That works fine. But mounting using the fstab I still can not get it to work so it RW able
    It may be a permission problem... Can you write to the files as root? Type this in a terminal to test:
    Code:
    su -
    password&#58; <type root-password>
    touch  /mnt/thebe/pdf
    If the filesystem is read-only you will get an error.

    Also try typing "mount" in a terminal to check for mount options. Check for "ro".

  6. #5
    Linux Guru Flatline's Avatar
    Join Date
    Feb 2005
    Posts
    2,204
    It would also be helpful if you would post the contents of your /etc/fstab file.
    There are two major products that come out of Berkeley: LSD and UNIX. We don't believe this to be a coincidence.

    - Jeremy S. Anderson

  7. #6
    Just Joined!
    Join Date
    Sep 2005
    Posts
    13
    Sorry it might help so fstab file below

    /dev/hdc3 / reiserfs acl,user_xattr 1 1
    /dev/hdc2 swap swap pri=42 0 0
    /dev/hdc1 /windows vfat defaults 0 0
    devpts /dev/pts devpts mode=0620,gid=5 0 0
    proc /proc proc defaults 0 0
    usbfs /proc/bus/usb usbfs noauto 0 0
    sysfs /sys sysfs noauto 0 0
    /dev/dvd /media/dvd subfs fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=ut f8 0 0
    /dev/fd0 /media/floppy subfs fs=floppyfss,procuid,nodev,nosuid,sync 0 0
    //thebe/thebepdf /mnt/thebe/pdf smbfs auto 0 0
    //thebe/thebeie /mnt/thebe/export smbfs auto 0 0
    //carme/drivec /mnt/carme/drive-c smbfs auto 0 0

  8. #7
    Just Joined!
    Join Date
    Sep 2005
    Posts
    13
    I have gone done the code
    Code:
    su -
    password&#58; <type root-password>
    touch  /mnt/thebe/pdf

    I got no error just a prompt again



    [/code]

  9. #8
    Linux Engineer
    Join Date
    Mar 2005
    Posts
    1,431
    Thats a good sign. The thing is mounted read-writable.... Now it would help if you gave us your UID (User ID, can be found in /etc/passwd). Then I could change your fstab to let your user write the files.

  10. #9
    Just Joined!
    Join Date
    Sep 2005
    Posts
    13
    The passwd file below :


    root:0:0:root:/root:/bin/bash
    bin:1:1:bin:/bin:/bin/bash
    daemon:2:2aemon:/sbin:/bin/bash
    lp:4:7:Printing daemon:/var/spool/lpd:/bin/bash
    mail:8:12:Mailer daemon:/var/spool/clientmqueue:/bin/false
    news:9:13:News system:/etc/news:/bin/bash
    uucp:10:14:Unix-to-Unix CoPy system:/etc/uucp:/bin/bash
    games:12:100:Games account:/var/games:/bin/bash
    man:13:62:Manual pages viewer:/var/cache/man:/bin/bash
    at:25:25:Batch jobs daemon:/var/spool/atjobs:/bin/bash
    wwwrun:30:8:WWW daemon apache:/var/lib/wwwrun:/bin/false
    ftp:40:49:FTP account:/srv/ftp:/bin/bash
    postfix:51:51:Postfix Daemon:/var/spool/postfix:/bin/false
    sshd:71:65:SSH daemon:/var/lib/sshd:/bin/false
    ntp:74:65534:NTP daemon:/var/lib/ntp:/bin/false
    jboss:100:101:JBoss - Java[tm] Application Server:/usr/share/jboss:/bin/bash
    jonas:101:102:Jonas - Java[tm] Open Application Server:/usr/share/jonas:/bin/bash
    tomcat:102:103:Tomcat - Apache Servlet/JSP Engine:/usr/share/tomcat5:/bin/bash
    nobody:65534:65533:nobody:/var/lib/nobody:/bin/bash
    damon:1000:100amon Young:/home/damon:/bin/bash
    david:1001:100avid Young:/home/david:/bin/bash
    general:1002:100:General:/home/general:/bin/bash

  11. #10
    Linux Engineer
    Join Date
    Mar 2005
    Posts
    1,431
    Which of them is your username?

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
  •