Page 1 of 1
Cannot delete files
Posted: 24 Oct 2014 22:49
by jeffreywenzel
I have setup nas4free and am using CIFS share with guest access.
Everything has been working fine until recently.
I can no longer delete certain files off the drive (see picture)
I only use guest access and the only way to delete files is thought the file browser via the webGUI
Any help is appreciated

.
Re: Cannot delete files
Posted: 25 Oct 2014 04:16
by kenZ71
Using the file browser in the web gui check the permissions. I bet the files you can't delete have restricted permission.
If using the command line via ssh get familiar with chown to change ownership, chmod to change permissions.
Re: Cannot delete files
Posted: 25 Oct 2014 15:20
by BlackPeter
In your CIF/Samba settings you have to add to aux parameters those line you see in the foto then save and restart the service.
All problem solved.
Re: Cannot delete files
Posted: 25 Oct 2014 15:28
by raulfg3
BlackPeter wrote:All problem solved.
only for new files and folders, for actual files and folders must need to modify permissions by hand.
Re: Cannot delete files
Posted: 25 Oct 2014 15:39
by BlackPeter
raulfg3 wrote:BlackPeter wrote:All problem solved.
only for new files and folders, for actual files and folders must need to modify permissions by hand.
gracias

Re: Cannot delete files
Posted: 25 Oct 2014 22:40
by jeffreywenzel
Thanks for the tips! I added aux parameters.
The permission on the files are -rw-r-----
Hopefully the problem does not persist.
Thanks!
Re: Cannot delete files
Posted: 29 Oct 2014 19:55
by TonyJZX
having the same problem
zeroed some files, still cant delete
in freeenas you can do a echo > file and then you can delete it
how come you cant do that here? they are both zfs
Re: Cannot delete files
Posted: 30 Oct 2014 07:57
by raulfg3
from shell search big files and delete it, use command df to help you