Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Samba privelege problem
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
JATMAN
Tux's lil' helper
Tux's lil' helper


Joined: 08 Aug 2002
Posts: 85
Location: Delaware, USA

PostPosted: Wed Mar 05, 2003 5:15 am    Post subject: Samba privelege problem Reply with quote

I have an odd samba problem.

I have mounted a windows share on my linux box by adding an entry to my fstab file and then executing "mount /mount/point". This seems to work. If I'm running as root, I can read and write the share as I would expect. The problem is that if I am running as a user other than root, I can only read the share - any attempt to write gives an access denied, insufficient privelege message.

Any ideas?
Back to top
View user's profile Send private message
ASCI Blue
Tux's lil' helper
Tux's lil' helper


Joined: 07 May 2002
Posts: 132

PostPosted: Wed Mar 05, 2003 5:19 am    Post subject: Reply with quote

Only thing I can think of is the permissions in /etc/fstab.

user,rw 0 0 <--add that to your fstab line and it should work.
Back to top
View user's profile Send private message
jufoa
Apprentice
Apprentice


Joined: 10 Dec 2002
Posts: 213
Location: Rovaniemi, Finland

PostPosted: Wed Mar 05, 2003 8:44 am    Post subject: Reply with quote

do you have this in your share section?

Code:

        writable = yes
Back to top
View user's profile Send private message
christsong84
Veteran
Veteran


Joined: 06 Apr 2003
Posts: 1003
Location: GMT-8 (Spokane)

PostPosted: Thu Jun 05, 2003 2:36 pm    Post subject: Reply with quote

I have the same problem...
fstab line looks like this:
Code:
//192.168.1.1/public /mnt/publicsmb smbfs credentials=/etc/genesis.credentials,user,rw 0 0


I can't mout as a user, nor can I write to it as a user...I can read and execute just fine...what am I missing?
_________________
while(true) {self.input(sugar);} :twisted:
Back to top
View user's profile Send private message
lunatc
Guru
Guru


Joined: 18 Apr 2002
Posts: 409
Location: Canary Islands. Spain

PostPosted: Thu Jun 05, 2003 9:47 pm    Post subject: Reply with quote

You can put this on /etc/fstab: (I've just tryed with my wife's w98 k62 comp and mount as root)

Code:

//COMPUTER/SHARE   /mnt/mountpoint     smbfs     user,uid=root,gid=users,noauto,fmask=750,dmask=750,username=winuser,password=winpasswd   0 0
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