Depending on the specifics of the access rights you are trying to set, you may not be able to accomplish this with traditional UNIX permissions (managed by
chmod and
chown).
Traditional UNIX permissions tend to deal with 2 groups of users: users in the group that owns the file and everyone else. Your description mentions 2 different user groups but not explicitly everyone else. Presumably, the security scheme you want is this:
infaadmin: rwx
users in the 'admin' group: rwx
users in the 'Developers' group: rwx
everyone else: ---
While this may be possible with just
chmod and
chown, I don't know how it would be done. If this accurately reflects the security scheme you want, you may want to consider using an ACL. See
this Stack Overflow question for additional details.
Alternately, if other users in the 'admin' group do not require access, the simplest solution is probably to change the group ownership of the directory to 'Developers' and assign g+rwx with
chmod. This, however, does not meet your stated requirement of keeping the current owning group ('admin').