LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   vsftpd dreamweaver write permission problem (https://www.linuxquestions.org/questions/linux-server-73/vsftpd-dreamweaver-write-permission-problem-891461/)

buzibuzi 07-13-2011 06:26 AM

vsftpd dreamweaver write permission problem
 
Hi,
I setup a VDS Centos server with joomla under var/www/html/

1.installed vsftpd.
2.added www-data group to linux
3.created "joomla" user and added it to www-data group.
4.gave ownership: "chown -R root:www-data /var/www/html"
5.changed permissions: "sudo chmod -R g+rwx /var/www/html/"
6. added "joomla" to /etc/vsftpd/user_list and ftpusers
7.restarted both apache and vsftpd.
8.configured the connection "use secure ftp" in dreamweaver.
and now trying to use dreamweaver for editing files using the "joomla" user.

this is my vsftpd.conf

Code:


anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
xferlog_enable=NO
connect_from_port_20=YES
xferlog_std_format=NO
listen=YES
log_ftp_protocol=YES
banner_file=/etc/vsftpd/issue
local_enable=YES
pam_service_name=vsftpd
userlist_enable=YES
listen=YES
tcp_wrappers=YES
local_root=/var/www/
syslog_enable=NO
vsftpd_log_file=/var/log/vsftpd.log
ssl_enable=YES
allow_anon_ssl=NO
force_local_data_ssl=YES
force_local_logins_ssl=YES
ssl_tlsv1=YES
ssl_sslv2=YES
ssl_sslv3=YES
rsa_cert_file=/etc/vsftpd/vsftpd.pem

im able to connect and read the folders and files but when trying to edit im getting a ftp error "there could be a permission problem"

can someone help ?
thanks

nidhinmd 07-14-2011 12:27 AM

Hi

Change the local_umask=022 to local_umask=002 in vsftpd.conf and restart vsftpd. Then add a newfile/folder as ftp user and check the permission.

buzibuzi 07-14-2011 03:12 AM

hi nidhinmd, nope, that didn't work.
not quite sure what you meant by "Then add a newfile/folder as ftp user and check the permission." im assuming you meant trying to create a folder with this user using dreamweaver.


All times are GMT -5. The time now is 09:14 PM.