How can I set up an external HDD that functions just like a shareable flash drive?How to make an ext4...
Look mom! I made my own (Base 10) numeral system!
Why did the RAAF procure the F/A-18 despite being purpose-built for carriers?
How many numbers in the matrix?
Is this cheap "air conditioner" able to cool a room?
Best gun to modify into a monsterhunter weapon?
Infeasibility in mathematical optimization models
sed delete all the words before a match
Does two puncture wounds mean venomous snake?
How to remove something from the slug/url
Why are physicists so interested in irreps if in their non-block-diagonal form they mix all components of a vector?
Plausibility of Ice Eaters in the Arctic
What is a "Genuine Geraldo interviewee"?
How do we avoid CI-driven development...?
A question about 'reptile and volatiles' to describe creatures
Dereferencing a pointer in a for loop initializer creates a seg fault
In Pokémon Go, why does one of my Pikachu have an option to evolve, but another one doesn't?
Why should we care about syntactic proofs if we can show semantically that statements are true?
Team goes to lunch frequently, I do intermittent fasting but still want to socialize
How quickly could a country build a tall concrete wall around a city?
Can you use Shapechange with character feats to Grapple the Tarrasque?
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?
Is it possible to script what applications should open certain file extensions?
Shabbat clothing on shabbat chazon
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?
How can I set up an external HDD that functions just like a shareable flash drive?
How to make an ext4 formatted usb drive with full RW permissions for any linux machine?Which filesystem to use for a partition shared with a parallel Windows installation?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?Does 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)
.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
2
Possible duplicate of How to make an ext4 formatted usb drive with full RW permissions for any linux machine?
– telcoM
17 hours ago
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
edited 1 hour ago
Miladiouss
New contributor
asked 22 hours ago
MiladioussMiladiouss
1134 bronze badges
1134 bronze badges
New contributor
New contributor
2
Possible duplicate of How to make an ext4 formatted usb drive with full RW permissions for any linux machine?
– telcoM
17 hours ago
add a comment |
2
Possible duplicate of How to make an ext4 formatted usb drive with full RW permissions for any linux machine?
– telcoM
17 hours ago
2
2
Possible duplicate of How to make an ext4 formatted usb drive with full RW permissions for any linux machine?
– telcoM
17 hours ago
Possible duplicate of How to make an ext4 formatted usb drive with full RW permissions for any linux machine?
– telcoM
17 hours ago
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
That pointed me in the right direction. I just need to figure out what are all the dmask, umask, etc.
– Miladiouss
6 hours ago
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-an-external-hdd-that-functions-just-like-a-shareable-flash-driv%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
That pointed me in the right direction. I just need to figure out what are all the dmask, umask, etc.
– Miladiouss
6 hours ago
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
That pointed me in the right direction. I just need to figure out what are all the dmask, umask, etc.
– Miladiouss
6 hours ago
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 22 hours ago
Dominik MatisDominik Matis
1273 bronze badges
1273 bronze badges
New contributor
New contributor
That pointed me in the right direction. I just need to figure out what are all the dmask, umask, etc.
– Miladiouss
6 hours ago
add a comment |
That pointed me in the right direction. I just need to figure out what are all the dmask, umask, etc.
– Miladiouss
6 hours ago
That pointed me in the right direction. I just need to figure out what are all the dmask, umask, etc.
– Miladiouss
6 hours ago
That pointed me in the right direction. I just need to figure out what are all the dmask, umask, etc.
– Miladiouss
6 hours ago
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-an-external-hdd-that-functions-just-like-a-shareable-flash-driv%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
2
Possible duplicate of How to make an ext4 formatted usb drive with full RW permissions for any linux machine?
– telcoM
17 hours ago