I got some trouble with a server situation, where i keep some configuration files in a sub-directory of a web project. Using my superuser account, i make changes to these files, which NetBeans commits for me, by uploading them.

But the client needs to be able to access and modify these files via ftp. I was able to run a chown ftpuser *.* and it worked, but only until i re-uploaded the file, after which it was again owned by me, and the client could no longer modify it.

(Note that we set the existing owner and group to rwx because FACLs are limited to the owning group's permissions. There are other ways around this, but the easiest is just ensuring the owning group as rwx)