Cannot change file permission attributes on transferred files

    • OMV 3.x
    • Resolved
    • Cannot change file permission attributes on transferred files

      So long story short, I was running out of space and installed a new HDD and just transfered the largest directory over.
      But now when I go in with my same user account it says I don't have permission(mapped network drive from windows client), and when I SSH in it shows random folders do not have the write permission.


      Source:
      /srv/dev-disk-by-label-vol2/Media/Anime



      Destination:
      /srv/dev-disk-by-label-vol3/Anime/


      I used the command:
      mv -v /srv/dev-disk-by-label-vol2/Media/Anime/* /srv/dev-disk-by-label-vol3/Anime/


      To fix the attributes I used:
      chmod -R +w


      Output:


      $ chmod -R +w /srv/dev-disk-by-label-vol3/Anime/
      chmod: changing permissions of ‘/srv/dev-disk-by-label-vol3/Anime/’: Operation not permitted



      $ sudo chmod -R +w /srv/dev-disk-by-label-vol3/Anime/
      [sudo] password for firex726:
      firex726 is not in the sudoers file. This incident will be reported.



      root@openmediavault:/srv/dev-disk-by-label-vol3/Anime# chmod -R +w /srv/dev-disk-by-label-vol3/Anime/
      root@openmediavault:/srv/dev-disk-by-label-vol3/Anime# ls -l
      total 4095904
      -rw-rwxr--+ 1 firex726 users 134294 Sep 25 22:02 1537928336760.jpg
      drwxrwsrwx+ 2 firex726 users 4096 Sep 26 06:34 A Certain Scientific Railgun
      drwxrwsrwx+ 2 firex726 users 4096 Sep 12 21:17 Akagami no Shirayuki-hime
      drwxrwsrwx+ 2 firex726 users 4096 Sep 12 21:17 Alderamin on the Sky
      drwxrwsrwx+ 2 firex726 users 4096 Sep 12 21:17 Alita
      drwxrwsr-x+ 5 firex726 users 4096 Sep 12 21:17 All Purpose Cultural Cat Girl Nuku Nuku
      drwxrwsr-x+ 2 firex726 users 4096 Sep 12 21:17 Aokana Four Rhythm Across the Blue
    • Users Online 1

      1 Guest