Chown bob.project ProjX/ - changes ownership for group

Chgrp

Addgroup

Newgroup ProjectX -> changes current group

Than when you create directory , it owns by group ProjectX

gpasswd - A bob ProjectX --> Now bob is administrator of group ProjectX

gpasswd - a alice ProjectX --> Add alice to the group ProjectX

gpasswd - d alice ProjectX --> Del alice to the group ProjectX

Comments

  1. chown oracle a.txt
    chown oracle:oinstall a -- userid and groupid

    ReplyDelete
  2. # usermod -G a usera

    at /etc/group | grep user
    a::102:usera

    ReplyDelete

Post a Comment

Popular posts from this blog

HAproxy logging

tomcat catalina coyote jasper cluster

NFS mount add in fstab _netdev instead of default | firewall-cmd --list-all