different user group can not upload file in the server

Posted by Dallal on Server Fault See other posts from Server Fault or by Dallal
Published on 2012-06-29T12:49:57Z Indexed on 2012/06/29 15:17 UTC
Read the original article Hit count: 173

Filed under:
|

I have a CentOS server running in Thailand, and I'm in Canada.

The guy at the computer center who set up the server for me doesn't really understand much about linux and left me off an issue to solve myself.

I just moved from Mac Server to Linux server, and the first thing I'm facing a problem now is

`file name` has failed to upload due to an error
The uploaded file could not be moved to `location name`

So what happen is that I knew from my experiences of these problem is all about permissions.

So I go ahead and checked on my whole folder and found that everything in the folder permission is like myusername mygroupname
then I checked the httpd file in the server and it is default to apache apache.

My question is that how can I make my user to be in the same group with apache group so that I don't have to have any problem about uploading, changing data in my file....?

But without having to affect other user in the same server.

I'm holding Administrator account, but not root account, but I can change stuff on the server root no problem.

When I was with godaddy.com there never been any problem about the permission and I wish I know how they configure that :(

© Server Fault or respective owner

Related posts about permissions

Related posts about configuration