Jump to content

Mounting a samba share as a normal user


phunni
 Share

Recommended Posts

I have a samba share set up and working and included in my /etc/fstab

 

I would like to be able to mount this share as a normal user and also to be able to read/write to it.

 

At present I can only mount it as root and it is read only.

 

The entry in /etc/fstab is as follows:

//livingstone/C /mnt/livingstone smbfs user,credentials=/etc/samba/auth.livingstone.paul 0 0

 

Any suggestions anyone?

Link to comment
Share on other sites

Hi phunni

 

Add rw in the options so that you get read and write access to the share. For the 'mounting as a normal user question' I'm lost... you already wrote user which mean that the share is mountable as a normal user. What is credentials=/etc/samba/auth.livingstone.paul for?

 

HTH

 

MOttS

Link to comment
Share on other sites

Why don't you just set up LinNeighborhood to browse windows share. There is minimal setup. Choose your workgroup and your defsult user and thats about it. The smb client will scan for the shares in the workgroup as soon as you open LinNeighborhood. It is really easy.

 

I used to use Xsmbrowser but I like Lin better. It is installed by default with 9.1

Link to comment
Share on other sites

I used to use LinNeighborhood to browse shares - but thought it would be easier if I could just have it done transparently behind the scenes.

 

I have added rw to the entry in /etc/fstab and it doesn't appear to have made any difference. Also, I still cannot mount or unmount the share as a normal user regardless of whether I include the credentials or not

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...