View Single Post
Old 04-02-2007, 02:44 PM  
Zer0Racer
Senior Member
 
Join Date: Oct 2002
Posts: 703
Default

Quote:
Originally Posted by en3rmax
Hi there, i can't write files to my ftp do i need to set this

[VFS]
# The default is to give everyone just read access to all files and
# directories and set the default owner of files to the ioFTPD account.
#
# format: <filemode> <owner uid>:<owner gid>
#
Default_Directory_Attributes = 755 0:0
Default_File_Attributes = 644 0:0

ps, what is the best way to set it

thanks
Usually this question would be answered with "read docs and knowledge base" but for 6.0.x it could be the "new" VFS settings/examples in ioFTPD.ini. Don't know if you installed a clean new io 6.0.x or upgraded from 5.8.x. If it's a new install you could replace the settings under [VFS] and ### PERMISSONS ### (not the stuff you pasted) with this (from 5.8.5):
Code:
Upload    = * *
Resume    = * *
Download   = * *
MakeDir       = * *
RemoveOwnDir  = * *
RemoveDir     = * 1VM
Rename    = * 1VM
RenameOwn     = * *
Overwrite     = * 1VM
Delete    = * 1VM
DeleteOwn   = * *
NoStats       = * !*
And then you need to use site chmod 777 once on every directory you want to make available for uploads by regular users.

You could also simply create a dir in FTP-ROOT-DIR called Incoming to match the settings in ioFTPD.ini for 6.0.x. See documentation and kb for more info.
/ZR
Zer0Racer is offline