github.com/Cloud-Foundations/Dominator@v0.3.4/imageserver/client/chownDirectory.go (about)

     1  package client
     2  
     3  import (
     4  	"github.com/Cloud-Foundations/Dominator/lib/srpc"
     5  	"github.com/Cloud-Foundations/Dominator/proto/imageserver"
     6  )
     7  
     8  func chownDirectory(client srpc.ClientI, dirname, ownerGroup string) error {
     9  	request := imageserver.ChangeOwnerRequest{DirectoryName: dirname,
    10  		OwnerGroup: ownerGroup}
    11  	var reply imageserver.ChangeOwnerResponse
    12  	return client.RequestReply("ImageServer.ChownDirectory", request, &reply)
    13  }