Default user group
Hello all,
I have a simple problem when creating files and directories. I'm working on a website hosted by a Ubuntu LAMP server. Whenever I create a file or directory, I want it to belong the www-data group and not my usergroup. I've tried changing my default usergroup to www-data but that has not worked. So now, whenever I create a file (usually through Dreamweaver), I have to SSH in and change it to the www-data group for it to function with the rest of the site. Can anyone help? -Ted |
when you defaulted /var/www to www-data did you use the -R which means to do that recursively. if not that may be why it is not defaulting for you.
|
How did you try to change your initial group? You can use
Code:
usermod -g www-data <login-name> |
Thanks... apparently I was not logging out.
|
All times are GMT -5. The time now is 09:01 AM. |