LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-13-2011, 06:26 AM   #1
buzibuzi
LQ Newbie
 
Registered: Jul 2011
Posts: 2

Rep: Reputation: Disabled
Question 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
 
Old 07-14-2011, 12:27 AM   #2
nidhinmd
Member
 
Registered: Aug 2007
Location: Cochin, Kerala, India
Posts: 32

Rep: Reputation: 3
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.
 
Old 07-14-2011, 03:12 AM   #3
buzibuzi
LQ Newbie
 
Registered: Jul 2011
Posts: 2

Original Poster
Rep: Reputation: Disabled
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.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
vsFTPd - Anonymous dir write problem felipefv Linux - Server 2 12-09-2010 07:38 PM
vsftpd and write permission noir911 Linux - Server 0 04-01-2009 12:10 AM
VSFTPD permission problem dmor Linux - Server 3 03-22-2009 07:02 AM
Problem with write permission addux Linux - Software 4 09-10-2008 12:54 PM
Apache ssh dreamweaver vsftpd question wheatstraw Linux - Security 1 06-03-2005 11:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration