How can two users share one folder? [duplicate]
![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
0
down vote
favorite
This question already has an answer here:
Truly share a folder with multiple users on a computer
3 answers
Can I put a folder in the top of the main drive (is that the root?) so that the two users of the machine can use it freely. For example, I'd like to put music in it so that both users can import to Rhythmbox. We also need to keep other various files and docs there and we need to edit files created by eachother.
I'm not magnificently knowledgeable of term commands, so if someone could give me reasonably detailed instructions, I'd be very grateful.
If there's a better way to do what I want; I'm listening...
Many thanks.
Using Ubuntu 18 (if you want to help with my Ubuntu<>MacOS filesharing problem, please look for my other post).
shared-folders multiple-users
marked as duplicate by Panther, Terrance, Andrea Lazzarotto, dobey, karel May 15 at 14:38
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |Â
up vote
0
down vote
favorite
This question already has an answer here:
Truly share a folder with multiple users on a computer
3 answers
Can I put a folder in the top of the main drive (is that the root?) so that the two users of the machine can use it freely. For example, I'd like to put music in it so that both users can import to Rhythmbox. We also need to keep other various files and docs there and we need to edit files created by eachother.
I'm not magnificently knowledgeable of term commands, so if someone could give me reasonably detailed instructions, I'd be very grateful.
If there's a better way to do what I want; I'm listening...
Many thanks.
Using Ubuntu 18 (if you want to help with my Ubuntu<>MacOS filesharing problem, please look for my other post).
shared-folders multiple-users
marked as duplicate by Panther, Terrance, Andrea Lazzarotto, dobey, karel May 15 at 14:38
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
See also joshua14.homelinux.org/blog/?p=1383 . There are several options, SGID and groups are easiest, ACL and (or) bindfs are alternates.
â Panther
May 15 at 14:05
See askubuntu.com/questions/52584/⦠and brunogirin.blogspot.com/2010/03/â¦
â Panther
May 15 at 14:08
I had achieved this by symbolic links
â noone
May 15 at 14:08
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
This question already has an answer here:
Truly share a folder with multiple users on a computer
3 answers
Can I put a folder in the top of the main drive (is that the root?) so that the two users of the machine can use it freely. For example, I'd like to put music in it so that both users can import to Rhythmbox. We also need to keep other various files and docs there and we need to edit files created by eachother.
I'm not magnificently knowledgeable of term commands, so if someone could give me reasonably detailed instructions, I'd be very grateful.
If there's a better way to do what I want; I'm listening...
Many thanks.
Using Ubuntu 18 (if you want to help with my Ubuntu<>MacOS filesharing problem, please look for my other post).
shared-folders multiple-users
This question already has an answer here:
Truly share a folder with multiple users on a computer
3 answers
Can I put a folder in the top of the main drive (is that the root?) so that the two users of the machine can use it freely. For example, I'd like to put music in it so that both users can import to Rhythmbox. We also need to keep other various files and docs there and we need to edit files created by eachother.
I'm not magnificently knowledgeable of term commands, so if someone could give me reasonably detailed instructions, I'd be very grateful.
If there's a better way to do what I want; I'm listening...
Many thanks.
Using Ubuntu 18 (if you want to help with my Ubuntu<>MacOS filesharing problem, please look for my other post).
This question already has an answer here:
Truly share a folder with multiple users on a computer
3 answers
shared-folders multiple-users
asked May 15 at 13:54
spaceprobe
63
63
marked as duplicate by Panther, Terrance, Andrea Lazzarotto, dobey, karel May 15 at 14:38
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
marked as duplicate by Panther, Terrance, Andrea Lazzarotto, dobey, karel May 15 at 14:38
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
See also joshua14.homelinux.org/blog/?p=1383 . There are several options, SGID and groups are easiest, ACL and (or) bindfs are alternates.
â Panther
May 15 at 14:05
See askubuntu.com/questions/52584/⦠and brunogirin.blogspot.com/2010/03/â¦
â Panther
May 15 at 14:08
I had achieved this by symbolic links
â noone
May 15 at 14:08
add a comment |Â
See also joshua14.homelinux.org/blog/?p=1383 . There are several options, SGID and groups are easiest, ACL and (or) bindfs are alternates.
â Panther
May 15 at 14:05
See askubuntu.com/questions/52584/⦠and brunogirin.blogspot.com/2010/03/â¦
â Panther
May 15 at 14:08
I had achieved this by symbolic links
â noone
May 15 at 14:08
See also joshua14.homelinux.org/blog/?p=1383 . There are several options, SGID and groups are easiest, ACL and (or) bindfs are alternates.
â Panther
May 15 at 14:05
See also joshua14.homelinux.org/blog/?p=1383 . There are several options, SGID and groups are easiest, ACL and (or) bindfs are alternates.
â Panther
May 15 at 14:05
See askubuntu.com/questions/52584/⦠and brunogirin.blogspot.com/2010/03/â¦
â Panther
May 15 at 14:08
See askubuntu.com/questions/52584/⦠and brunogirin.blogspot.com/2010/03/â¦
â Panther
May 15 at 14:08
I had achieved this by symbolic links
â noone
May 15 at 14:08
I had achieved this by symbolic links
â noone
May 15 at 14:08
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
-1
down vote
ACL
can help:
# Create shared directory
sudo mkdir -p /media/Shared
# Give user1 and user2 rwX access to /media/Shared
sudo setfacl -m u:user1:rwX '/media/Shared'
sudo setfacl -m u:user2:rwX '/media/Shared'
# Make rwX access the default for new files and folders for both users
sudo setfacl -m default:u:user1:rwX '/media/Shared'
sudo setfacl -m default:u:user2:rwX '/media/Shared'
Change user1
, user2
and /media/Shared
to your needs.
Brilliant! Many thanks for your response. (Is it OK to thank people for their help here?)
â spaceprobe
May 16 at 7:30
I'm glad my answer helped. Sure it's okay to thank others in comments. But usually you just thank people by up-voting or accepting answers ;-)
â RoVo
May 16 at 7:37
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
-1
down vote
ACL
can help:
# Create shared directory
sudo mkdir -p /media/Shared
# Give user1 and user2 rwX access to /media/Shared
sudo setfacl -m u:user1:rwX '/media/Shared'
sudo setfacl -m u:user2:rwX '/media/Shared'
# Make rwX access the default for new files and folders for both users
sudo setfacl -m default:u:user1:rwX '/media/Shared'
sudo setfacl -m default:u:user2:rwX '/media/Shared'
Change user1
, user2
and /media/Shared
to your needs.
Brilliant! Many thanks for your response. (Is it OK to thank people for their help here?)
â spaceprobe
May 16 at 7:30
I'm glad my answer helped. Sure it's okay to thank others in comments. But usually you just thank people by up-voting or accepting answers ;-)
â RoVo
May 16 at 7:37
add a comment |Â
up vote
-1
down vote
ACL
can help:
# Create shared directory
sudo mkdir -p /media/Shared
# Give user1 and user2 rwX access to /media/Shared
sudo setfacl -m u:user1:rwX '/media/Shared'
sudo setfacl -m u:user2:rwX '/media/Shared'
# Make rwX access the default for new files and folders for both users
sudo setfacl -m default:u:user1:rwX '/media/Shared'
sudo setfacl -m default:u:user2:rwX '/media/Shared'
Change user1
, user2
and /media/Shared
to your needs.
Brilliant! Many thanks for your response. (Is it OK to thank people for their help here?)
â spaceprobe
May 16 at 7:30
I'm glad my answer helped. Sure it's okay to thank others in comments. But usually you just thank people by up-voting or accepting answers ;-)
â RoVo
May 16 at 7:37
add a comment |Â
up vote
-1
down vote
up vote
-1
down vote
ACL
can help:
# Create shared directory
sudo mkdir -p /media/Shared
# Give user1 and user2 rwX access to /media/Shared
sudo setfacl -m u:user1:rwX '/media/Shared'
sudo setfacl -m u:user2:rwX '/media/Shared'
# Make rwX access the default for new files and folders for both users
sudo setfacl -m default:u:user1:rwX '/media/Shared'
sudo setfacl -m default:u:user2:rwX '/media/Shared'
Change user1
, user2
and /media/Shared
to your needs.
ACL
can help:
# Create shared directory
sudo mkdir -p /media/Shared
# Give user1 and user2 rwX access to /media/Shared
sudo setfacl -m u:user1:rwX '/media/Shared'
sudo setfacl -m u:user2:rwX '/media/Shared'
# Make rwX access the default for new files and folders for both users
sudo setfacl -m default:u:user1:rwX '/media/Shared'
sudo setfacl -m default:u:user2:rwX '/media/Shared'
Change user1
, user2
and /media/Shared
to your needs.
edited May 15 at 14:35
answered May 15 at 14:24
RoVo
4,820932
4,820932
Brilliant! Many thanks for your response. (Is it OK to thank people for their help here?)
â spaceprobe
May 16 at 7:30
I'm glad my answer helped. Sure it's okay to thank others in comments. But usually you just thank people by up-voting or accepting answers ;-)
â RoVo
May 16 at 7:37
add a comment |Â
Brilliant! Many thanks for your response. (Is it OK to thank people for their help here?)
â spaceprobe
May 16 at 7:30
I'm glad my answer helped. Sure it's okay to thank others in comments. But usually you just thank people by up-voting or accepting answers ;-)
â RoVo
May 16 at 7:37
Brilliant! Many thanks for your response. (Is it OK to thank people for their help here?)
â spaceprobe
May 16 at 7:30
Brilliant! Many thanks for your response. (Is it OK to thank people for their help here?)
â spaceprobe
May 16 at 7:30
I'm glad my answer helped. Sure it's okay to thank others in comments. But usually you just thank people by up-voting or accepting answers ;-)
â RoVo
May 16 at 7:37
I'm glad my answer helped. Sure it's okay to thank others in comments. But usually you just thank people by up-voting or accepting answers ;-)
â RoVo
May 16 at 7:37
add a comment |Â
See also joshua14.homelinux.org/blog/?p=1383 . There are several options, SGID and groups are easiest, ACL and (or) bindfs are alternates.
â Panther
May 15 at 14:05
See askubuntu.com/questions/52584/⦠and brunogirin.blogspot.com/2010/03/â¦
â Panther
May 15 at 14:08
I had achieved this by symbolic links
â noone
May 15 at 14:08