View previous topic :: View next topic |
Author |
Message |
JATMAN Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Final Fantasy/Final_Fantasy_7_-_Cid.gif)
Joined: 08 Aug 2002 Posts: 85 Location: Delaware, USA
|
Posted: Wed Mar 05, 2003 5:15 am Post subject: Samba privelege problem |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
ASCI Blue Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/HalfLife/Half_Life_-_Grunt.gif)
Joined: 07 May 2002 Posts: 132
|
Posted: Wed Mar 05, 2003 5:19 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
jufoa Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/50ddff9c3dfc7c55f115e.jpg)
Joined: 10 Dec 2002 Posts: 213 Location: Rovaniemi, Finland
|
Posted: Wed Mar 05, 2003 8:44 am Post subject: |
|
|
do you have this in your share section?
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
christsong84 Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/gallery/Mortal Kombat/Mortal_Kombat_-_Reiko.gif)
Joined: 06 Apr 2003 Posts: 1003 Location: GMT-8 (Spokane)
|
Posted: Thu Jun 05, 2003 2:36 pm Post subject: |
|
|
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 Evil :twisted:](images/smiles/icon_twisted.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
lunatc Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Simpsons/simpsons_santas_little_help.gif)
Joined: 18 Apr 2002 Posts: 409 Location: Canary Islands. Spain
|
Posted: Thu Jun 05, 2003 9:47 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|