The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > BSD
.
google unix.com



BSD BSD, sometimes called Berkeley Unix, is a Unix operating system developed by the Computer Systems Research Group of the UC Berkeley.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to find a file whick is consuming larger disk space in file system lokeshpashine UNIX for Dummies Questions & Answers 6 04-04-2009 02:52 AM
how to mount a file system of a remote machine to local file system cy163 UNIX for Dummies Questions & Answers 2 01-31-2008 09:04 AM
Migrating password file to new freebsd server rbizzell BSD 0 09-16-2006 12:32 PM
Installing FreeBSD on old system? MadProfessor UNIX for Dummies Questions & Answers 2 12-25-2003 05:48 PM
How do I send a file as an attachment (gzip file) on a Unix system lacca UNIX for Dummies Questions & Answers 3 07-03-2002 01:04 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 04-17-2008
warrior1234 warrior1234 is offline
Registered User
  
 

Join Date: Apr 2008
Posts: 1
Exclamation FreeBSD Stackable File System

how can we create a folder invisible to the userspace, i.e no flavor of "ls" should be able to retrieve it, it should exist and we should be able to work with it like any other folder.

Specifically, hat changes do we need to make in the kernel... I am thinking of a whiteout entry but not sure how to implement it.

Please Help.
  #2 (permalink)  
Old 04-18-2008
sysgate's Avatar
sysgate sysgate is offline Forum Advisor  
Unix based
  
 

Join Date: Nov 2006
Location: Bulgaria
Posts: 1,318
Can you tell us what is the purpose on that ? Because, for example, if I create a folder, as root, like : "mkdir -p /home/users/testFolder", chown it for example with "chown user:user /home/users/testFolder", make "chmod -R 700 /home/users/testFolder" no one else besides root will be able to ls it. For other purposes, you can use BSD jails, here's an article on Wikipedia and an article at FreeBSD's site on what is beneath the technology.
  #3 (permalink)  
Old 04-22-2008
bakunin bakunin is offline Forum Staff  
Bughunter Extraordinaire
  
 

Join Date: May 2005
Location: In the leftmost byte of /dev/kmem
Posts: 1,628
I too would like to express that i wonder what the purpose of such a directory should be.

What you can do is: create a directory with filemode 700 like sysgate has told you. Only the owner (and root) can "ls" its contents. Now create a directory inside it with also filemode 700. Nobody will be able to find out about its existence because listing the contents of the parent directory is not possible.

I hope this helps.

bakunin
  #4 (permalink)  
Old 04-30-2008
andryk's Avatar
andryk andryk is offline Forum Advisor  
Registered User
  
 

Join Date: Sep 2003
Posts: 448
Quote:
Originally Posted by warrior1234 View Post
how can we create a folder invisible to the userspace, i.e no flavor of "ls" should be able to retrieve it, it should exist and we should be able to work with it like any other folder.

Specifically, hat changes do we need to make in the kernel... I am thinking of a whiteout entry but not sure how to implement it.

Please Help.
Hi,
Instead of "looking for the magic tricks", another alternative could be to use encryption and there are lots of them, one is: gpgdir - Recursively encrypt and decrypt directories (that i just came across today )
But just dont stop there, do explore the darkest of areas and share them with us ...
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 02:41 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0