Hello,
I searched for my problem but I'm not sure why I did not find what I tried to do.
Suppose users A and B.
I did this also:
Now both users A and B can
Reading works fine, but these two users cannot write into each other's home directory and get permission denied.
I tried fixing it by changing permissions but it did not help me.
1- Is there any way so that user A can write into B's home directory and B into A's home directory?
I also want to do this:
So that user A can see
In fact I want to share
2- How to do this?
What should I do for the above questions?
I searched for my problem but I'm not sure why I did not find what I tried to do.
Suppose users A and B.
Code:
groups a b
a: a b
b: b a
Code:
chmod 755 /home/user_a/ /home/user_b/
cat each other files and cd into each other's directory, also can run php /home/path/public_html/file.php.Reading works fine, but these two users cannot write into each other's home directory and get permission denied.
I tried fixing it by changing permissions but it did not help me.
1- Is there any way so that user A can write into B's home directory and B into A's home directory?
I also want to do this:
Code:
cd /home/user_a/public_html/
ln -s /home/user_b/public_html/test/
test directory of B in his home directory.In fact I want to share
test directory so that both these two users can user can read/write.2- How to do this?
What should I do for the above questions?