Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No permissions when sharing a network mounted drive with SMB
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
allwise
n00b
n00b


Joined: 29 Mar 2008
Posts: 4

PostPosted: Sun Oct 26, 2008 7:49 pm    Post subject: No permissions when sharing a network mounted drive with SMB Reply with quote

Hello everyone on Gentoo forums!

I have a problem on my Gentoo box. A share from my popcorn hour (a media center that run linux) I mount in my Gentoo server. Since I didn't get it to work with NFS I mount it with SMB instead. This same share I would like to share from the Gentoo server on my network to my Windows PC through SMB. The sharing works fine, but I don't have write permissions to the shares from my Windows PC.

On my Gentoo server I can only write to the mounted drive with the root account which got me thinking of something with the mounting is wrong.

I here post the fstab line that mounts the drive:

Code:
//192.168.0.101/USB_DRIVE_A-1  /home/filserver/freecom smbfs   username=xxx,password=xxxx,umask=000,rw 0 0


Hope someone can hint me of what is wrong.

Thanks!

//Allwise
Back to top
View user's profile Send private message
coolsnowmen
Veteran
Veteran


Joined: 30 Jun 2004
Posts: 1479
Location: No.VA

PostPosted: Mon Oct 27, 2008 3:24 pm    Post subject: Reply with quote

I hate samba with a passion...ok now that that is over

Is there a reason you arn't using cifs?
I believe the relevant options are something like file_mode=????, dir_mode=????, gid=
And set the gid to the group you want to have access.

Quote:
This same share I would like to share from the Gentoo server on my network to my Windows PC through SMB.

You want to [re-]share a samba mount through samba? Why not just mount directly from the popcorn-server?
_________________
emerge: there are no ebuilds to satisfy "moo"
Back to top
View user's profile Send private message
allwise
n00b
n00b


Joined: 29 Mar 2008
Posts: 4

PostPosted: Mon Oct 27, 2008 7:32 pm    Post subject: Reply with quote

Hehe, thanks for replaying even though you have samba :)

I don't know the reason I don't use CIFS. Well, I guess that CIFS wasnt very big when I started using SMB so this is just a old habit. Whats the differences between them?

The reason I re-share the popcorn-share is that this contains movies only. I have this in the same folder as my music and webpages and so on. Partly because I want easily connect to all of these though a VPN or SFTP.

So can you give me a hint of how CIFS works and why I should use that instead of SMB?

Thanks =)
Back to top
View user's profile Send private message
jamapii
l33t
l33t


Joined: 16 Sep 2004
Posts: 637

PostPosted: Mon Oct 27, 2008 8:54 pm    Post subject: Reply with quote

I think you can just replace smbfs with cifs in /etc/fstab if you have cifs selected in the kernel config.
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