Mkdir in path that is an NFS share doesn't assign directory permissions

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
1
down vote

favorite












I have an Ubuntu 16.04.3 LTS (GNU/Linux 4.4.0-97-generic x86_64) server with a Synology NAS mounted at /mnt/media via NFS.



From a bash shell, I cd into /mnt/media and perform a mkdir new-folder



The folder is created but there are no folder permissions assigned.



d--------- 2 gregory gregory 4096 Mar 4 19:59 new-folder


Why ? I can chmod the directory but this is a real problem for processes that want to create a directory for its use.



EDIT: ls -la /mnt/



gregory@backup:~$ ls -la /mnt/
total 120
drwxr-xr-x 8 root root 4096 Jun 9 2017 .
drwxr-xr-x 23 root root 4096 Feb 22 06:49 ..
drwxrwxrwx 17 root media 4096 Mar 4 19:59 media









share|improve this question



















  • 1




    Seems to a problem with Synology's NFS/ext4 implementation: forum.synology.com/enu/viewtopic.php?t=96419#p399404
    – muru
    Mar 5 at 1:30










  • please edit your post to include the output of ls -la /mnt/ Thank you for helping us help you!
    – Elder Geek
    Mar 9 at 15:13














up vote
1
down vote

favorite












I have an Ubuntu 16.04.3 LTS (GNU/Linux 4.4.0-97-generic x86_64) server with a Synology NAS mounted at /mnt/media via NFS.



From a bash shell, I cd into /mnt/media and perform a mkdir new-folder



The folder is created but there are no folder permissions assigned.



d--------- 2 gregory gregory 4096 Mar 4 19:59 new-folder


Why ? I can chmod the directory but this is a real problem for processes that want to create a directory for its use.



EDIT: ls -la /mnt/



gregory@backup:~$ ls -la /mnt/
total 120
drwxr-xr-x 8 root root 4096 Jun 9 2017 .
drwxr-xr-x 23 root root 4096 Feb 22 06:49 ..
drwxrwxrwx 17 root media 4096 Mar 4 19:59 media









share|improve this question



















  • 1




    Seems to a problem with Synology's NFS/ext4 implementation: forum.synology.com/enu/viewtopic.php?t=96419#p399404
    – muru
    Mar 5 at 1:30










  • please edit your post to include the output of ls -la /mnt/ Thank you for helping us help you!
    – Elder Geek
    Mar 9 at 15:13












up vote
1
down vote

favorite









up vote
1
down vote

favorite











I have an Ubuntu 16.04.3 LTS (GNU/Linux 4.4.0-97-generic x86_64) server with a Synology NAS mounted at /mnt/media via NFS.



From a bash shell, I cd into /mnt/media and perform a mkdir new-folder



The folder is created but there are no folder permissions assigned.



d--------- 2 gregory gregory 4096 Mar 4 19:59 new-folder


Why ? I can chmod the directory but this is a real problem for processes that want to create a directory for its use.



EDIT: ls -la /mnt/



gregory@backup:~$ ls -la /mnt/
total 120
drwxr-xr-x 8 root root 4096 Jun 9 2017 .
drwxr-xr-x 23 root root 4096 Feb 22 06:49 ..
drwxrwxrwx 17 root media 4096 Mar 4 19:59 media









share|improve this question















I have an Ubuntu 16.04.3 LTS (GNU/Linux 4.4.0-97-generic x86_64) server with a Synology NAS mounted at /mnt/media via NFS.



From a bash shell, I cd into /mnt/media and perform a mkdir new-folder



The folder is created but there are no folder permissions assigned.



d--------- 2 gregory gregory 4096 Mar 4 19:59 new-folder


Why ? I can chmod the directory but this is a real problem for processes that want to create a directory for its use.



EDIT: ls -la /mnt/



gregory@backup:~$ ls -la /mnt/
total 120
drwxr-xr-x 8 root root 4096 Jun 9 2017 .
drwxr-xr-x 23 root root 4096 Feb 22 06:49 ..
drwxrwxrwx 17 root media 4096 Mar 4 19:59 media






server nfs nas






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 12 at 16:13

























asked Mar 5 at 1:19









grbonk

62




62







  • 1




    Seems to a problem with Synology's NFS/ext4 implementation: forum.synology.com/enu/viewtopic.php?t=96419#p399404
    – muru
    Mar 5 at 1:30










  • please edit your post to include the output of ls -la /mnt/ Thank you for helping us help you!
    – Elder Geek
    Mar 9 at 15:13












  • 1




    Seems to a problem with Synology's NFS/ext4 implementation: forum.synology.com/enu/viewtopic.php?t=96419#p399404
    – muru
    Mar 5 at 1:30










  • please edit your post to include the output of ls -la /mnt/ Thank you for helping us help you!
    – Elder Geek
    Mar 9 at 15:13







1




1




Seems to a problem with Synology's NFS/ext4 implementation: forum.synology.com/enu/viewtopic.php?t=96419#p399404
– muru
Mar 5 at 1:30




Seems to a problem with Synology's NFS/ext4 implementation: forum.synology.com/enu/viewtopic.php?t=96419#p399404
– muru
Mar 5 at 1:30












please edit your post to include the output of ls -la /mnt/ Thank you for helping us help you!
– Elder Geek
Mar 9 at 15:13




please edit your post to include the output of ls -la /mnt/ Thank you for helping us help you!
– Elder Geek
Mar 9 at 15:13















active

oldest

votes











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',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
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%2f1011935%2fmkdir-in-path-that-is-an-nfs-share-doesnt-assign-directory-permissions%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1011935%2fmkdir-in-path-that-is-an-nfs-share-doesnt-assign-directory-permissions%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

pylint3 and pip3 broken

Missing snmpget and snmpwalk

How to enroll fingerprints to Ubuntu 17.10 with VFS491