Find the answer to your Linux question:
Results 1 to 5 of 5
Hello people I am still learning linux. But sitting with a pretty advanced question help needed. The question. You just have linux with some group and users. In that we ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2011
    Posts
    3

    var to var2 deep copy with rights and premissons take with it


    Hello people I am still learning linux. But sitting with a pretty advanced question help needed.

    The question.

    You just have linux with some group and users. In that we have the var the var is running full.

    To overcome that I must make a deep copy. That means that everything must go with it including rights and premissions. So that the var still works as orginally when switched to other location. If the meaning deep copy is right idk someone told me. The map var2 will come into the other harddisk so the orginal harddisk with var can by unmounted.

    Further its not the following commands ln,cp. and no rsync not allowed to use.

    I hope someone understand this question and has a good answer. If you want more information feel free to ask.

  2. #2
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,221
    Sorry, homework questions are not allowed.
    http://www.linuxforums.org/forum/lin...ums-rules.html

    But yes, there are a few ways on how to achieve that.
    You must always face the curtain with a bow.

  3. #3
    Just Joined!
    Join Date
    Apr 2011
    Posts
    3
    Its not homework but a real situation what I am dealing with. I searched hours googling today and trying out. Look I like to learn things. But I gone to a forum because I can't find it out.

    Also in general I can see many people on google having the same problem. Answering it here can help people searching it.

  4. #4
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,221
    Ah, come on.
    "cp, ln and rsync are not allowed"
    How would that be *not* a homework testcase?

    But to give at least pointers to two possible solutions:
    1) archives
    2) first look "under" the filesystem for possible actions, then work with the filesystem

    The 1) way is easier
    You must always face the curtain with a bow.

  5. #5
    Just Joined!
    Join Date
    Apr 2011
    Posts
    3
    Thanks. Gonna research that right away.

Posting Permissions

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