If I change the owner of /var/www to ftpgroup

sudo chown :ftpgroup /var/www

am I going to have other kind of issues ? Or is that ok ?

link|improve this question

1  
why do you need to do that? – hvtuananh Sep 25 '10 at 12:33
Because I need to assign writing privilegies to my ftp users (which are unix users as well). So, I created a group for it. – Patrick Sep 25 '10 at 14:10
feedback

1 Answer

up vote 0 down vote accepted

I think you'll find the only user in nobody (or whatever the group who owns it now is called) is nobody, so no, I don't believe it will cause any issues, unless you added users to the group that currently owns /var/www

link|improve this answer
ok, how can I see the current owners of a unix directory ? (both users and groups ?) – Patrick Sep 25 '10 at 14:11
1  
ls -l /var/ will show everything in /var/ including who owns the folders/files. Also, to see which users are part of a group, look up the file /etc/group and it's man page man group. – Azz Sep 25 '10 at 14:23
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.