Can't change permissions on a network share smb/CIFSHow do I map users with a samba share?CIFS - Default...

Understanding Kramnik's play in game 1 of Candidates 2018

What do the pedals on grand pianos do?

Logistics of a hovering watercraft in a fantasy setting

How can atoms be electrically neutral when there is a difference in the positions of the charges?

What's the difference between a cart and a wagon?

Hacker Rank: Array left rotation

I encountered my boss during an on-site interview at another company. Should I bring it up when seeing him next time?

How to count words in a line

Which aircraft had such a luxurious-looking navigator's station?

How to tighten battery clamp?

Is there a low-level alternative to Animate Objects?

If a druid in Wild Shape swallows a creature whole, then turns back to her normal form, what happens?

Multiplication via squaring and addition

Can I become debt free or should I file for bankruptcy? How do I manage my debt and finances?

What is the difference between ashamed and shamed?

What to do when being responsible for data protection in your lab, yet advice is ignored?

How to approximate rolls for potions of healing using only d6's?

It took me a lot of time to make this, pls like. (YouTube Comments #1)

Linear regression when Y is bounded and discrete

Non-Italian European mafias in USA?

Where was Karl Mordo in Infinity War?

Must a tritone substitution use a dominant seventh chord?

How to properly claim credit for peer review?

Equivalent to "source" in OpenBSD?



Can't change permissions on a network share smb/CIFS


How do I map users with a samba share?CIFS - Default security mechanism requested (Mounted Share)How to set up group write permissions on new created files on cifs mount point (samba/fstab)Fstab after reboot does not workMounting NAS for plex media server on Ubuntu 16.04 LTSMounting CIFS Share per User using AutoFSsudo mount -a gives error when executing itHow do a mount a NAS (WD, MyBookLive) so i can add media to a plex server?Write Permissions denied to LAN mounted driveSamba Shares via Linux ClientCan't alter permissions for samba share.













0















I'm sure this is simple for someone but I have tried for the last 2 days every piece of information from googling and still no joy! So I would really appreciate some help. I'm newish to the world of Linux but enjoying the change.



The Problem



I recently built a Ubuntu headless 16.04.2 LTS server to run Plex with the media living on my Qnap NAS. Following this guide I got things going pretty easily. So created the mounts like this:



mkdir /mnt/Video 
mkdir /mnt/Audio
mkdir /mnt/Multimedia
sudo apt-get install cifs-utils


Added the following lines to the /etc/fstab file



//192.168.1.15/Videos /mnt/Videos  cifs  credentials=/etc/samba/credentials,uid=1000,iocharset=utf8  0  0 
//192.168.1.15/Audio /mnt/Audio cifs credentials=/etc/samba/credentials,uid=1000,iocharset=utf8 0 0
//192.168.1.15/Multimedia /mnt/Multimedia cifs credentials=/etc/samba/credentials,uid=1000,iocharset=utf8 0 0


then ran the mount cmd



sudo mount -a


the shares mount fine, Plex could read the media and build a library.



Then I wanted to enable Camera Upload from my phone and that is when the fun began. Straight up it wouldn't work so I thought simple- change the permissions for the folder on the NAS to rw and bingo should work- Nope.

I can make and remove a folder from CLI but Plex still no rw access. Plex created a user called Plex so I tried to change the owner and permissions to plex using
sudo chown -R plex /mnt/Multimedia
but I get "changing ownership of '/mnt/Multimedia/files' : Permission denied.
Tried sudo chmod 755 -R /mnt/Multimedia and I get the same response..



When I run a



ls -l /mnt/Multimedia


I get



this



I have since tried different mount options with no luck. Tried creating a group and making plex part of that group and apply the group and no luck.



Why is it so hard to change permissions on a network share?










share|improve this question
















bumped to the homepage by Community 6 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.











  • 1





    Welcome to Askubuntu.com. You should remove the picture of the text output of your command and make it easier for the users to interpret what is happening on your system by providing the actual text. Pictures of the text are not as easy to read as the actual text itself. It's also a waste of resource storing the pictures rather than the actual text itself. Those are just a few of the many reasons for providing actual text you are providing, over pictures of the text.

    – L. D. James
    Apr 13 '17 at 11:07











  • this might help you with the issue of mapping usernames between linux, windows and samba shares: askubuntu.com/a/269653/555486

    – Phillip -Zyan K Lee- Stockmann
    Apr 13 '17 at 11:15











  • thanks for the comments guys.. Tried following that link but it made a mess of my permissions and I could even map the folders. I am going to give up on this... I was hoping there was someone with a similar setup that could shed some light. Thanks again

    –  Aussybob
    Apr 14 '17 at 12:08













  • It's not possible for chmod to provide the same error mentioned for chown as chmod changes permissions, not ownership. So your question is completely unclear (at least to me).

    – Elder Geek
    Feb 4 '18 at 19:06
















0















I'm sure this is simple for someone but I have tried for the last 2 days every piece of information from googling and still no joy! So I would really appreciate some help. I'm newish to the world of Linux but enjoying the change.



The Problem



I recently built a Ubuntu headless 16.04.2 LTS server to run Plex with the media living on my Qnap NAS. Following this guide I got things going pretty easily. So created the mounts like this:



mkdir /mnt/Video 
mkdir /mnt/Audio
mkdir /mnt/Multimedia
sudo apt-get install cifs-utils


Added the following lines to the /etc/fstab file



//192.168.1.15/Videos /mnt/Videos  cifs  credentials=/etc/samba/credentials,uid=1000,iocharset=utf8  0  0 
//192.168.1.15/Audio /mnt/Audio cifs credentials=/etc/samba/credentials,uid=1000,iocharset=utf8 0 0
//192.168.1.15/Multimedia /mnt/Multimedia cifs credentials=/etc/samba/credentials,uid=1000,iocharset=utf8 0 0


then ran the mount cmd



sudo mount -a


the shares mount fine, Plex could read the media and build a library.



Then I wanted to enable Camera Upload from my phone and that is when the fun began. Straight up it wouldn't work so I thought simple- change the permissions for the folder on the NAS to rw and bingo should work- Nope.

I can make and remove a folder from CLI but Plex still no rw access. Plex created a user called Plex so I tried to change the owner and permissions to plex using
sudo chown -R plex /mnt/Multimedia
but I get "changing ownership of '/mnt/Multimedia/files' : Permission denied.
Tried sudo chmod 755 -R /mnt/Multimedia and I get the same response..



When I run a



ls -l /mnt/Multimedia


I get



this



I have since tried different mount options with no luck. Tried creating a group and making plex part of that group and apply the group and no luck.



Why is it so hard to change permissions on a network share?










share|improve this question
















bumped to the homepage by Community 6 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.











  • 1





    Welcome to Askubuntu.com. You should remove the picture of the text output of your command and make it easier for the users to interpret what is happening on your system by providing the actual text. Pictures of the text are not as easy to read as the actual text itself. It's also a waste of resource storing the pictures rather than the actual text itself. Those are just a few of the many reasons for providing actual text you are providing, over pictures of the text.

    – L. D. James
    Apr 13 '17 at 11:07











  • this might help you with the issue of mapping usernames between linux, windows and samba shares: askubuntu.com/a/269653/555486

    – Phillip -Zyan K Lee- Stockmann
    Apr 13 '17 at 11:15











  • thanks for the comments guys.. Tried following that link but it made a mess of my permissions and I could even map the folders. I am going to give up on this... I was hoping there was someone with a similar setup that could shed some light. Thanks again

    –  Aussybob
    Apr 14 '17 at 12:08













  • It's not possible for chmod to provide the same error mentioned for chown as chmod changes permissions, not ownership. So your question is completely unclear (at least to me).

    – Elder Geek
    Feb 4 '18 at 19:06














0












0








0








I'm sure this is simple for someone but I have tried for the last 2 days every piece of information from googling and still no joy! So I would really appreciate some help. I'm newish to the world of Linux but enjoying the change.



The Problem



I recently built a Ubuntu headless 16.04.2 LTS server to run Plex with the media living on my Qnap NAS. Following this guide I got things going pretty easily. So created the mounts like this:



mkdir /mnt/Video 
mkdir /mnt/Audio
mkdir /mnt/Multimedia
sudo apt-get install cifs-utils


Added the following lines to the /etc/fstab file



//192.168.1.15/Videos /mnt/Videos  cifs  credentials=/etc/samba/credentials,uid=1000,iocharset=utf8  0  0 
//192.168.1.15/Audio /mnt/Audio cifs credentials=/etc/samba/credentials,uid=1000,iocharset=utf8 0 0
//192.168.1.15/Multimedia /mnt/Multimedia cifs credentials=/etc/samba/credentials,uid=1000,iocharset=utf8 0 0


then ran the mount cmd



sudo mount -a


the shares mount fine, Plex could read the media and build a library.



Then I wanted to enable Camera Upload from my phone and that is when the fun began. Straight up it wouldn't work so I thought simple- change the permissions for the folder on the NAS to rw and bingo should work- Nope.

I can make and remove a folder from CLI but Plex still no rw access. Plex created a user called Plex so I tried to change the owner and permissions to plex using
sudo chown -R plex /mnt/Multimedia
but I get "changing ownership of '/mnt/Multimedia/files' : Permission denied.
Tried sudo chmod 755 -R /mnt/Multimedia and I get the same response..



When I run a



ls -l /mnt/Multimedia


I get



this



I have since tried different mount options with no luck. Tried creating a group and making plex part of that group and apply the group and no luck.



Why is it so hard to change permissions on a network share?










share|improve this question
















I'm sure this is simple for someone but I have tried for the last 2 days every piece of information from googling and still no joy! So I would really appreciate some help. I'm newish to the world of Linux but enjoying the change.



The Problem



I recently built a Ubuntu headless 16.04.2 LTS server to run Plex with the media living on my Qnap NAS. Following this guide I got things going pretty easily. So created the mounts like this:



mkdir /mnt/Video 
mkdir /mnt/Audio
mkdir /mnt/Multimedia
sudo apt-get install cifs-utils


Added the following lines to the /etc/fstab file



//192.168.1.15/Videos /mnt/Videos  cifs  credentials=/etc/samba/credentials,uid=1000,iocharset=utf8  0  0 
//192.168.1.15/Audio /mnt/Audio cifs credentials=/etc/samba/credentials,uid=1000,iocharset=utf8 0 0
//192.168.1.15/Multimedia /mnt/Multimedia cifs credentials=/etc/samba/credentials,uid=1000,iocharset=utf8 0 0


then ran the mount cmd



sudo mount -a


the shares mount fine, Plex could read the media and build a library.



Then I wanted to enable Camera Upload from my phone and that is when the fun began. Straight up it wouldn't work so I thought simple- change the permissions for the folder on the NAS to rw and bingo should work- Nope.

I can make and remove a folder from CLI but Plex still no rw access. Plex created a user called Plex so I tried to change the owner and permissions to plex using
sudo chown -R plex /mnt/Multimedia
but I get "changing ownership of '/mnt/Multimedia/files' : Permission denied.
Tried sudo chmod 755 -R /mnt/Multimedia and I get the same response..



When I run a



ls -l /mnt/Multimedia


I get



this



I have since tried different mount options with no luck. Tried creating a group and making plex part of that group and apply the group and no luck.



Why is it so hard to change permissions on a network share?







mount permissions samba fstab






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 24 at 11:22









Hastur

2,79511732




2,79511732










asked Apr 13 '17 at 10:22









Aussybob Aussybob

611




611





bumped to the homepage by Community 6 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 6 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.










  • 1





    Welcome to Askubuntu.com. You should remove the picture of the text output of your command and make it easier for the users to interpret what is happening on your system by providing the actual text. Pictures of the text are not as easy to read as the actual text itself. It's also a waste of resource storing the pictures rather than the actual text itself. Those are just a few of the many reasons for providing actual text you are providing, over pictures of the text.

    – L. D. James
    Apr 13 '17 at 11:07











  • this might help you with the issue of mapping usernames between linux, windows and samba shares: askubuntu.com/a/269653/555486

    – Phillip -Zyan K Lee- Stockmann
    Apr 13 '17 at 11:15











  • thanks for the comments guys.. Tried following that link but it made a mess of my permissions and I could even map the folders. I am going to give up on this... I was hoping there was someone with a similar setup that could shed some light. Thanks again

    –  Aussybob
    Apr 14 '17 at 12:08













  • It's not possible for chmod to provide the same error mentioned for chown as chmod changes permissions, not ownership. So your question is completely unclear (at least to me).

    – Elder Geek
    Feb 4 '18 at 19:06














  • 1





    Welcome to Askubuntu.com. You should remove the picture of the text output of your command and make it easier for the users to interpret what is happening on your system by providing the actual text. Pictures of the text are not as easy to read as the actual text itself. It's also a waste of resource storing the pictures rather than the actual text itself. Those are just a few of the many reasons for providing actual text you are providing, over pictures of the text.

    – L. D. James
    Apr 13 '17 at 11:07











  • this might help you with the issue of mapping usernames between linux, windows and samba shares: askubuntu.com/a/269653/555486

    – Phillip -Zyan K Lee- Stockmann
    Apr 13 '17 at 11:15











  • thanks for the comments guys.. Tried following that link but it made a mess of my permissions and I could even map the folders. I am going to give up on this... I was hoping there was someone with a similar setup that could shed some light. Thanks again

    –  Aussybob
    Apr 14 '17 at 12:08













  • It's not possible for chmod to provide the same error mentioned for chown as chmod changes permissions, not ownership. So your question is completely unclear (at least to me).

    – Elder Geek
    Feb 4 '18 at 19:06








1




1





Welcome to Askubuntu.com. You should remove the picture of the text output of your command and make it easier for the users to interpret what is happening on your system by providing the actual text. Pictures of the text are not as easy to read as the actual text itself. It's also a waste of resource storing the pictures rather than the actual text itself. Those are just a few of the many reasons for providing actual text you are providing, over pictures of the text.

– L. D. James
Apr 13 '17 at 11:07





Welcome to Askubuntu.com. You should remove the picture of the text output of your command and make it easier for the users to interpret what is happening on your system by providing the actual text. Pictures of the text are not as easy to read as the actual text itself. It's also a waste of resource storing the pictures rather than the actual text itself. Those are just a few of the many reasons for providing actual text you are providing, over pictures of the text.

– L. D. James
Apr 13 '17 at 11:07













this might help you with the issue of mapping usernames between linux, windows and samba shares: askubuntu.com/a/269653/555486

– Phillip -Zyan K Lee- Stockmann
Apr 13 '17 at 11:15





this might help you with the issue of mapping usernames between linux, windows and samba shares: askubuntu.com/a/269653/555486

– Phillip -Zyan K Lee- Stockmann
Apr 13 '17 at 11:15













thanks for the comments guys.. Tried following that link but it made a mess of my permissions and I could even map the folders. I am going to give up on this... I was hoping there was someone with a similar setup that could shed some light. Thanks again

–  Aussybob
Apr 14 '17 at 12:08







thanks for the comments guys.. Tried following that link but it made a mess of my permissions and I could even map the folders. I am going to give up on this... I was hoping there was someone with a similar setup that could shed some light. Thanks again

–  Aussybob
Apr 14 '17 at 12:08















It's not possible for chmod to provide the same error mentioned for chown as chmod changes permissions, not ownership. So your question is completely unclear (at least to me).

– Elder Geek
Feb 4 '18 at 19:06





It's not possible for chmod to provide the same error mentioned for chown as chmod changes permissions, not ownership. So your question is completely unclear (at least to me).

– Elder Geek
Feb 4 '18 at 19:06










1 Answer
1






active

oldest

votes


















0














Have a look at this answer: https://unix.stackexchange.com/questions/68079/mount-cifs-network-drive-write-permissions-and-chown



So the solution is to specify user and group ID when mounting.






share|improve this answer
























  • could you please add the steps here?

    – Zanna
    Feb 4 '18 at 20:35











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f904278%2fcant-change-permissions-on-a-network-share-smb-cifs%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














Have a look at this answer: https://unix.stackexchange.com/questions/68079/mount-cifs-network-drive-write-permissions-and-chown



So the solution is to specify user and group ID when mounting.






share|improve this answer
























  • could you please add the steps here?

    – Zanna
    Feb 4 '18 at 20:35
















0














Have a look at this answer: https://unix.stackexchange.com/questions/68079/mount-cifs-network-drive-write-permissions-and-chown



So the solution is to specify user and group ID when mounting.






share|improve this answer
























  • could you please add the steps here?

    – Zanna
    Feb 4 '18 at 20:35














0












0








0







Have a look at this answer: https://unix.stackexchange.com/questions/68079/mount-cifs-network-drive-write-permissions-and-chown



So the solution is to specify user and group ID when mounting.






share|improve this answer













Have a look at this answer: https://unix.stackexchange.com/questions/68079/mount-cifs-network-drive-write-permissions-and-chown



So the solution is to specify user and group ID when mounting.







share|improve this answer












share|improve this answer



share|improve this answer










answered Feb 4 '18 at 14:54









pi3pi3

1011




1011













  • could you please add the steps here?

    – Zanna
    Feb 4 '18 at 20:35



















  • could you please add the steps here?

    – Zanna
    Feb 4 '18 at 20:35

















could you please add the steps here?

– Zanna
Feb 4 '18 at 20:35





could you please add the steps here?

– Zanna
Feb 4 '18 at 20:35


















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f904278%2fcant-change-permissions-on-a-network-share-smb-cifs%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Why do type traits not work with types in namespace scope?What are POD types in C++?Why can templates only be...

Will tsunami waves travel forever if there was no land?Why do tsunami waves begin with the water flowing away...

Simple Scan not detecting my scanner (Brother DCP-7055W)Brother MFC-L2700DW printer can print, can't...