Question Locked

How to set up Shared drives or folders within linux

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi there I am currently running fedora 11 and would like to know how to add shared areas/folders/drives within linux to users of the network and even block access for some users for example:

Sales group users can only access the sales shared area, whereas the hr group cannot access the sales shared area but the hr area.

If anyone has any ideas thanks.

Regards.

4 replies

by oldbaritone

Just create folders for the groups, change the group access with CHMOD and assign the users into the groups.

e.g. (as root) create a group called sales. Assign the sales people into the group. Then create a folder (mkdir) /home/sales. Lastly, chmod 770 sales -R

Then do the same for hr, service, engineering, or whatever.

Users can be in multiple groups, and the user will be able to see the contents of folders if they're a member of the group. If not, the folder appears empty.

Or were you talking about the Linux box sharing with Windows via Samba?

by cmatthews

..maybe he'll post back with more info.

Say Oldie, sometimes I flex the carpels with a spare thought, and then find I'm in an empty room. Is it my imagination or do 20% post and never return? Geeze, I brush my teeth and everything..

This discussion is closed to new replies.