Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
samba permittions beyond my minimal understanding
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
babo
Guru
Guru


Joined: 10 Aug 2004
Posts: 477
Location: Ljubljana

PostPosted: Mon Jun 13, 2005 7:56 pm    Post subject: samba permittions beyond my minimal understanding Reply with quote

This is the case:

Here I have a server, which I don't maintain, and as I understand the problem is not in the server. There is a samba share on that server, and I have no problem reading or writing on that share from:
-windows
-xffm (xfce file manager)
-if I do smbmount or mount it with fstab and acces itas root

but as user I can not write to it.

so mount command is:
Code:
smbmount //server/share /mnt/smb -o username=xxx,password=yyy

and that makes root able to read or write, and user able to read, but not write.

same thing happens if share is mounted from /etc/fstab
and that happenes from my both other computers.

I would do the easyest and blame the server's config, but than why I don't have any problems with accesing the same share from xffm? :S

Anyone?
Back to top
View user's profile Send private message
karnesky
Apprentice
Apprentice


Joined: 18 Mar 2004
Posts: 218

PostPosted: Tue Jun 14, 2005 12:08 am    Post subject: Reply with quote

You need to specify permissions as you mount. Something like:
Code:
-o uid=xxx,rw,dmask=0777,fmask=0777

_________________
Donate to F/OSS
Back to top
View user's profile Send private message
babo
Guru
Guru


Joined: 10 Aug 2004
Posts: 477
Location: Ljubljana

PostPosted: Tue Jun 14, 2005 10:05 am    Post subject: Reply with quote

that's great, it works, thanx so much.
But what do I need to fill the uid xxx with? (I tried without uid and it worked, but there was an error but in slovenian language and I don't quite know how to translate it I think, but it does the job. Probably the error is about not able to chown or chmod)
Back to top
View user's profile Send private message
karnesky
Apprentice
Apprentice


Joined: 18 Mar 2004
Posts: 218

PostPosted: Tue Jun 14, 2005 3:15 pm    Post subject: Reply with quote

uid is the uid for the user you are mounting with. If you use user, that should be O.K.
_________________
Donate to F/OSS
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