urgent,plese help ! can't delete file by windows explorer

Status
Not open for further replies.

happylcg

Cadet
Joined
Dec 25, 2013
Messages
4
please help

i have a share directory ,it's path "/mnt/sharefile/shejitu"
owner:root
group:wheel

i used 2 commnad to set it's read/write/execute permission

cd /mnt/sharefile
1 chmod -R 775 shejitu
2 setfacl -m g:group1:rwxpDdaARWcCos:------:allow shejitu

now i can use user "user1"(belong to group1) to read/write/modify/create any files (include directory ,even the file' owner is not user1) under directory "shejitu" with windows explorer.
The problem is :i can't delete any files(not include directory) or change the file's(not include directory) name under directory "shejitu" with windows explorer,whether the files were created by "user1" or others

(by the way ,i can't delete file and changec it's name ,but i can delete directory which created by user1 not by others)

why ?why?

but i can use "user1" to login in shell and delete any files(include directory) under directory "shejitu" .it shows me have permins to delete files under directory "shejitu".

i don't understand why i can't delete files with windows exlporer but is ok with shell


with windows explorer,the detail are :

mnt/sharefile/shejitu/ .................. i can creat/write file/directory/ ,but can't delete file or change file's name in this directory
....................................................... a.txt___ it created by root,"user1" can change its contens,but can't change name or delete it
......................................................... b.txt ___it created by user1,"user1" can change its contens,but can't change name or delete it
........................................................ Adir/ ___thi dirctoyr created by root,"user1" can creat new files under this dirctoyr,but can't change name or delete it
.......................................................... Bdir/ ___thi dirctory created by user1,"user1" can creat new file under this dirctoyr,and change name or delete it

but with freenas shell (user1) ,i can delete any file(include directory) or change any file's
(include directory) name under shejitu(directory),even the file/directory owner is not user1
 

joeschmuck

Old Man
Moderator
Joined
May 28, 2011
Messages
10,996
You know I have a few complaints to your posting...

First, the use of Urgent. Sorry but not being able to delete something isn't urgent to anyone, it's a setback. Your use of font sucks too. The large bold red makes me want to delete your posting entirely but I won't.

I.E. has never played well with FreeNAS so use either FireFox or Chrome. Firefox in my opinion works best. I didn't read your problem because it hurts my eyes so hopefully this is a good enough answer.

And if you post like this again, I will delete it on principle.
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,525
I didn't read it either. Good luck to the OP though.
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421

joeschmuck

Old Man
Moderator
Joined
May 28, 2011
Messages
10,996
Deleted duplicate post.
 

Knowltey

Patron
Joined
Jul 21, 2013
Messages
430
Probably because you have that dataset's owner set to root, but you're not accessing the FreeNAS over CIFS as root. Make sure the user you are accessing the NAS as over CIFS has delete permission on the files in question.
 
Status
Not open for further replies.
Top