View previous topic :: View next topic |
Author |
Message |
babo Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/45905799242932d4450de7.gif)
Joined: 10 Aug 2004 Posts: 477 Location: Ljubljana
|
Posted: Mon Jun 13, 2005 7:56 pm Post subject: samba permittions beyond my minimal understanding |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
karnesky Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 18 Mar 2004 Posts: 218
|
Posted: Tue Jun 14, 2005 12:08 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
babo Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/45905799242932d4450de7.gif)
Joined: 10 Aug 2004 Posts: 477 Location: Ljubljana
|
Posted: Tue Jun 14, 2005 10:05 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
karnesky Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 18 Mar 2004 Posts: 218
|
Posted: Tue Jun 14, 2005 3:15 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|