Home » Linux OS and Software » How-To » Set-up Users, Groups permissions for a LAMP Application
Wed, 12 May 2010 15:43 Go to next message
Drao  is currently offline Drao
Registered: May 2010
Messages: 4
Hi,

I'm setting up a server for running SugarCRM and this is my first time administering an environment myself. In the past I've just been working of managed shared hosting. Typically with SugarCRM there are some permissions issues but I think I can avoid those by setting up my environment properly. There are multiple questions here, even if you can only answer one please help.

How can I set-up a user to be in the same group as the "apache user"?

Do I need to set-up the Apache user manually?

When I added a module through the SugarCRM interface the files it created had www-data as the owner whereas everything else is root. How can I have the modules install under the same owner as everything else?

(Obviously I need to uninstall and reinstall under a non-root user account)

For my non-root administrator account is there anything I should do other than adding to the sudoers file?

Any advice is appreciated

Thu, 13 May 2010 07:43 Go to previous message
Registered: November 2007
Messages: 504
You can change the permissions of a file or directory, and also change the owners.

In your case:

cd /var/www
chown -R www-data:www-data *

That would set everything in your web directories to be owned by www-data.

Previous Topic:How to Remotely connect to VPS from Ubuntu 10.04?
Next Topic:Install the 'Gnome Remote Destkop' template on your VPS.
Goto Forum:
  


Current Time: Fri Aug 18 12:14:47 EDT 2017
.:: Contact :: Home ::.

Powered by: FUDforum 2.7.7.
Copyright ©2001-2006 FUD Forum Bulletin Board Software