LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-29-2009, 06:26 PM   #1
FLX
Member
 
Registered: Apr 2005
Distribution: Fedora Core 5, SuSE 10.1
Posts: 40

Rep: Reputation: 15
Accessing folders outside a chrooted environment


Hello,

I have a NAS and made a chrooted gentoo environment. All is well but I would like to access /volume1 on the host distro. Is this possible within a chrooted environment?

fstab entry:
/dev/md2 /volume1 ext3 defaults 0 0

Thanks,

Dennis
 
Old 10-29-2009, 06:44 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Isn't that what chroots are made for? So a process isn't able to peek outside of it? If the chroot allows for networking then you could export /volume1 on the host as any network filesystem the chroot client can access: NFS, SMB, SSHFS, HTTP, FTP, you get the idea.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
chrooted environment in vsftpd bkcreddy17 Linux - Server 1 07-10-2009 07:12 AM
accessing shared folders tannu_ah Linux - Newbie 1 05-02-2009 04:19 PM
cannot access /dev/video0 from chrooted environment kpachopoulos Linux - General 1 08-22-2008 02:57 AM
how to get out of the chrooted environment kirtikjr Linux - Software 1 07-12-2007 05:40 PM
chrooted environment to install distros? watashiwaotaku7 Linux - General 7 03-07-2004 09:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration