How can I set up such an external HDD that functions just like a shareable flash drive?Circumvent permissions...
Is it true that control+alt+delete only became a thing because IBM would not build Bill Gates a computer with a task manager button?
Where to pee in London?
What are good ways to improve as a writer other than writing courses?
Decode a variable-length quantity
What are the examples (applications) of the MIPs in which the objective function has nonzero coefficients for only continuous variables?
Why does the ultra long-end of a yield curve invert?
Is it really ~648.69 km/s Delta-V to "Land" on the Surface of the Sun?
Does the United States guarantee any unique freedoms?
Validation and verification of mathematical models
Should I take out a personal loan to pay off credit card debt?
Short story about a teenager who has his brain replaced with a microchip (Psychological Horror)
Can we use other things than single-word verbs in our dialog tags?
Do other countries guarantee freedoms that the United States does not have?
Is TA-ing worth the opportunity cost?
What does VB stand for?
Is Odin inconsistent about the powers of Mjolnir?
In a topological space if there exists a loop that cannot be contracted to a point does there exist a simple loop that cannot be contracted also?
Does bottle color affect mold growth?
Why do private jets such as Gulfstream fly higher than other civilian jets?
Our group keeps dying during the Lost Mine of Phandelver campaign. What are we doing wrong?
How can I tell if a flight itinerary is fake
Traveling from Germany to other countries by train?
Scripting a Maintenance Plan in SQL Server Express
How to realistically deal with a shield user?
How can I set up such an external HDD that functions just like a shareable flash drive?
Circumvent permissions of filesystem on an external driveConfigure external HDD for use with multiple linux PCsWhy is my ext4 filesystem recognizable only on the machine it was formatted on?Backup Files on ext4 to external NTFS driveSharing a hard disk partition with a Linux VM on VirtualBoxCheck if it's an external flash drive or usb flash stick?Shared ownership for samba and Resilio SyncDoes file ownership work differently for guest users? If it does could you explain?Method to automatically email if a drive goes offline (or a USB port is restarted)Encrypting a currently used external hard drive such that it can be updated with rsync?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I have partitioned an external HDD on linux (gpt, ext4) and mounted it under /mnt
and would like to use it as a storage device for the whole team, meaning everyone would have all permissions to all files even on other Linux machine (unless one changes the ownership and mode manually). If someone creates a new file on their PC, someone else on another PC would also be able to read and write those files. Running sudo chmod -R 774 /mnt/NewDrive/
does the job but not for new files created after running the command. Am I jeopardizing the security of the machine this external HDD is connected to? What is the safest practice?
Finally, how can I set up such an external HDD that functions just like a shareable flash drive?
permissions filesystems external-hdd
New contributor
add a comment |
I have partitioned an external HDD on linux (gpt, ext4) and mounted it under /mnt
and would like to use it as a storage device for the whole team, meaning everyone would have all permissions to all files even on other Linux machine (unless one changes the ownership and mode manually). If someone creates a new file on their PC, someone else on another PC would also be able to read and write those files. Running sudo chmod -R 774 /mnt/NewDrive/
does the job but not for new files created after running the command. Am I jeopardizing the security of the machine this external HDD is connected to? What is the safest practice?
Finally, how can I set up such an external HDD that functions just like a shareable flash drive?
permissions filesystems external-hdd
New contributor
add a comment |
I have partitioned an external HDD on linux (gpt, ext4) and mounted it under /mnt
and would like to use it as a storage device for the whole team, meaning everyone would have all permissions to all files even on other Linux machine (unless one changes the ownership and mode manually). If someone creates a new file on their PC, someone else on another PC would also be able to read and write those files. Running sudo chmod -R 774 /mnt/NewDrive/
does the job but not for new files created after running the command. Am I jeopardizing the security of the machine this external HDD is connected to? What is the safest practice?
Finally, how can I set up such an external HDD that functions just like a shareable flash drive?
permissions filesystems external-hdd
New contributor
I have partitioned an external HDD on linux (gpt, ext4) and mounted it under /mnt
and would like to use it as a storage device for the whole team, meaning everyone would have all permissions to all files even on other Linux machine (unless one changes the ownership and mode manually). If someone creates a new file on their PC, someone else on another PC would also be able to read and write those files. Running sudo chmod -R 774 /mnt/NewDrive/
does the job but not for new files created after running the command. Am I jeopardizing the security of the machine this external HDD is connected to? What is the safest practice?
Finally, how can I set up such an external HDD that functions just like a shareable flash drive?
permissions filesystems external-hdd
permissions filesystems external-hdd
New contributor
New contributor
New contributor
asked 33 mins ago
MiladioussMiladiouss
1033 bronze badges
1033 bronze badges
New contributor
New contributor
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
When creating new files, the permissions are calculated from inverse umask
, so you need to set umask
which is inverted value. So for 774
permission it should be 003
I think
New contributor
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
});
}
});
Miladiouss is a new contributor. Be nice, and check out our Code of Conduct.
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%2f534660%2fhow-can-i-set-up-such-an-external-hdd-that-functions-just-like-a-shareable-flash%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
When creating new files, the permissions are calculated from inverse umask
, so you need to set umask
which is inverted value. So for 774
permission it should be 003
I think
New contributor
add a comment |
When creating new files, the permissions are calculated from inverse umask
, so you need to set umask
which is inverted value. So for 774
permission it should be 003
I think
New contributor
add a comment |
When creating new files, the permissions are calculated from inverse umask
, so you need to set umask
which is inverted value. So for 774
permission it should be 003
I think
New contributor
When creating new files, the permissions are calculated from inverse umask
, so you need to set umask
which is inverted value. So for 774
permission it should be 003
I think
New contributor
New contributor
answered 29 mins ago
Dominik MatisDominik Matis
273 bronze badges
273 bronze badges
New contributor
New contributor
add a comment |
add a comment |
Miladiouss is a new contributor. Be nice, and check out our Code of Conduct.
Miladiouss is a new contributor. Be nice, and check out our Code of Conduct.
Miladiouss is a new contributor. Be nice, and check out our Code of Conduct.
Miladiouss is a new contributor. Be nice, and check out our Code of Conduct.
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%2f534660%2fhow-can-i-set-up-such-an-external-hdd-that-functions-just-like-a-shareable-flash%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