Home > Operation and Maintenance > Linux 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

王林
Release: 2019-12-25 10:05:39
Original
4184 people have browsed it

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!

source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template