Parent directory appears inside of child directory as read-only

thatflashcat

Explorer
Joined
Aug 9, 2018
Messages
85
This issue has appeared a few times for me recently. I will navigate to a folder where I store my files for school and find that the parent directory is listed rather than the actual contents. I can browse through the folders but they are read only:
FreenasIssue.PNG

The contents of the GEOG500B folder should be week 20, week 21, etc. but it instead shows the "Riley" folder (that's me!), which is its parent farther up the list. I have been able to solve this issue with restarts but it is very annoying. The odd thing is this only ever happens for subfolders stored within the "school" folder. Any idea why this is happening?

Edit: I waited a few minutes and the issue went away, but I still wonder why it happened in the first place.
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,554
This issue has appeared a few times for me recently. I will navigate to a folder where I store my files for school and find that the parent directory is listed rather than the actual contents. I can browse through the folders but they are read only:
View attachment 29662
The contents of the GEOG500B folder should be week 20, week 21, etc. but it instead shows the "Riley" folder (that's me!), which is its parent farther up the list. I have been able to solve this issue with restarts but it is very annoying. The odd thing is this only ever happens for subfolders stored within the "school" folder. Any idea why this is happening?

Edit: I waited a few minutes and the issue went away, but I still wonder why it happened in the first place.
Can you post the output of 'testparm -s'
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
I don't think I'd heard of this before. What version of FreeNAS are you running?
 

thatflashcat

Explorer
Joined
Aug 9, 2018
Messages
85
Can you post the output of 'testparm -s'

Code:
 testparm -s
Load smb config files from /usr/local/etc/smb4.conf
Processing section "[files]"
Processing section "[isofiles]"
Processing section "[mediaarchive]"
Processing section "[projects]"
Processing section "[windowsbackup]"
Loaded services file OK.
WARNING: You have some share names that are longer than 12 characters.
These may not be accessible to some older clients.
(Eg. Windows9x, WindowsMe, and smbclient prior to Samba 3.0.)
Server role: ROLE_STANDALONE

# Global parameters
[global]
        deadtime = 15
        disable spoolss = Yes
        dns proxy = No
        dos charset = CP437
        hostname lookups = Yes
        kernel change notify = No
        lm announce = Yes
        load printers = No
        logging = file
        map to guest = Bad User
        max log size = 51200
        max open files = 1885241
        nsupdate command = /usr/local/bin/samba-nsupdate -g
        obey pam restrictions = Yes
        panic action = /usr/local/libexec/samba/samba-backtrace
        printcap name = /dev/null
        security = USER
        server min protocol = SMB2_02
        server role = standalone server
        server string = FreeNAS Server
        time server = Yes
        idmap config *: range = 90000001-100000000
        idmap config * : backend = tdb
        acl allow execute always = Yes
        create mask = 0666
        directory mask = 0777
        directory name cache size = 0
        dos filemode = Yes
        ea support = Yes
        store dos attributes = Yes
        strict locking = No


[files]
        path = "/mnt/tank1/data/files"
        read only = No
        veto files = /.snapshot/.windows/.mac/.zfs/
        vfs objects = shadow_copy2 zfs_space zfsacl streams_xattr
        zfsacl:acesort = dontcare
        nfs4:chown = true
        nfs4:acedup = merge
        nfs4:mode = special
        shadow:snapdirseverywhere = yes
        shadow:format = auto-%Y%m%d.%H%M-1w
        shadow:localtime = yes
        shadow:sort = desc
        shadow:snapdir = .zfs/snapshot


[isofiles]
        path = "/mnt/tank2/isofiles"
        read only = No
        veto files = /.snapshot/.windows/.mac/.zfs/
        vfs objects = zfs_space zfsacl streams_xattr
        zfsacl:acesort = dontcare
        nfs4:chown = true
        nfs4:acedup = merge
        nfs4:mode = special


[mediaarchive]
        path = "/mnt/tank1/data/mediaarchive"
        read only = No
        veto files = /.snapshot/.windows/.mac/.zfs/
        vfs objects = zfs_space zfsacl streams_xattr
        zfsacl:acesort = dontcare
        nfs4:chown = true
        nfs4:acedup = merge
        nfs4:mode = special


[projects]
        path = "/mnt/tank1/data/projects"
        read only = No
        veto files = /.snapshot/.windows/.mac/.zfs/
        vfs objects = zfs_space zfsacl streams_xattr
        zfsacl:acesort = dontcare
        nfs4:chown = true
        nfs4:acedup = merge
        nfs4:mode = special


[windowsbackup]
        path = "/mnt/tank1/data/windowsbackup"
        read only = No
        veto files = /.snapshot/.windows/.mac/.zfs/
        vfs objects = zfs_space zfsacl streams_xattr
        zfsacl:acesort = dontcare
        nfs4:chown = true
        nfs4:acedup = merge
        nfs4:mode = special


I don't think I'd heard of this before. What version of FreeNAS are you running?

11.2
 
Top