Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: hackersoft on July 17, 2006, 08:35:26 AM
-
Is this feasible with SME?
I would like to setup an IBAY that has many users FTPing subfolders accessible to them and the admin.
i.e.
IBAYforWebDomain
|----- Subfolder 1 Accessible to user 1
|----- Subfolder 2 Accessible to user 2
|----- Subfolder 3 Accessible to user 3
Is this possible with SME?
How?
Thanks!
-
This problem has been resolved now.
Here's what i've done for other's sake.
0. Target:
a. The Primary Information Bay have several folders that other users should access enabling them to upload via FTP.
b. Each user should be restricted only to the folder they are allowed to access via ftp and automatically be change rooted.
c. Users should have read/write/overwrite access to the folder
d. Admins should also have access
1. I downloaded dungog's contrib for remoteuseraccess from the link below:
http://mirror.contribs.org/smeserver/contribs/dungog/packages/smeserver/7.0/i386/RPMS.dungog/smeserver-remoteuseraccess-1.0-13.noarch.rpm
2. I then created the users I require like:
user1, user2, user3, etc...
3. Next, I created groups for each users to include the admin and other users who can modify the folder like:
user1group, user2group, user3group, etc...
4. Then, I set the folders for each users from where they should be change rooted when they log in via ftp in the Remote User Access module and save each coniguration like:
Path to unrestricted path:
/home/e-smith/files/ibays/Primary/folderforuser1
/home/e-smith/files/ibays/Primary/folderforuser2
/home/e-smith/files/ibays/Primary/folderforuser3
5. I then access the SME box via shell to chown and chmod the directories like:
chown -R user1:user1group /home/e-smith/files/ibays/Primary/folderforuser1
chmod 775 /home/e-smith/files/ibays/Primary/folderforuser1
6. I tried FTPing and voila! One of my problem has been solved!
caveats:
I tried restarting the server and the changes i've made are still intact. I don't know if it will change when reconfigured or updated....