Results 1 to 6 of 6

Thread: Linux file permission

Threaded View

  1. #1

    Thread Starter
    PowerPoster stanav's Avatar
    Join Date
    Jul 2006
    Location
    Providence, RI - USA
    Posts
    9,290

    Linux file permission

    Hello everyone,
    I have to admit that I'm not a Linux guy; things seems so simple to do in Windows could give me a hard time figuring out how to do it in Linux world...
    I have a Red Hat linux server which the raid controller's gone bad. My task is to recover a web site (all the files, database... related to this web site) on that server and move it to another linux server. The original server had a raid1 configuration and the hard drives themselves are intact. I pull out one of the drives from the dead server and plug it into my test Ubuntu box via an USB to sata adapter. The Ubuntu box can see and mount the drive OK, but there are some folders that I don't have access permissions to... So my questions are:

    1. Where is the default location of a web site in a linux box? (that dead server served just 1 single web site, so I think there must be a default location some where that the web site was set up originally). And what are the most likely directories that I can find the web site in if it's not in the default location?

    2. How do I go about to change access permission to those locked folders (specifically the "root" folder) so that I can read them?

    3. Once I have recovered the web site, where do I put the files/folders in the new server assuming that it'll be the only web site the new server will serve?

    Any help will be greatly appreciated.
    Thank you,
    Stanav.
    Last edited by stanav; Aug 23rd, 2011 at 09:48 AM.
    Let us have faith that right makes might, and in that faith, let us, to the end, dare to do our duty as we understand it.
    - Abraham Lincoln -

Posting Permissions

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



Click Here to Expand Forum to Full Width