Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

How to FTP into a Folder that I do not "Own" (CHOWN-Apache)

Posted on 2014-04-04
2
477 Views
Last Modified: 2014-04-10
Hi All -
Several applications that I install on our dedicated Linux/Apache require that I change the ownership from me to "apache" ... after which, I cannot FTP into those folders unless I logon as Linix Root user. It is for an online store, so I ned to maintain external security.
Is there a better way for me, just 1 user, for  "FTP'g into an apache owned folder" without having to logon as Root?  (We are using CentOS)

Thanks in advance
0
Comment
Question by:bleggee
2 Comments
 
LVL 28

Accepted Solution

by:
Jan Springer earned 250 total points
ID: 39979008
Yes, make your account the owner, i.e.,:

   chown webmaster:apache /var/www/html

If apache also needs to write to the directory:

   chmod 770 /var/www/html
0
 
LVL 62

Assisted Solution

by:gheist
gheist earned 250 total points
ID: 39979254
You just had to change group to apache so apache reads the files
And it is much better that it cannot rewrte content
You have to add yourself to group apache if you want new files be with apaches' group
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question