Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    51
    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:
    751
    Likes Received:
    11
    Trophy Points:
    143
    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!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice