Mkdir in path that is an NFS share doesn't assign directory permissions
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
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
server nfs nas
add a comment |Â
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
server nfs nas
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 ofls -la /mnt/
Thank you for helping us help you!
â Elder Geek
Mar 9 at 15:13
add a comment |Â
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
server nfs nas
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
server nfs nas
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 ofls -la /mnt/
Thank you for helping us help you!
â Elder Geek
Mar 9 at 15:13
add a comment |Â
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 ofls -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
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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