> Date: Thu, 20 Jun 2002 21:18:59 -0400 > From: [EMAIL PROTECTED] (Joshua LaFriniere) <snip> > thin book with linux, and I'm trying to find a way to create an accout > for another person to have access with, but only able to access > certain files in my account .. ie: > You create a new user, and they have their own home directory, etc. If you, as a user, aren't root (YOU AREN'T ROOT, ARE YOU?!!!), and when you created your own user account, you didn't specify a group, you're in the default group named "users". When you've created the new user, they are in the same group, as well.
Normally, you don't want folks mucking about in your home directory, playing with things you've set up, etc, so what you want to do is create a project directory that y'all share. A good place might be > mkdir /usr/local/share/ourproj then put the files you want to share under that directory cp allthesefiles* /usr/local/share/ourproj And then make sure the the permissions are correct: you want it read, write, and executable by user and group, but not other, so you'd do: >chmod -R g+w g+r g+x /usr/local/share/ourproj The -R cause the chmod to recurse down, affecting not only the directory, but all the files under it, and, if you've copied subdirectories, it will get them and their contents, as well. Now you both go work in that directory...and try not to stomp on each other's feet. Look into sscs, at least, for change management. mark -- "GUILTY, GUILTY, GUILTY!" - Megaphone Mark Slackmeyer, Doonesbury _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list