[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


File Permissions and Ubuntu

Posted on 2011-10-24
Medium Priority
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

farzanj earned 2000 total points
ID: 37021055
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

ID: 37021069
ls -l filename

(First column, characters 2-10)

Change with "chmod"

"man chmod" for more.
LVL 11

Expert Comment

by:Pieter Jordaan
ID: 37061462

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 - http://www.perlfect.com/articles/chmod.shtml

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.


Featured Post

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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,…
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month18 days, 17 hours left to enroll

834 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