Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    How to retain orginal ownership and permission

    Hi folks,

    How to retain the ownership and permission of data transferred with CD from Box-1 to Box-2. The data are originally owned by User with r/w permission. After burning the data on the CD they become read only. Copying them to Box-2 all files become read only by User and owned by Root. To get the data back to their original state involves certain work in running "chown" and "chmod".

    Is there an easy way making use of CD as transfer medium retaining their orignal state, not via local network ? TIA.


  2. #2
    Linux Guru Cabhan's Avatar
    Join Date
    Jan 2005
    Seattle, WA, USA
    As I recall, doesn't tarring the files keep their original permissions?

  3. #3
    Linux Engineer
    Join Date
    Apr 2005
    That would be great (haven't tested that myself though). The archive itself would become read-only anyway.

    To restore ownerships: do
    # chmod -R [yourusername]:users *
    Debian Jessie x86_64 & armhf :: LibreELEC is the solution for your Linux-based HTPC setups.

  4. $spacer_open

Posting Permissions

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