Project

General

Profile

Bug #31

Samba shares that are mounted are only read-only

Added by Daniel Curtis almost 8 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
01/16/2013
Due date:
% Done:

100%

Spent time:

Description

I would like users to be able to mount Samba shares and be able to read/write to the. I am able to mount

mkdir /mnt/Share
mount -t cifs -o username=user,password=pass,user,noauto //SambaServer/Share /mnt/Share

Once navigated to the mounted directory, all files display. However editing, modifying, deleting, and creating files are impossible.

ls -l of /mnt/

Shows that /mnt/Share is owned by root with 755 permissions.
sudo cp <file> /mnt/Share

(Successful Write as root)

History

#1 Updated by Daniel Curtis almost 8 years ago

  • Description updated (diff)

#2 Updated by Daniel Curtis almost 8 years ago

  • Description updated (diff)

#3 Updated by Daniel Curtis almost 8 years ago

This task can be done by editing the /etc/fstab
//SambaServer/Share /mnt/Share cifs username=user,password=pass,user,noauto

Make sure to add the noauto and user options.
  • noauto sets the share to not automatically mount at boot time.
  • user allows users to mount the share

And now try to mount the share as the normal user.

#4 Updated by Daniel Curtis over 7 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF