Pages

Monday, December 9, 2013

How to remove permissions of a folder in ubuntu

Hello friends......

You can download this whole post as a PDF file. To download this post click here.

Here I am going to show you a trick about how to remove permissions of a folder in ubuntu or you can say how to lock a folder in ubuntu without using any software. Currently I am working on ubuntu 13.10, but this trick will work on all versions of ubuntu. So let's begin...





Step 1:-


 I have two folders in my VIDEOS folder as you can see in the picture below. I want to lock the folder PRIVATE so that no body can see my private data or I can say that I want to remove permissions of that folder.


Step 2:-


Open TERMINAL window by pressing "Alt+Ctrl+t" keys together. After that reach to the folder you want to lock. For that use "cd" and "ls" command. Here are the description of some commands you will need to reach the parent directory of your desired folder in the terminal.

cd - to enter in a directory or folder. for ex-

cd Videos


Note that the folder name must be accurate. You can type the first two or three alphabets and then press TAB key, If the folder name is unique it will automatically detect the folder.

ls - to view the contents of that directory or folder. for ex-

ls  


Step 3:-


Now I have reached the parent directory of private folder. I will use the "chmod" command to remove permissions of the private folder. For ex-

 chmod -rwx private/

 


Here the symbol minus"-" is used to remove the permissions and "rwx" denotes read, write, executable permissions respectively. When you hit enter you can see a little lock sign on you folder looking like this...


If you will try to open this folder now it will say that "You don't have the required permissions to view the contents of this folder."



Step 4:-


Now If you want to give back permissions, just replace the minus symbol "-" with a plus symbol "+". For ex-

 

chmod +rwx private/

 

Don't forget to reach the parent directory first. Now you will see that the little lock sign is removed. It will look like this...





If all goes well you will be able to lock a folder in ubuntu. If you have any queries please ask it into comments. Like Us on FACEBOOK for more updates.

Thank you

3 comments:


  1. This professional hacker is absolutely reliable and I strongly recommend him for any type of hack you require. I know this because I have hired him severally for various hacks and he has never disappointed me nor any of my friends who have hired him too, he can help you with any of the following hacks:

    -Phone hacks (remotely)
    -Credit repair
    -Bitcoin recovery (any cryptocurrency)
    -Make money from home (USA only)
    -Social media hacks
    -Website hacks
    -Erase criminal records (USA & Canada only)
    -Grade change

    Email: cybergoldenhacker at gmail dot com


    ReplyDelete
  2. Are you interested in any kinds of hacking services?
    Feel free to contact TECHNECHHACKS.

    For years now we’ve helped so many organizations and companies in hacking services.
    TECHNECHHACKS is a team of certified hackers that has their own specialty and they are five star rated hackers.

    We give out jobs to hackers (gurus only) to those willing to work, with or without a degree, to speed up the availability of time given to jobs!!

    Thus an online binary decoding exam will be set for those who needs employment under the teams establishment.


    we deal with the total functioning of sites like,


    • SOCIAL MEDIA (Facebook, Twitter, Instagram, Snapchat, google hangout etc.)

    • SCHOOL GRADES

    • IOS/OS

    • CREDIT SCORES

    • BANK ACCOUNTS

    • SPOUSES PHONE

    Our special agents are five star rated agents that specializes in the following, and will specially be assigned to you for a special job well DONE.

    • WESTERN UNION TRANSFER

    • CREDIT CARDS INSTALLATION

    • MONEY FLIPPING

    • CRIMINAL RECORDS

    • BTC RECOVERY

    • BTC MINING

    • BTC INVESTMENT

    Thus bewere of scammers because most persons are been scammed and they ended up getting all solutions to their cyber bullies and attacks by US.

    I am Jason williams one of the leading hack agent.

    PURPOSE IS TO GET YOUR JOBS DONE AT EXACTLY NEEDED TIME REQUESTED!!!



    And our WORK SUCCESS IS 100%!!!



    We’re always available for you when you need help.

    Contact or write us on:

    Technechhacks@gmail.com

    SIGNED....!

    Jason. W

    Technechhacks
    2020©️All Right Reserved

    ReplyDelete
  3. Are you interested in any kinds of hacking services?
    Feel free to contact TECHNECHHACKS.

    For years now we’ve helped so many organizations and companies in hacking services.
    TECHNECHHACKS is a team of certified hackers that has their own specialty and they are five star rated hackers.

    We give out jobs to hackers (gurus only) to those willing to work, with or without a degree, to speed up the availability of time given to jobs!!

    Thus an online binary decoding exam will be set for those who needs employment under the teams establishment.


    we deal with the total functioning of sites like,


    • SOCIAL MEDIA (Facebook, Twitter, Instagram, Snapchat, google hangout etc.)

    • SCHOOL GRADES

    • IOS/OS

    • CREDIT SCORES

    • BANK ACCOUNTS

    • SPOUSES PHONE

    Our special agents are five star rated agents that specializes in the following, and will specially be assigned to you for a special job well DONE.

    • WESTERN UNION TRANSFER

    • CREDIT CARDS INSTALLATION

    • MONEY FLIPPING

    • CRIMINAL RECORDS

    • BTC RECOVERY

    • BTC MINING

    • BTC INVESTMENT

    Thus bewere of scammers because most persons are been scammed and they ended up getting all solutions to their cyber bullies and attacks by US.

    I am Jason williams one of the leading hack agent.

    PURPOSE IS TO GET YOUR JOBS DONE AT EXACTLY NEEDED TIME REQUESTED!!!



    And our WORK SUCCESS IS 100%!!!



    We’re always available for you when you need help.

    Contact or write us on:

    Technechhacks@gmail.com

    SIGNED....!

    Jason. W

    TECHNECHHACKS
    2021©️All Right Reserved

    ReplyDelete