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.
- 09-28-2005 #1Just 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
- 09-28-2005 #2
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/
- 09-29-2005 #3Just 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
- 09-29-2005 #4Linux Engineer
- Join Date
- Mar 2005
- Posts
- 1,431
It may be a permission problem... Can you write to the files as root? Type this in a terminal to test:
Originally Posted by damie If the filesystem is read-only you will get an error.Code:su - password: <type root-password> touch /mnt/thebe/pdf
Also try typing "mount" in a terminal to check for mount options. Check for "ro".
- 09-29-2005 #5
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
- 09-30-2005 #6Just 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
- 09-30-2005 #7Just Joined!
- Join Date
- Sep 2005
- Posts
- 13
I have gone done the code
Code:su - password: <type root-password> touch /mnt/thebe/pdf
I got no error just a prompt again
[/code]
- 09-30-2005 #8Linux 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-03-2005 #9Just 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:2
aemon:/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:100
amon Young:/home/damon:/bin/bash
david
:1001:100
avid Young:/home/david:/bin/bash
general
:1002:100:General:/home/general:/bin/bash
- 10-03-2005 #10Linux Engineer
- Join Date
- Mar 2005
- Posts
- 1,431
Which of them is your username?


Reply With Quote
