Solved

Files created in web application cannot be deleted by local admin

Posted on 2008-06-12
4
192 Views
Last Modified: 2010-04-20
We are about to deploy a new web server.  It is running CentOS 5.1, Apache 2, PHP 5.  Everything looks good and is running much faster then on our old NetWare/Apache box.

The only issue we are having is that when a user of our WebApp creates a folder or files our webmaster is not able to delete them, only the person who created them is.  

Here is what he is trying to do.

He FTPs in to the box to transfer files back and forth fairly regularly.  He would like to be able to clean up orphaned files in users directories in the web directory when he is in.  But, when logged in with his account (that is a member of root and has specific RWX rights in the directories) he is told he does not have permissions.


Any thoughts?
0
Comment
Question by:ParadiseITS
  • 2
  • 2
4 Comments
 
LVL 29

Expert Comment

by:MikeOM_DBA
ID: 21772656

What are the permissions of those files?
0
 
LVL 9

Author Comment

by:ParadiseITS
ID: 21772991
In the OS the webmaster acct has full read/write/modify permissions.  But the owner is apache, and I think that is where the issue is...
0
 
LVL 29

Accepted Solution

by:
MikeOM_DBA earned 500 total points
ID: 21773449

Make webmaster owner of the folder with rw permissions to the Apache group id.
0
 
LVL 9

Author Comment

by:ParadiseITS
ID: 21778310
Thanks!  Worked like a charm.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
High Bandwidth Usage 6 75
cannot rename datastore 3 69
expand ext4 on centos 6 5 37
Apache LDAP Authentication 20 24
If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

809 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