Need some help with FreeNAS Sharing

Discussion in 'FreeBSD and FreeNAS' started by Fritz, Mar 3, 2018.

  1. Fritz

    Fritz Well-Known Member

    Joined:
    Apr 6, 2015
    Messages:
    1,678
    Likes Received:
    318
    This is driving me @#$% insane. I have 2 pools on the same server. Pool # 1 I can read and write to both from Windows and from Linux. Pool #2 I can only read and not write from both Windows and Linux. I have set sharing on both pools to exactly the same. Can someone tell me how to make this pool writeable????

    TIA :)

    I've partially sorted it out. I edited pool permissions and changed the owner to Administrator and now I can write to it from the box in question but I'd like others to be able to write to it also. At least I'm over this hump.
     
    #1
    Last edited: Mar 3, 2018
  2. Danic

    Danic Member

    Joined:
    Feb 6, 2015
    Messages:
    69
    Likes Received:
    26
    Check the underneath ACLs on each pool's folders. I've messed up permissions before switching between linux and windows ACLs on FreeNAS for samba shares. Use `getfacl` and `setfacl` to resolve your issues. FreeNAS manual says try to manage all permissions via Windows machine, but you'll have to set owner/group first before fixing the rest.

    With 'ls -l' you'll see a `+` if the file has POSIX ACl's
    Code:
    root@nas:/mnt/tank3/BigShare # ll Thumbs.db
    -rwxrwxr-x+ 1 guest  guest  468992 Aug  2  2017 Thumbs.db*
    
    Basic getfacl output. My file server is not a good example. I'm the only user so everything is guest or me.
    Code:
    root@nas:/mnt/tank3/BigShare # getfacl Thumbs.db
    # file: Thumbs.db
    # owner: guest
    # group: guest
                owner@:rwxpDdaARWcCos:-------:allow
                group@:rwxpDdaARWcCos:-------:allow
             everyone@:r-x---a-R-c---:-------:allow
    
    This post has basic intro to the commands and its output.
    setfacl recursive quick and dirty, how?
     
    #2
    T_Minus and Fritz like this.
  3. Fritz

    Fritz Well-Known Member

    Joined:
    Apr 6, 2015
    Messages:
    1,678
    Likes Received:
    318
    Thank you sir. This is most helpful.
     
    #3
Similar Threads: Need help
Forum Title Date
FreeBSD and FreeNAS 1st time FreeNAS user needs help with "Failed to wipe da0: dd: /dev/da0: Invalid argument" Oct 26, 2017
FreeBSD and FreeNAS Need some help with a FreeNAS problem Mar 1, 2017
FreeBSD and FreeNAS Need some FreeNAS Owncloud plugin help Oct 20, 2015
FreeBSD and FreeNAS To ZIL or not to ZIL; that is indeed the question. (FreeNAS n00b needs help) Mar 11, 2013
FreeBSD and FreeNAS ZFS newbie coming from RAID needs handholding...erm advice... Nov 11, 2017

Share This Page