How to create a file without permission in Linux

Source: Internet
Author: User

If you do not have the permission, you should use commands to solve the problem. In Linux, there are super users (Root) and common users. Normal users cannot directly operate directories without the permission.

There are two solutions:

Open the terminal: Alt + F2, enter gnome-terminal, and press Enter. On the displayed page, perform the following operations:

1. Enter sudo Nautilus and press Enter. Enter your user password. In this way, a resource manager with Super User Permissions is opened. Then you can directly create your directory.
2. Run the command to create your directory. First, run CD to the address of the directory you want to create, such as CD/OPT. Then run the sudo mkdir directory name and enter the user password as prompted.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.