Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Results 1 to 6 of 6

This is a discussion on Directory Structure Question in the VPS & Dedicated forum
Hey guyz, I'm browsing my VPS File Manager, and i've found 2 folders which seem to be idential: / chroot/ home / home This is ...

  1. #1
    JPC Member
    Join Date
    Jul 2006
    Posts
    3

    Directory Structure Question

    Hey guyz,

    I'm browsing my VPS File Manager, and i've found 2 folders which seem to be idential:

    / chroot/ home
    / home

    This is one of the biggest directories on the forum because it contains the zip file of my cpanel backup, and my public_html folder... Do I need both of those folders on the server? and are they in fact exact copies of each other?

  2. #2
    || $name ne 'R.Stiltskin'
    Join Date
    Jun 2003
    Location
    Tejas
    Posts
    2,438
    Is one of them just a symlink?

    The "file" properties on the symlink would be like:
    Code:
    lrwxrwxrwx 1  root root 12 Jul 24  2006 home -> /chroot/home
    The file properties on the real file (or directory) would be like:
    Code:
    -rwxr-xr-x 1  root root 8 Jul 23 19:17 home
    If it's just a symlink and a real directory, don't do anything. They aren't copies at all. One is just an OS pointer to the real thing. If you accidentally delete the real directory, it would be a catastrophic failure since you'd have deleted your "home". If you just delete the symlink, no problem except for any other programs or links that referred to the symlink. The symlink could easily be recreated. The real home? Not.

  3. #3
    JPC Member
    Join Date
    Jul 2006
    Posts
    3
    .........
    Last edited by kurtbarker; 07-24-2006 at 07:17 PM.

  4. #4
    || $name ne 'R.Stiltskin'
    Join Date
    Jun 2003
    Location
    Tejas
    Posts
    2,438

    Exclamation

    URGENT: Remove your images!

  5. #5
    || $name ne 'R.Stiltskin'
    Join Date
    Jun 2003
    Location
    Tejas
    Posts
    2,438
    OK, now that that is out of the way - no, I cannot tell by the way you have presented the data. Those directories show contents but do not tell me much about the properties of the containing directories.

    You need to go to root and check the properties of the directories/links and not browse down to the contents themselves.

    Start at root which is "/". Read the contents of "/" and check the list for:
    /home
    /home/chroot

    Dollars to donuts that one of them is a symlink to the real directory. By browsing to "/" and reading its contents, it looks like you'll be able to view the properties for both paths through Virtuozzo.

  6. #6
    || $name ne 'R.Stiltskin'
    Join Date
    Jun 2003
    Location
    Tejas
    Posts
    2,438
    Good. Sorry to alarm you but I didn't want your IP addy and account name to get displayed for prying eyes.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •