---
name: "sysfs_chmod_file"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/sysfs_chmod_file"
---

# sysfs\_chmod\_file(9)

update the modified mode value on an object attribute.

## NAME

sysfs\_chmod\_file - update the modified mode value on an object attribute.

## SYNOPSIS

**int sysfs\_chmod\_file(struct kobject \*** *kobj***, const struct attribute \*** *attr***, umode\_t** *mode***);**

## ARGUMENTS

*kobj*

object we're acting for.

*attr*

attribute descriptor.

*mode*

file permissions.

## COPYRIGHT
