Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 ?

share|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

1 Answer 1

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

share|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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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