Online

chudak Intermediate

  • Member since Jun 7th 2020
Posts
157
Points
940
Profile Hits
1,660
  • chudak

    Replied to the thread resolved OMV 5.x rrdcached error messages after reboot.
    Post
    Ran again `omv-salt deploy run collectd` and `omv-salt stage run deploy`, rebooted and still see 2 emails :(
  • chudak

    Replied to the thread resolved OMV 5.x rrdcached error messages after reboot.
    Post
    votdev


    I still see these errors on R Pi4

    cat /etc/default/rrdcached
    # This file is auto-generated by openmediavault (https://www.openmediavault.org)
    # WARNING: Do not edit this file, your changes will get lost.
    # /etc/default file for RRD cache daemon

    # Full…
  • Hello,

    When my proxmox is connecting to a OMV samba share, I see this in the logs:

    (Code, 10 lines)


    I don't see any harm done by that (guessing), but wanted to ask if other users had seen this and maybe there is a way to configure my share…
  • chudak

    Posted the thread Kudos to OMV developers !.
    Thread
    I had (and probably still am having) some challenges with OMV, which is most likely due to a pilot lack of o knowledge, but ...

    OMV is a great product !

    Thank you !
  • chudak

    Post
    This is what I have in disks



    and this is in "disk usage"



    /dev/sda is missing ...
  • chudak

    Post
    (Quote from macom)

    done that and no change so far.
  • chudak

    Thread
    I recreated FS on my drive, but somehow now it is not listed in Diagnostics/System information.
    Is it possible to add it manually?

    Thx
  • chudak

    Post
    (Quote from gderf)


    That's not an option for me, I run on R Pi so it maybe overloaded.

    I am interested about delete files failure in general, but it's not that I can't live without :)

    If I use say 3d party file managers (say from iOS iPad) I have no issues to…
  • chudak

    Post
    (Quote from gderf)


    It runs on Ubuntu machine and/or container (I have two in case they behave differently) and it runs as emby user
    It connects to the OMV shares via smb/cifs
  • chudak

    Post
    You mentioned user and group ID number, hmm..

    In my case on OMV I see:
    uid=1002(emby) gid=100(users) groups=100(users)

    and on emby server:
    id emby
    uid=998(emby) gid=998(emby) groups=998(emby),0(root),44(video),107(render),1000(yuriw)

    So then are not equal ...
  • chudak

    Post
    gderf

    That's cool and helps me get overall permissions settings into good order.

    That's goal #1

    Goal #2 - how do I allow a process/user on a different system using my share to delete files ? (W/R) in general case?

    I can add that user in OMV but so far it…
  • chudak

    Reaction (Post)
    I can post what I use to recursively bulk change permissions and ownership of my media files. This will unconditionally modify every file and folder it finds in the directory where it is run from, and within every directory and subdirectory below that…
  • chudak

    Post
    gderf

    I think in some other post you pasted a generic script for changing permissions. I can't find it here for some reason.
    If it's not too much trouble, can you paste it again here ?
  • chudak

    Reaction (Post)
    Whatever process you ran to add the files was run as the root user without regard to preserving the ownership and permission attributes, if any existed. Never run anything as the root user unless it must be run that way. Never.

    You haven't shown the…
  • chudak

    Post
    (Quote from gderf)



    Files are the same:
    drwxrwsrwx 2 root users

    I did not do anything about permissions, connected a new drive, formatted, added shares etc.

    It could be that rsync kept the permissions.

    Ok and thx.
    Then - what permissions would you use and…
  • chudak

    Post
    (Quote from gderf)

    You said "root doesn't own a single file on my system it doesn't need to"

    Is it wrong what I have then ?
  • chudak

    Post
    All right very confusing....

    ls -al
    drwxrwsrwx 9 root users 4096 Sep 25 18:48 Videos

    Who is the owner ?

    It has nothing to do with VMs.
  • chudak

    Post
    (Quote from gderf)


    How can I find out answer to your questions "What user owns your media files and folders." ?

    Use case:

    emby user on a VM#1 steams video files
    video files live on a samba share on R Pi
    emby needs to be able able to delete video files
  • chudak

    Post
    I understand the general concept but looking for best practices and what Emby/OMV users do.

    Emby runs on a separate VM as emby user

    My shared folder/files on OMV owned by user root, see attached
  • chudak

    Post
    What do you mean by "a samba share controlled by OMV server"?

    It means that a samba shared folder is part of OMV NAS and as such OMV has full control over it.

    Can you please then describe what you do in such situation?