<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 8/09/2013 9:08 PM, tortise wrote:<br>
    </div>
    <blockquote cite="mid:522C5AA6.5050704@paradise.net.nz" type="cite">On
      8/09/2013 11:03 p.m., tortise wrote:
      <br>
      <blockquote type="cite">On 8/09/2013 10:54 p.m., Michael Watson
        wrote:
        <br>
        <blockquote type="cite">On 8/09/2013 8:47 PM, tortise wrote:
          <br>
          <blockquote type="cite">On 6/09/2013 2:02 a.m., Michael T.
            Dean wrote:
            <br>
            &nbsp;The /media/repo{x} directories are all owned
            <br>
            <blockquote type="cite">
              <blockquote type="cite">by root.
                <br>
                <br>
              </blockquote>
              <br>
              You need to check every directory in the path for
              ownership and
              <br>
              permissions:
              <br>
              <br>
              ls -ld /media/{,repo*/{,mythtv/{,{recordings,livetv}}}}
              <br>
              <br>
              and should probably check the ownership and permissions on
              the
              <br>
              recording
              <br>
              files, and compare with the user that's running
              mythbackend.
              <br>
            </blockquote>
            <br>
            Some of the very old recordings and files are owned and
            grouped by
            <br>
            {OldUser} instead of the majority who are owned and grouped
            by mythtv
            <br>
            (mythbuntu) in all 3 repositories (repo, repo1 and repo2)
            <br>
            <br>
            Seems I can find the misnamed files by owner and group:
            <br>
            <br>
            sudo find /media/repo/mythtv/recordings -user {OldUser}
            <br>
            sudo find /media/repo/mythtv/recordings -group {OldUser}
            <br>
            <br>
            and correct the files from within the relevant directories
            (?):
            <br>
            <br>
            sudo chown mythtv *&nbsp;&nbsp;&nbsp; {Change user}
            <br>
            sudo :chown mythtv *&nbsp;&nbsp; {Change group}
            <br>
            <br>
            However in nautilus the newly changed files are now listed
            with owner
            <br>
            as "mythtv -" whereas the others are "mythtv" which suggests
            to me I
            <br>
            am not quite achieving what I need to? (Where does " -" come
            from?!)
            <br>
            <br>
          </blockquote>
          sudo chgrp mythtv *
          <br>
          <br>
          Should fix that problem.
          <br>
        </blockquote>
        <br>
        Actually I think its a bug in nautilus, it has since crashed and
        <br>
        subsequently shows them correctly!
        <br>
        <br>
        btw my reading suggested
        <br>
        <br>
        sudo :chown mythtv *
        <br>
        <br>
        achieves same as
        <br>
        <br>
        sudo chgrp mythtv *
        <br>
      </blockquote>
      Woops sorry, its
      <br>
      <br>
      sudo chown :mythtv *
      <br>
      <br>
      to change group...
      <br>
    </blockquote>
    <br>
    Or you can use <br>
    <b>sudo chown mythtv:mythtv *<br>
    </b>to do both user and group and the same time.<br>
    <br>
  </body>
</html>