View previous topic :: View next topic |
Author |
Message |
Binzy n00b
Joined: 21 Mar 2006 Posts: 5 Location: Wisconsin
|
Posted: Tue Mar 21, 2006 8:05 am Post subject: useing vsftpd to upload website files [solved] |
|
|
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 |
|
|
badchien Guru
Joined: 16 Feb 2004 Posts: 415 Location: doghouse
|
Posted: Tue Mar 21, 2006 10:31 am Post subject: |
|
|
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:
|
|
Back to top |
|
|
Binzy n00b
Joined: 21 Mar 2006 Posts: 5 Location: Wisconsin
|
Posted: Tue Mar 21, 2006 6:38 pm Post subject: |
|
|
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 |
|
|
|