View previous topic :: View next topic |
Author |
Message |
allwise n00b
Joined: 29 Mar 2008 Posts: 4
|
Posted: Sun Oct 26, 2008 7:49 pm Post subject: No permissions when sharing a network mounted drive with SMB |
|
|
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 |
|
|
coolsnowmen Veteran
Joined: 30 Jun 2004 Posts: 1479 Location: No.VA
|
Posted: Mon Oct 27, 2008 3:24 pm Post subject: |
|
|
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 |
|
|
allwise n00b
Joined: 29 Mar 2008 Posts: 4
|
Posted: Mon Oct 27, 2008 7:32 pm Post subject: |
|
|
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 |
|
|
jamapii l33t
Joined: 16 Sep 2004 Posts: 637
|
Posted: Mon Oct 27, 2008 8:54 pm Post subject: |
|
|
I think you can just replace smbfs with cifs in /etc/fstab if you have cifs selected in the kernel config. |
|
Back to top |
|
|
|