3: Change File Permissions(Challenge: Working with the Command Line)

    xiaoxiao2022-06-27  53

    You don't want just anyone to be able to run your script. By editing permissions, you can make it so that only you can run the script.

    Instructions

    Edit the file permissions for script.py so that only the current user can access it. Assign read, write, and execute permissions to the current user.

    Assign no permissions to your group, or other users

    /home/dq$ chmod 0700 script.py 
    转载请注明原文地址: https://ju.6miu.com/read-1124066.html

    最新回复(0)