My disk storage running on Solaris + ZFS and i can't delete a file from my cifs share. I tried from Windows + Solaris nothing works... I was thinking someone is using the file and i close my cifs with (zfs set smbshare=off) nothing changed..
My file is:
-rwxrwxrwx+ 1 root root 31584256 Feb 9 14:34 'A. Test2017-02-09T020046.vib'*
rm -rf 'A. Test2017-02-09T020046.vib''
rm: cannot remove 'A. Test2017-02-09T020046.vib': Permission denied
I'm root, i have every possible permission on this system but even the root can't delete this file! How is this possible?
Edit: Maybe nbmand causing this problem? The SMB protocol assumes mandatory locking, but UNIX traditionally uses advisory locking. The Oracle Solaris OS can be configured to use mandatory locking on a per mount basis by using the non-blocking mandatory locking (nbmand) mount option.