Searching for something ?
Chetan Gole's Weblog.
Chetan
  • home
  • About
  • Contact
  • Categories »
    • Blogging
    • Images
    • Internet
    • Mobile
    • My Computer
    • Personal
    • Programming
    • Throughout
  • Archives »
    • March 2010
    • February 2010
    • January 2010
    • November 2009
    • October 2009
    • September 2009
    • August 2009
    • July 2009
    • June 2009
    • May 2009
    • April 2009
    • March 2009
    • February 2009
    • January 2009
    • December 2008
    • November 2008
    • October 2008
    • September 2008
    • August 2008
    • July 2008
    • May 2008
    • April 2008
    • March 2008
    • Archive Page
  • WP-Plugins »
    • WP-CopyProtect
    • Smooth Scroll
  • Add to Google

My Computer

How to hide or protect folders in Ubuntu linux

25.11.08 | 10 Responses
ADS BY GOOGLE

Unlike Microsoft Windows, Ubuntu doesn’t have Hidden attribute in folder properties, but rather it has better option to protect or hide the important folders and files. Linux is famous for security and Ubuntu has no exception. Ubuntu can protect your folder without using any type of software.

So to protect your important files in Ubuntu follow these steps.

STEP 1:
Create a new folder anywhere you want, and again create new folder inside that folder. Lets consider we have created two folders “TheChetan.com F1″ and inside that “TheChetan.com F2″. Now put all your important files inside inner folder “TheChetan.com F2″.

STEP 2:
Right click on 1st folder i.e. “TheChetan.com F1″ and Go to properties.
Then select “Permissions” tab. and then select “List files only” in “Folder access” option. If you have multiuser system then do same thing for all users by selecting the proper group.

Click to Zoom
Ubuntu hide folders properties

In just two steps you have protected your files inside a folder, Now when ever somebuddy tries to open the inner folder he/she will get the “Permission Error”.

You can do this trick on single folder or single file, but using two folders you can hide the actual file names too. Actually this is just a basic folder protection trick for Ubuntu, just replacement for Hidden attribute in Windows OS.


Ubuntu hide folders

Error !!

Post to Twitter Post to Digg Post to Facebook Post to StumbleUpon

ADS BY GOOGLE

Possibly similar posts

  • How to start [Configure] BSNL Broadband connection on Ubuntu Linux.
  • Save your Laptop Battery or Power consumption of Computer.
  • How to install Wordpress locally on Windows PC to test.

10 Comments

  • lefty.crupps said:
    Nov 26, 2008 at 9:47 am

    This trick works, of course, on any Linux distro and any Desktop Environment, such as KDE or Enlightenment.

    You can also ‘hide’ files by starting the filename/foldername with a dot like this:
    > .hiddenfolder
    This of course doesn’t provide the security of the Permission changes in this blogpost, but its worth noting that most of a user’s configuration files are stored in their /home/username/ directory, and are ‘hidden’ from normal view this way.

    Reply to this comment

  • kgas said:
    Nov 26, 2008 at 12:26 pm

    Nice post. I used to hide a volume by mounting with this idea so that the other users did not know its existence.

    Reply to this comment

  • Saurabh Patel said:
    Feb 18, 2009 at 8:04 pm

    I have already locked the folders with your above mentioned instructions.But now i want to access that folders.How can I access that folders.Pls reply soon on my e-mail ID

    Reply to this comment

    Chetan Replied:
    February 18, 2009 at 9:37 pm

    Hello Saurabh,
    To remove the locking just right click on the folder and go to permissions and then change the folder access mode to its default mode.. :)
    Hope this will solve your problem.

    Reply to this comment

  • indu shekar said:
    Apr 16, 2009 at 8:36 am

    Cool chethan it works good….. after enabling that list files option you can even hide the folder as lefty.crupps mentioned..
    thanks all

    Reply to this comment

  • indu shekar said:
    Apr 26, 2009 at 12:32 am

    Hi… why dont the same thing work on external hard disk… how to hide folders or lock folders on external hard disk.. any suggestions??… my external hard disk is nfs system is it the cause that i cant apply the above list step?.. please help me

    Reply to this comment

  • vinitneo said:
    May 23, 2009 at 8:28 pm

    Thanks for this

    Reply to this comment

  • zolimarita said:
    May 25, 2009 at 1:24 pm

    Thanks for this, great solution

    Reply to this comment

  • Michael Fox said:
    May 26, 2009 at 10:39 pm

    Will the method described at thechetan.com/2008/11/how-to-hide-or-protect-folders-in-ubuntu-linux/
    work for folders on an external hard drive? If not, is there a method–or software–to do so?

    Reply to this comment

  • Sachin said:
    Dec 17, 2009 at 8:19 pm

    How to Hide Folders in Ubuntu?

    I have single user.. I dont want to creat one more user, But I want to hide my own folde, so Please help me any one

    can any one help me?

    Reply to this comment

Trackbacks

speak up

Add your comment below,

Be nice. Keep it clean. Stay on topic. No spam.

* Required Fields

Cancel

  • « Got my Creative Commons stickers set
  • » Make your Wordpress blog secure [Prevent hacking attacks]

Subscribe for updates

Subscribe to RSS Feeds RSS updated or Subscribe via E-mail.

You can also subscribe for SMS Updatessms updated (Powered by Google)

recent posts

  • How to get answers for free from Expert-Exchange.
  • Nagpur PHP Meetup – How to secure your WordPress Blog.
  • New mobile from Google – Nexus One
  • Now … Firefox for Mobile – The Firefox fennec.
  • Year 2010 is here .. Happy New Year !!
  • Is Google’s Orkut using ASP.Net on Linux ! ? ! ?
  • Finally windows 7 is here….
  • Twitter

    Chetan_Gole :

    Twitter Updates

      follow me on twitter
    • Catch me on

      twitter Digg Stumble technorati Orkut facebook MBL Youtube LinkedIn BlogCatalog
    • Be my Friend.

    •  

      November 2008
      M T W T F S S
      « Oct   Dec »
       12
      3456789
      10111213141516
      17181920212223
      24252627282930
    • Ranks

      Google Pagerank 5

      Subscribe

    • Ads

    • Tags

      Airtel Best Browser blogging Broadband Browser BSNL Dataone do follow Download Firefox Free Freebie Free DVD Gmail Google GPRS hacks Images India Internet Internet Explorer Linux Microsoft Mobile Mozilla My Computer Nokia Pagerank regedit router Security SEO Server SMS Sony Ericsson speed Stickers Tricks and Tips Ubuntu uTorrent Webmaster Windows wordpress world yahoo
    • Firefox !!

      Download Firefox

      Its Free


      Also Read all
      Firefox related posts

    Back to Top ↑
    Creative Commons License TheChetan.com is Blogged by Chetan Gole. All trademarks mentioned on this page are the property of their respective owners.
    Copying the blog content is allowed BUT the linkback MUST be given to respective post as a source. [CC Licenses Attribution-SA 2.5].
    PRIVACY POLICIES | DISCLAIMER
    Proudly hosted at HostGator