|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
Multiple group permissions on files/dirs
Hello,
I have FreeBSD installed and running as a webserver with apache. Everything is fine o that front with now problems. I connect to the htdocs loaction for editing the files. however I now need to give permissions to another use to be able to access particular web probjects on the server current: Mount: /htdocs (RAID) then /htdocs/project1 /htdocs/project2 /htdocs/project3 I have 5 users so far on the system, my user account is part of the wheel group so I can access anything. Whereas I want to beable to add say "user2" to beable to write to /project2/* Quite a few links point me to ACL, do I have to go this route? or is there a simpler way. thanks. Paul.
__________________
regards, pgudge |
|
#2
|
||||
|
||||
|
Say you want to make usera and userb to edit /project2/
1. Add a group called project2group (vi /etc/group) and add these two users to this group. 2. chgrp -R project2group /home/project2/ 3. chmod -R 775 project2group This will make sure that they can read/write on the group. If you make the webaccount (www) as the owner of these directories/files, then you can change the permissions to 770 instead of 775.
__________________
Up the Irons What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home. "Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest Down with Sharon Osbourne Puzzle of the Month solved by sizeablegrin, etienne141 and L7Sqr, superior C/C++ programmers of the month |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > BSD Help > Multiple group permissions on files/dirs |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|