I have two Linux installations on my computer, with /home
on a different partition but shared for the two installs. And each install has a different username to avoid conflicts. The thing is, I'm a developer, I don't want mix users, but I want to setup permissions for a shared folder.
Example,
- Ubuntu, main user:
raul
, home folder:/home/raul
- Fedora, main user:
ricardo
, home folder:/home/ricardo
- I want a
/home/shared
whereraul
&ricardo
have permissions over this folder, maybewww-data
androot
, but any other user on any Linux distro.
I hope you got my problem.
EDIT: This seems to be more complex than expect.
This note is the best I can explain, with my actual English level, so please be nice.
On the same computer, I have distros A and B installed. Distros A and B are sharing /home
in another partition but have different users... so I have /home/a
for user A
in distro A, /home/b
and you know... So I like to have a folder for example /home/shared
where users A
and B
can both read and write to the folder, like part of the same group, BUT user A
doesn't exist on distro B and vice versa. Then how do I tell each distro to make me a group with a user from another distro?
www-data
androot
. Were you just giving examples of possible two users? – Faheem Mitha May 09 '11 at 16:01