?
Solved

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

Posted on 2014-04-04
2
Medium Priority
?
491 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
[X]
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
2 Comments
 
LVL 29

Accepted Solution

by:
Jan Springer earned 1000 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 1000 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

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

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

In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month14 days, 12 hours left to enroll

771 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