The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

untar a file using linux options like -p to preserve permissions

Discussion in 'Data Protection' started by mirror51, Jul 19, 2009.

  1. mirror51

    mirror51 Registered

    Joined:
    Jul 19, 2009
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    In lnux i am using

    to preserve the files and directory permissions.
    Is there any to do this in cpanel.

    If i extract in cpanel my permissiosn are not restored
    i have to manually process 100 files again.


    Any help??
     
  2. Eric

    Eric Administrator
    Staff Member

    Joined:
    Nov 25, 2007
    Messages:
    745
    Likes Received:
    11
    Trophy Points:
    18
    Location:
    Texas
    cPanel Access Level:
    Root Administrator
    Howdy,

    I'm pretty sure the -p switch preserves the UID/GID of the file permissions. If you restore things on a different server where you have the same username, but that user has a different UID/GID it could have issues.

    If you'd care to elaborate on your situation, perhaps we can help you find a way to make it work. :D

    Thanks!
     
Loading...

Share This Page