LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-01-2007, 05:21 AM   #1
o2bfishn
Member
 
Registered: Dec 2005
Location: Kannapolis, NC USA
Distribution: learning ubuntu
Posts: 46

Rep: Reputation: 15
mount network ntfs drive


ok, i have read and searched for this but usually topics covering mounting of ntfs partitions assume the partition is in the same computer (/dev/hdx) but what i need to do is mount an external usb drive connected to my winxp box through my local network. i have samba setup and i can go to smb://desktop/share and have read/write access to it, but i want to mount it either in fstab or via rc.local

i have this in rc.local and it does mount it but i dont have r/w to it
Code:
mount -t smbfs //desktop/share /mnt/share/ -o lfs,rw,username=guest
i think it is the username part that is giving me problems. i have tried with username and password, i have used my actual windows username and guest and neither give me r/w

i have also installed fuse and ntfs-3g without success either (i get failed to access //desktop/share no such file or directory)

how is it when i browse with konqueror i have r/w but if i try to mount i dont and how do i get r/w through mounting? what i would like to have is a mount in my /home dir where i can r/w files and use them as if they were on my slack box

thanks
 
Old 09-01-2007, 06:59 AM   #2
JSkywalker
Member
 
Registered: Aug 2007
Distribution: openSUSE
Posts: 102

Rep: Reputation: 24
did you get any errors?
and, if you did get errors, why do you not post these?


i'm using this, with my own username, and it works for me:
Quote:
mount -t cifs //desktop/share /mnt/share/ -o lfs,rw,username=guest
 
Old 09-01-2007, 08:05 AM   #3
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,213

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
I don't see anything wrong with your fstab entry. Have you looked at the windoze share properties? Is it set read only" or read write?

You didn't say what flavour of windbloze you are using. If it is XP home, you have to enable the guest account, it is not there by default. You could also try your own user, and password to see if that makes a difference.

Here is a link to a tutorial, for you or anyone else needing help with this type of problem.

http://www.ubuntugeek.com/mount-netw...in-ubuntu.html

Hope this helps.
 
Old 09-01-2007, 02:16 PM   #4
o2bfishn
Member
 
Registered: Dec 2005
Location: Kannapolis, NC USA
Distribution: learning ubuntu
Posts: 46

Original Poster
Rep: Reputation: 15
ok, this worked
Code:
mount -t smbfs //desktop/share /mnt/share -o rw,fmask=0770,dmask=0770,password=
i also did check the windows xp permissions and my share had the read only check box ticked, didnt see that before, thanks, that probably fixed being able to copy files to it but if i copy or move a file into this share, i get a message in kde that says it could not change the permission on the file. the file gets copied, but it is root/root, i can delete there as well. i created a link to the mount point in my home directory. any ideas on having it mount with my username and group users?
 
Old 09-05-2007, 05:33 AM   #5
o2bfishn
Member
 
Registered: Dec 2005
Location: Kannapolis, NC USA
Distribution: learning ubuntu
Posts: 46

Original Poster
Rep: Reputation: 15
actually the above didn't work, but i did find a solution. i had to
Code:
chmod u+s /usr/bin/smbmnt
and changed the line in my fstab as below and now i can mount the windows xp share and have r/w access to it as a normal user

Code:
//desktop/share	 /home/username/share	  smbfs	      credentials=/home/username/.smbpasswd,rw,user,noauto   0   0
thanks for all the replies and help!
 
  


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
mount: unknown filesystem type 'ntfs' when trying to mount windows drive... DiZASTiX Linux - Hardware 12 09-28-2008 07:29 PM
got my ntfs sata drive to mount but cat get to auto mount Jack Daniels Linux - Hardware 3 04-15-2007 10:42 AM
How do I mount an NTFS drive? esv5454 Linux - Hardware 4 10-07-2003 08:25 PM
Cannot Copy Files From Network FAT32/NTFS Drive to My Local Linux Drive michaelh Linux - Networking 3 10-29-2002 10:27 AM
mount ym NTFS Drive kbhadsten Linux - General 2 09-11-2002 01:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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