On Thursday 06 December 2001 01:20, Praise wrote:
Let me explain my situation: there are about 20 user of my system, mainly with ssh and sftp. There are also 3 users which could use Samba (and they actually do). They need to share with eachother some files: that's easy. They only need to link their files in a common directory and adjust permission. The problem is that they do not want to do that because they are very lazy to learn new commands (they are new to linux). How about this:
mkdir /path/to/commondir ----> the directory with the shared files chmod 2755 commondir ----> checkout 'man chmod' or somewhere groupadd commongrp ----> a group to own the dir chgrp commongrp commondir ln -s /path/to/common /home/someuser/common ----> link to user homedir for each user: usermod -G commongrp ----> addl. group... set "umask" to 002 (or 007...) ----> make new files group-accessible Ideally each user has his own group, since the umask of 007 makes his own files writeable to others. HTH Dan