Solved

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

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

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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
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…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

705 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now