Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi, I am a new Guy. I installed wordpress and ftp. now my client is telling that once he logged but he is not getting wordpress file by ftp. can i have to edit php.in file.
While I know practically nothing about setting up Wordpress, here are a few general troubleshooting steps.
I suggest you ask your client for details like the URL they try to access and any error messages that they get. Based on that information, I suggest you check your Wordpress site’s log files, including the webserver and ftp server logs, for relevant messages. They should help you understand the cause of the error, and lead you to the fix.
Perhaps you should not install Wordpress for clients if you are a new guy. Better learn about this product first.
Last edited by berndbausch; 05-16-2019 at 11:52 PM.
I keep saying this...look for solutions to WordPress problems at wordpress.org.
As I recall, one needs to put the ftp login information in a config file for WP to use ftp for updates...I'll look it up tomorrow if the OP doesn't find it before then.
Hi, I am a new Guy. I installed wordpress and ftp. now my client is telling that once he logged but he is not getting wordpress file by ftp. can i have to edit php.in file.
plese suggest/
If you tell us version/distro of Linux, how you installed WordPress and FTP, and if you tested those (two different) user ID's/passwords with success, we might be able to help. Read the Question Guidelines...without details there's zero we can tell you, and we can't guess.
Past that, there is typically a "wp_content" folder, where themes/pictures/whatever gets loaded in to, if you want to do a manual copy. If the FTP user has rights to read/write that folder (wherever you put it), that's all they need. Again, you say nothing about how you set up FTP, so if things are chroot'ed, all they'll EVER see is their own home directory.
Personally, uploading pictures/media through the WordPress admin panel is far easier in my opinion.
If you tell us version/distro of Linux, how you installed WordPress and FTP, and if you tested those (two different) user ID's/passwords with success, we might be able to help. Read the Question Guidelines...without details there's zero we can tell you, and we can't guess.
Past that, there is typically a "wp_content" folder, where themes/pictures/whatever gets loaded in to, if you want to do a manual copy. If the FTP user has rights to read/write that folder (wherever you put it), that's all they need. Again, you say nothing about how you set up FTP, so if things are chroot'ed, all they'll EVER see is their own home directory.
Personally, uploading pictures/media through the WordPress admin panel is far easier in my opinion.
Thanks for reply,
>>actually I installed wordpress in /var/www/html location so now i hv made this location as a home directory of ftp user and now he is able to access all the wordpress files. this is resolved
>> after that I have done #chown -R ftpuser:ftpuser /var/www/html/*
>> I chrooted when ftp user directory of default /home/ftpuser.
>> But now issue is about permission.
>> I am enclosing the image please go throw that and suggest where and what permission I have to give.
>> is there any issue about permission of apache. can apache user need some kind of permission.
>> does apache user do modify any files in wordpress?
Thanks.
>>actually I installed wordpress in /var/www/html location so now i hv made this location as a home directory of ftp user and now he is able to access all the wordpress files. this is resolved
...and you have opened a pretty good security hole by doing this, and ignoring the advice of using the WordPress admin panel to upload files.
Quote:
>> after that I have done #chown -R ftpuser:ftpuser /var/www/html/*
I chrooted when ftp user directory of default /home/ftpuser.
Which is not the /var/www.... path, is it? You chrooted someone to a different directory than where they need to upload things.
Quote:
But now issue is about permission. I am enclosing the image please go throw that and suggest where and what permission I have to give. is there any issue about permission of apache. can apache user need some kind of permission. does apache user do modify any files in wordpress?
No, but think about what you've done. You've granted read-only permissions to ftpuser to /var/www/html. What do you think they'll be able to do with that, besides read?
Again: don't use FTP, at all. Period. It's old and very insecure. Upload files via the WordPress panel.
Are you using a hosting provider on a server share or a VPS? If so, you might call your provider's tech support or looking at their help files to verify that ftp is enabled and that an ftp user is configured.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.