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

# lfc-chmod(1)

change access mode of a LFC directory/file in the name server

## NAME

lfc-chmod - change access mode of a LFC directory/file in the name server

## SYNOPSIS

**lfc-chmod** *absolute\_mode* *path*...

## DESCRIPTION

**lfc-chmod** sets the access mode of LFC directory/file(s) in the name server to the octal value in *absolute\_mode*. Symbolic mode changes are not supported yet.

The effective user ID of the process must match the owner of the file or the caller must have ADMIN privilege in the Cupv database.

- *path*

  specifies the LFC pathname. If *path* does not start with **/**, it is prefixed by the content of the **LFC\_HOME** environment variable.

## EXIT STATUS

This program returns 0 if the operation was successful or \>0 if the operation failed.

## SEE ALSO

**[Castor\_limits(4)](/Castor_limits/4.md)**, **[lfc\_chmod(3)](/lfc_chmod/3.md)**, **Cupvlist(1)**

## AUTHOR

**LCG Grid Deployment** Team
