Mount windows/samba share as non root user
Hi,
I have opensuse 10.3, and another server running samba. As root I can issue the command: Code:
mount -t cifs //192.168.3.201/shared /home/joebloggs/MyShare/ -o username=myuser,password=mypass However, when I am user "joebloggs" I can view the shared area, but cannot make changes..? Is there a way to permanently mount the share as user "joebloggs" ? Thank you |
I can't speak from experience since I never have never had a problem like this, but I believe you can use the /etc/fstab file to have a partition automatically mounted. I found a tutorial here:
http://www.tuxfiles.org/linuxhelp/fstab.html Hopefully that will help! EDIT: Oops, I missed that you were trying to do this with a network share. Now I have no experience with this x2. :-) Anyway, try this link: http://www.linuxplanet.com/linuxplan...orials/2047/3/ |
Quote:
Code:
//192.168.1.1/Files /mnt/server/files cifs uid=linuxuser,credentials=/etc/.cifspw,workgroup=baileysoft,user,rw,0 0 |
Are the permissions set correctly on the Samba server? I don't have too much experience here, but I do see a writable flag being set in my smb.conf file.
The other thing I would check is the directory and file permissions inside the mounted directory, to make sure your non-root user has the propper permissions. |
All times are GMT -5. The time now is 07:54 PM. |