Home  >  Article  >  Operation and Maintenance  >  How to modify permissions for a directory or file in linux

How to modify permissions for a directory or file in linux

王林
王林Original
2019-12-25 10:05:394155browse

How to modify permissions for a directory or file in linux

To view file permissions, you can use ls to view files. If you want to view file permissions, use "ls -l or ll"

How to modify permissions for a directory or file in linux

to modify To modify file permissions, use the chmod command, such as "chmod 755 file\directory name"

Recommended online learning video tutorial: linux video tutorial

How to modify permissions for a directory or file in linux

Modify the file directory. If it is a directory, you need to modify it and add -R recursion, such as "chmod x -R directory name"

How to modify permissions for a directory or file in linux

Recommended related article tutorials:linuxtutorial

The above is the detailed content of How to modify permissions for a directory or file in linux. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn