storage server all nfs users on full 666 file permissions

Clash Royale CLAN TAG#URR8PPP
How can I setup a shared storage location on a storage server shared via CIFS and NFS and all files written by CIFS and all users via NFS to write files and folders with full read/write permissions (folders 777, files 666).
Reason: I use a Pydio server to manage files between my computer and a central storage.
But this central storage is also accessed directly over CIFS and NFS with other systems.
All files written via CIFS I can do a force user and file creation mask, so that is covverred.
But for NFS that is a different story.
The Pydio server has an NFS mount to this storage location.
Storage Location
/etc/exports:
/storage/internal *(rw,sync,all_squash)
Pydio client mount:
<IP>:/storage/internal /mnt/VODSTOR nfs rw,intr,noexec,rsize=16384,wsize=16384 0 0
all files written by this Pydio server have 644 file permissions. How to alter the parameters of the NFS export/mount options to write with file permission 666 and for folders 777...? Because then all other users should be able to copy, delete, change these files no matter if the use samba or NFS...
Thanks in advance.
nfs storage shared-disk
add a comment |
How can I setup a shared storage location on a storage server shared via CIFS and NFS and all files written by CIFS and all users via NFS to write files and folders with full read/write permissions (folders 777, files 666).
Reason: I use a Pydio server to manage files between my computer and a central storage.
But this central storage is also accessed directly over CIFS and NFS with other systems.
All files written via CIFS I can do a force user and file creation mask, so that is covverred.
But for NFS that is a different story.
The Pydio server has an NFS mount to this storage location.
Storage Location
/etc/exports:
/storage/internal *(rw,sync,all_squash)
Pydio client mount:
<IP>:/storage/internal /mnt/VODSTOR nfs rw,intr,noexec,rsize=16384,wsize=16384 0 0
all files written by this Pydio server have 644 file permissions. How to alter the parameters of the NFS export/mount options to write with file permission 666 and for folders 777...? Because then all other users should be able to copy, delete, change these files no matter if the use samba or NFS...
Thanks in advance.
nfs storage shared-disk
add a comment |
How can I setup a shared storage location on a storage server shared via CIFS and NFS and all files written by CIFS and all users via NFS to write files and folders with full read/write permissions (folders 777, files 666).
Reason: I use a Pydio server to manage files between my computer and a central storage.
But this central storage is also accessed directly over CIFS and NFS with other systems.
All files written via CIFS I can do a force user and file creation mask, so that is covverred.
But for NFS that is a different story.
The Pydio server has an NFS mount to this storage location.
Storage Location
/etc/exports:
/storage/internal *(rw,sync,all_squash)
Pydio client mount:
<IP>:/storage/internal /mnt/VODSTOR nfs rw,intr,noexec,rsize=16384,wsize=16384 0 0
all files written by this Pydio server have 644 file permissions. How to alter the parameters of the NFS export/mount options to write with file permission 666 and for folders 777...? Because then all other users should be able to copy, delete, change these files no matter if the use samba or NFS...
Thanks in advance.
nfs storage shared-disk
How can I setup a shared storage location on a storage server shared via CIFS and NFS and all files written by CIFS and all users via NFS to write files and folders with full read/write permissions (folders 777, files 666).
Reason: I use a Pydio server to manage files between my computer and a central storage.
But this central storage is also accessed directly over CIFS and NFS with other systems.
All files written via CIFS I can do a force user and file creation mask, so that is covverred.
But for NFS that is a different story.
The Pydio server has an NFS mount to this storage location.
Storage Location
/etc/exports:
/storage/internal *(rw,sync,all_squash)
Pydio client mount:
<IP>:/storage/internal /mnt/VODSTOR nfs rw,intr,noexec,rsize=16384,wsize=16384 0 0
all files written by this Pydio server have 644 file permissions. How to alter the parameters of the NFS export/mount options to write with file permission 666 and for folders 777...? Because then all other users should be able to copy, delete, change these files no matter if the use samba or NFS...
Thanks in advance.
nfs storage shared-disk
nfs storage shared-disk
asked Oct 10 '14 at 8:22
SHLelieveldSHLelieveld
1261213
1261213
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Short answer is - you can't. NFS permissions are handled by the client and file create permissions controlled by the user umask.
What you might be able to do (it depends on OS support) - if you're using NFSv4 - is use an ACL. See the man page, specifically, the part about inheritance.
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
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: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f160361%2fstorage-server-all-nfs-users-on-full-666-file-permissions%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
Short answer is - you can't. NFS permissions are handled by the client and file create permissions controlled by the user umask.
What you might be able to do (it depends on OS support) - if you're using NFSv4 - is use an ACL. See the man page, specifically, the part about inheritance.
add a comment |
Short answer is - you can't. NFS permissions are handled by the client and file create permissions controlled by the user umask.
What you might be able to do (it depends on OS support) - if you're using NFSv4 - is use an ACL. See the man page, specifically, the part about inheritance.
add a comment |
Short answer is - you can't. NFS permissions are handled by the client and file create permissions controlled by the user umask.
What you might be able to do (it depends on OS support) - if you're using NFSv4 - is use an ACL. See the man page, specifically, the part about inheritance.
Short answer is - you can't. NFS permissions are handled by the client and file create permissions controlled by the user umask.
What you might be able to do (it depends on OS support) - if you're using NFSv4 - is use an ACL. See the man page, specifically, the part about inheritance.
edited Jan 1 '17 at 14:32
SouravGhosh
457311
457311
answered May 14 '15 at 8:48
SobriqueSobrique
3,819519
3,819519
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- 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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f160361%2fstorage-server-all-nfs-users-on-full-666-file-permissions%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
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
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