can another user 777 and existing 777 dirctory?

User usrA creates dirA directory and runs chmod 777 on the directory. Can usrB issue another 777 on dirA? It appears the answer is no even if the usrA and usrB are part of the same group. I know this is a rare scenario but I just ran across it and found out that usrB receives an error when attempting issue chmod 777 on an already 777 directory owned by usrA. This is also true for files. I wanted to verify if this is something specific to my env or common in all. Runing on AIX...

It has to do with who owns the file - file ownership. chown, chmod, chacl -- require ownership.

So...then dir owned by usrA with 777 on it cannot be chmod 777 by userB is normal behavior or not? :eek:

The ownership and the file/directory permissions are 2 things different
only owner or root priviledge can chown/chgrp/chmod on file or directory ...
So its normal b cannot chown/chmod dir owned by a

If you are using ACLs, and they are configured appropriately, it is possible.