Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
useing vsftpd to upload website files [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Binzy
n00b
n00b


Joined: 21 Mar 2006
Posts: 5
Location: Wisconsin

PostPosted: Tue Mar 21, 2006 8:05 am    Post subject: useing vsftpd to upload website files [solved] Reply with quote

I'm useing apache2 to serve my website. I was hoping to use vsftpd to update it from school, but I cant get the file permissions set right for upladed files. I tryed using the local_umask=0777 command in my vsftpd.conf file but it some how turns all the permisons to 000. I was wondering how to get the uploaded files to a 755 permission without having to manualy do it?

This is my vsftpd.conf file:

local_enable=YES
write_enable=YES
anonymous_enable=NO
xferlog_enable=YES
xferlog_file=/var/log/vsftpd/vsftpd.log
idle_session_timeout=600
data_connection_timeout=120
dirmessage_enable=YES
ftpd_banner=Binzium FTP server
chroot_list_enable=NO
chroot_local_user=YES
local_umask=0777
connect_from_port_20=YES
background=YES
listen=YES


Last edited by Binzy on Tue Mar 21, 2006 7:58 pm; edited 1 time in total
Back to top
View user's profile Send private message
badchien
Guru
Guru


Joined: 16 Feb 2004
Posts: 415
Location: doghouse

PostPosted: Tue Mar 21, 2006 10:31 am    Post subject: Reply with quote

It is a mask, not the permissions you want set. If it helps, think of it as the difference (777-022 = 755).

This is what you're looking for:
Code:
local_umask=022
Back to top
View user's profile Send private message
Binzy
n00b
n00b


Joined: 21 Mar 2006
Posts: 5
Location: Wisconsin

PostPosted: Tue Mar 21, 2006 6:38 pm    Post subject: Reply with quote

Thank you so much that was the last step in getting my server functional I just have to work on security now. I really apprciate the help!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum