Solved

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

Posted on 2014-04-04
2
480 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 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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

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 …
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.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
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.

735 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