> > I have set up a nice big /Share directory on a separate HD, and would > > like to create a document repository there accessible by all users. So > > far only the root user can read, write and execute on the /Share > > directory. What is the best way to accomplish this? > > > > I don't mind reading tutorials and other docs, but at this point in my > > Debian education, they need to be suitability simple. Any links to > > such material would be much appreciated. > > > > [...] > > You could try the NewbieDOC wiki (documentation for newbies). There is > an article on users and groups - > http://newbiedoc.berlios.de/wiki/Manage_users_and_groups - which may get > you started. > > Basically, you could put your users into a new group, give the group > ownership if the directory using chgrp, and give the permissions you > wish to the group on the directory group with chmod g+rwx. > > Try the manual pages (eg "man chmod") and google search (eg for > "chmod"). When you have succeeded, you might consider documenting your > efforts on the NewbieDOC wiki. :)
Another good source of infos about that and unix systems in general are the coreutils doc (info coreutils). You'll find a lot of useful tricks there. The section 'file permissions' explains all this in details, and 'changing files attributes' describes chmod and chown. -- Cédric Lucantis