How to allow other than root to write to external mount

General support questions
Post Reply
rnrstar
Posts: 1
Joined: 2018/07/18 17:36:57

How to allow other than root to write to external mount

Post by rnrstar » 2018/07/18 17:42:27

I've got a server running Centos 6.6 and I'm trying to mount an external windows share so that a process can write to it but it appears that only root has permissions to write (rwx-r-r). Using chmod to change the permissions doesn't do anything. How can I mount the share and allow another user to write to it?

User avatar
TrevorH
Forum Moderator
Posts: 24098
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: How to allow other than root to write to external mount

Post by TrevorH » 2018/07/18 18:06:11

First off, don't run out of date and obsolete releases. You are approximately 4 years behind on maintenance - CentOS 6.10 is current and is just a yum update away. There have been some really serious security problems in the last 4 years and if you are on 6.6 then you have none of the fixes for those.

When you mount cifs shares you can tell it at mount time who should own the mount - see man mount.cifs for details.
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

Post Reply