Go Back   FlashFXP Forums > > > >

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

Reply
 
Thread Tools Rate Thread Display Modes
Old 01-04-2005, 10:35 AM   #1
Somnus
Junior Member
 
Join Date: Jun 2004
Posts: 16
Default User permissions - Tried solutions found in search

For some reason when I make a new user on my server they can not upload, and can only download certain things, yet they have permission to do it all.

The only thing that I have tried that has worked was editting the following:

[VFS]
###
# Default attributes for files & directories
#
# Required Parameters: <filemode> <owner uid>:<owner gid>
#
Default_Directory_Attributes = 777 0:0
Default_File_Attributes = 777 0:0

Is there a better way of handling this?

I have the following dir tree and would like to do the following:

Applications - Allow all to download, only M users to delete
Games - Same
Movies - Same
Music - Same
Upload - This is the only folder allowed to be uploaded in by regular users, 1M users can upload anywhere. And the same attributes as above.

Can anyone help with this? Would it be easier to just have separate vfs files for different groups/users?

Also what is the best "gui" to use with ioFTPd? I have tried ioGUI, and ioISOTOPE.

Any help would be appreciated.
Somnus is offline   Reply With Quote
Old 01-04-2005, 05:31 PM   #2
EwarWoo
Senior Member
FlashFXP Registered User
ioFTPD Registered User
 
Join Date: Oct 2002
Posts: 462
Default

What have you got in folder permissions?

What error are they getting when trying to upload and what scripts are you using on the OnUpload event?
EwarWoo is offline   Reply With Quote
Old 01-04-2005, 08:57 PM   #3
Somnus
Junior Member
 
Join Date: Jun 2004
Posts: 16
Default

This is what I have:

###
# Detailed permissions for directories
#
# priviledge = <virtual path> <rights>
#
Upload = * *
Resume = * *
Download = * *
MakeDir = * *
RemoveOwnDir = * *
RemoveDir = * 1VM
Rename = * 1VM
RenameOwn = * *
Overwrite = * 1VM
Delete = * 1VM
DeleteOwn = * *
NoStats = * =lSpeed !*

The error they get is permission denied.
Somnus is offline   Reply With Quote
Old 01-14-2005, 06:31 AM   #4
Zer0Racer
Senior Member
ioFTPD Scripter
 
Join Date: Oct 2002
Posts: 703
Default

suggestion..

[VFS]
Upload = /Upload/* *
Upload = * 1M
Resume = * *
Download = * *
MakeDir = * *
RemoveOwnDir = * M
RemoveDir = * M
Rename = * M
RenameOwn = * M
Overwrite = * 1M
Delete = * M
DeleteOwn = * M
NoStats = * =lSpeed !*

and run:
site chmod 777 Applications
site chmod 777 Games
site chmod 777 Movies
site chmod 777 Music
site chmod 777 Upload
(this is needed to allow uploads in those dirs by other users than M, to allow 1 to upload)

Regular users will be able to upload in Upload only. All dirs are writable but only users with flags 1 or M can upload. Only M users will be able to delete files and remove dirs. Regular users and 1 users will not be able to delete or rename what they have uploaded. 1 users are allowed to overwrite files.

If you want to set the permissions a bit different, i.e. allow 1 users to delete stuff they've uploaded set DeleteOwn = * 1M. You probably understand by now.

Good luck!
Zer0Racer is offline   Reply With Quote
Old 01-15-2005, 05:27 AM   #5
EwarWoo
Senior Member
FlashFXP Registered User
ioFTPD Registered User
 
Join Date: Oct 2002
Posts: 462
Default

The way you have it now does it all except denying upload in / and thats a pain in arse to do via config, easier to get newdir by bounty and enable the deny upload in root option.
EwarWoo is offline   Reply With Quote
Reply

Tags
attributes, download, files, upload, users

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
Flash hangs during transfers slatts General Discussion 5 01-14-2005 07:50 PM


All times are GMT -5. The time now is 12:52 PM.

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