Score:1

how to disable/remove nfs4 acl, and back to original linux access control?

jp flag

I have add nfs4 acl for a directory in nfs client, but can not use "chown/chgrp" after add nfs4 acl, now I want to give up nfs4 acl, and back to original linux simple access control, how to ???

In standard linux acl, we can use setfacl -bn xxx file to remove all acl, and back to original access control, but I do not know how to do it by nfs4_setfacl...

Score:0
de flag

My solution will be as:

nfs4_getfacl <file> | nfs4_setfacl -X - <file>
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.