Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mounting a XP share (smbfs, it works, but...)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Kelvie
Tux's lil' helper
Tux's lil' helper


Joined: 13 Aug 2004
Posts: 88
Location: Richmond, BC

PostPosted: Thu Dec 30, 2004 10:35 pm    Post subject: Mounting a XP share (smbfs, it works, but...) Reply with quote

Okay, I have a small problem here. I mount my network shares using /fstab/ with the following two lines:
Code:

//Compy/d /mnt/win/d smbfs rw,user,gid=users,utf8,umask=027,credentials=/etc/credentials 0 0
//Compy/c /mnt/win/c smbfs rw,user,gid=users,utf8,umask=027,credentials=/etc/credentials 0 0


They mount fine and all, but I can't write to them (like.. delete files), and all the files typesetted in asian fonts do not show up correctly.

When I access the same share through smb://Compy/c however, it turns out perfectly fine, I can delete files, and the encoding is perfect.

So clearly, it is able to work, and I need to be able to mount the drive so I can do things such as play media files on xine stored remotely.
Back to top
View user's profile Send private message
lothar
Tux's lil' helper
Tux's lil' helper


Joined: 10 Mar 2004
Posts: 87
Location: Norway

PostPosted: Thu Dec 30, 2004 11:32 pm    Post subject: Reply with quote

Try checking if your user has write access to /mnt/win/c when its unmounted.
When I used smb i think i used some different options
rw,uid=1000,gid=100,credentials=/etc/credentials
you find your uid and gid in /etc/passwd
Back to top
View user's profile Send private message
Raptor911
Tux's lil' helper
Tux's lil' helper


Joined: 04 Feb 2003
Posts: 82
Location: California, USA

PostPosted: Thu Dec 30, 2004 11:36 pm    Post subject: Reply with quote

for the lazy:
uid=your-user-name
also works
Back to top
View user's profile Send private message
Kelvie
Tux's lil' helper
Tux's lil' helper


Joined: 13 Aug 2004
Posts: 88
Location: Richmond, BC

PostPosted: Fri Dec 31, 2004 11:43 am    Post subject: Reply with quote

lothar wrote:
Try checking if your user has write access to /mnt/win/c when its unmounted.
When I used smb i think i used some different options
rw,uid=1000,gid=100,credentials=/etc/credentials
you find your uid and gid in /etc/passwd


When it is umounted, it is an empty directory.

When I access it from smb:// in Konqueror, it is fine, but some programs won't open files like that (unless you mount them).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum