Cannot add/delete folder in CIFS share

Status
Not open for further replies.

seanwang

Dabbler
Joined
Feb 19, 2018
Messages
11
Hi All,

I created a folder in FN, called workspace with following permissions

drwxrwx--- 2 root project 2 Feb 26 12:05 workspace

Then I created a CIFS share for it and mapped it on windows using username itadmin which has a auxiliary group project.

But i am not able to create any files/folders in the mapped drive.

I suspect it is because the permission is not set properly

$ getfacl workspace
# file: workspace
# owner: root
# group: project
owner@:rwxp--aARWcCos:-------:allow
group@:rwxp--a-R-c--s:-------:allow
everyone@:------a-R-c--s:-------:allow

But after I changed the acl as below I cannot even go to the drive in windows

]$ getfacl workspace
# file: workspace
# owner: root
# group: project
owner@:rwxpDdaARWcCos:fd-----:allow
group@:rwxpDdaARWcCos:fd-----:allow
everyone@:------a-R-c--s:-------:allow

It was giving me an error you have no permission to access the drive. Any idea?

The strange thing is I have another folder with the same setup but works well.
 

seanwang

Dabbler
Joined
Feb 19, 2018
Messages
11
Hi All,

It is resolved by restart the samba server services.

Gosh, it is taking me hours....
 
Status
Not open for further replies.
Top