Go Back   FlashFXP Forums > > > >

ioFTPD General New releases, comments, questions regarding the latest version of ioFTPD.

Reply
 
Thread Tools Rate Thread Display Modes
Old 05-10-2005, 12:23 PM   #1
Strom
Junior Member
FlashFXP Registered User
 
Join Date: Oct 2002
Posts: 16
Question vfs problems

hello, i have spme troubles to setup the vfs correctly

i want a private dir for each user that only can be seen by the user itself (and master)

and i also want a pub dir which has no restrictions, only für user pub, not viewable by others
maybe easier to setup another ftp?

hope you can help me

strom
Strom is offline   Reply With Quote
Old 05-10-2005, 03:06 PM   #2
Harm
Too much time...
Ultimate Scripter
 
Join Date: Jul 2003
Posts: 1,430
Default

You may also only use one vfs file for all those users and define specific permissions for thoses dirs.

You can selectively hide directories.
http://www.ioftpd.com/documentation/03-vfs.php#private
Harm is offline   Reply With Quote
Old 05-11-2005, 12:32 PM   #3
Strom
Junior Member
FlashFXP Registered User
 
Join Date: Oct 2002
Posts: 16
Default

thx harm

so do i have to make an extra vfs for each user? is there a script that can do it on userlogin?
Strom is offline   Reply With Quote
Old 05-11-2005, 03:16 PM   #4
Harm
Too much time...
Ultimate Scripter
 
Join Date: Jul 2003
Posts: 1,430
Default

You only need one global vfs file.
Then you can use SITE CHATTR +h <dir> -<user> to make a dir private. In this case, it means that the dir <dir> will only be seen by the user <user> and he will be the only one to be able to browse it.
Harm is offline   Reply With Quote
Old 05-11-2005, 03:50 PM   #5
Strom
Junior Member
FlashFXP Registered User
 
Join Date: Oct 2002
Posts: 16
Default

but i have to do it for every user right?

these thousands of users :P

edit:

i still dont get it :x

i logged in as admin did SITE CHATTR +h "private" "-testuser1"

testuser1 can see the dir but cannot upload

but when i upload sth as admin tesuser1 can see the file in his private dir

dunno, @ raidenftpd each 'private' dir was linked to a usernamedir

i miss sth but dont know what, should be the same way like for predirs
Strom is offline   Reply With Quote
Old 05-12-2005, 12:51 AM   #6
Harm
Too much time...
Ultimate Scripter
 
Join Date: Jul 2003
Posts: 1,430
Default

The dir's permissions are wrong.
http://www.ioftpd.com/kb/view.php?kbid=31

You can also create all the dirs with the users' names in some kind of /home directory. Then (if you're using FlashFXP) select all the dirs, enter
Code:
SITE CHATTR +h %f "-%f"
in the raw command line, press the "return" key and wait for the client to chattr all the dirs.
Harm is offline   Reply With Quote
Reply

Tags
dir, ftp, pub, user, vfs

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FlashFXP limitation to ~410 kb/s ??? Mouhamed General Discussion 13 12-30-2004 11:00 AM


All times are GMT -5. The time now is 04:45 AM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)