File Permissions and Ubuntu

Posted on 2011-10-24
Last Modified: 2012-05-12
How do i view file permissions of a current file and change them?
Question by:deklinm
    LVL 31

    Accepted Solution

    To view the file permission you do like

    ls -l

    ls -l filename

    You should use command


    Lets say you change file permission

    chmod 777 filename

    LVL 68

    Expert Comment

    ls -l filename

    (First column, characters 2-10)

    Change with "chmod"

    "man chmod" for more.
    LVL 11

    Expert Comment

    by:Pieter Jordaan

    If you are new to Linux, then it is a good idea to understand how the file system works.
    This should point you in the right direction -

    If you prefer video, do a search on youtube for "unix file permissions". There are many of them.

    If that doesn't solve your problem, please give us more information.

    What file permissions do you want to change?
    If you get an error on your ubuntu system, please post it here.


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
    If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
    Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
    Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now