You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Tuesday, November 14th 2006, 8:01pm

Easyest way to share /home/shared

What is easyest way to set up shared folder (example /home/shared) where 2 users can read and write everything?

bram85

Professional

Posts: 948

Location: Eindhoven

Occupation: Software Engineer

  • Send private message

2

Tuesday, November 14th 2006, 8:14pm

RE: Easyest way to share /home/shared

Since this is not a KDE related question I ask you to post this kind of questions on a more general forum, like Linux Questions.

1. Create a group shared

Source code

1
# groupadd shared


2. Add these users to that group

Source code

1
2
# adduser user1 shared
# adduser user2 shared


3. Set group permissions

Source code

1
2
# chgrp shared /home/shared
# chmod 660 /home/shared


The chgrp command could be invoked with the -R flag, to recursively change the group.
Bram Schoenmakers
KDE Netherlands (www.kde.nl)

3

Tuesday, November 14th 2006, 8:28pm

This doesnt affect sub folders and files in it. If i give chmod 660 it says subfolders dowsnt exist anymore. And sorry for wrong board.

4

Tuesday, November 14th 2006, 10:00pm

This post has been edited 1 times, last edit by "Owdy" (Nov 14th 2006, 11:47pm)