---
name: "lfc_umask"
section: "3"
platform: "linux"
package: "liblfc-dev"
version: "1.10.0-2+b3"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/lfc_umask"
---

# lfc\_umask(3)

set and get LFC file creation mask used by the name server

## NAME

lfc\_umask - set and get LFC file creation mask used by the name server

## SYNOPSIS

**#include \<sys/types.h\>**\
 **#include "lfc\_api.h"**

**mode\_t lfc\_umask (mode\_t** *cmask***)**

## DESCRIPTION

**lfc\_umask** sets the LFC file creation mask used by the name server to *cmask* and returns the previous value of the mask. The current mask is stored in a thread-safe variable in the client. Only the access permission bits of *cmask* are used.

## SEE ALSO

**[lfc\_chmod(3)](/lfc_chmod/3.md)**, **[lfc\_creatg(3)](/lfc_creatg/3.md)**, **[lfc\_mkdirg(3)](/lfc_mkdirg/3.md)**, **[lfc\_statg(3)](/lfc_statg/3.md)**

## AUTHOR

**LCG Grid Deployment** Team
