cancel
Showing results for 
Search instead for 
Did you mean: 

CIFS: Cannot delete folders

vincent-kali
Star Contributor
Star Contributor
Hi all,
I'm facing a very strange issue on my alfresco 5.0d: when accessing
alfresco using CIFS protocol, I can't delete a folder (user is site manager).
It must be a misconfiguration… or a huge bug ?

My config is:

### CIFS-NFS-FTP
filesystem.name=GED
filesystem.rootPath=${protocols.rootPath}/${spaces.sites.childname}
cifs.enabled=true
cifs.serverName=myServerName
cifs.domain=myDomain.loc
cifs.hostannounce=false
cifs.pseudoFiles.enabled=false
cifs.pseudoFiles.explorerURL.enabled=false
cifs.pseudoFiles.explorerURL.fileName=__Alfresco.url
cifs.pseudoFiles.shareURL.enabled=false
cifs.pseudoFiles.shareURL.fileName=__Share.url
ftp.enabled=true
nfs.enabled=false


Does somebody face a similar issue ?

Thanks,
Vincent

13 REPLIES 13

mrogers
Star Contributor
Star Contributor
Which folder, and what are its permissions?

There's nothing wrong with your config and that's a very unlikely bug.    There's something else going on that can't be identified from what you have posted.  

vincent-kali
Star Contributor
Star Contributor
Changing configuration to 'cifs.pseudoFiles.enabled=true'
allow us to delete folders through CIFS….
Is this by design ?

Thanks,
Vincent

The user is site manager, and is able to create / delete folder using share UI.
This issue is really problematic for us…..
I can reproduce it on different 5.0d deployment, whatever authentication mecanism is used (ntlm, kerb)

Does somebody else the same issue ?
Should I post a bug ?

thanks,
Vincent

nataly
Champ in-the-making
Champ in-the-making
If 'cifs.pseudoFiles.enabled=false', site manager won't be able to delete folders through CIFS.
Alfresco version: 5.0.d

Workaround, if you don't want to see share url and desktop actions on CIFS (this is our case):
-  let pseudo files enabled:
cifs.pseudoFiles.enabled=true
- Disable URL
cifs.pseudoFiles.explorerURL.enabled=false
cifs.pseudoFiles.shareURL.enabled=false
- Disable default desktop actions in file-servers-context.xml

  <property name="desktopActionList">
                  <list>
                     <!–bean class="org.alfresco.filesys.repo.desk.CheckInOutDesktopAction">
                       …
                     </bean–>
                     <!–bean class="org.alfresco.filesys.repo.desk.JavaScriptDesktopAction">
                  …
                     </bean–>
                  </list>
               </property>


That's works for us.
Vincent



ps: please mark comment as useful if it helps.

jsuwala
Champ in-the-making
Champ in-the-making
Thanks for this solution Vince.

I note that this problem has been logged as a bug and should be fixed in 5.0.2 https://issues.alfresco.com/jira/browse/MNT-14107

I have implemented your workaround fix in 5.0b, and can now delete folders but have the annoying __CheckInOut.exe file remaining (even though I fully modified the file-servers-context.xml file). Any thought on how to fully remove the __CheckInOut.exe file?

Thanks,
- Jason

aparna
Champ in-the-making
Champ in-the-making
I'm unable to delete the user once created permanently. By this I mean that once i create a user and remove the user, the folders created for the user in the repository do not get deleted. So when I try adding the user again it does not send a username and password. How do I solve this?

vincent-kali
Star Contributor
Star Contributor
Hi,
I did not face this issue. you should open a new subjet for this.

vincent

sascha
Champ in-the-making
Champ in-the-making
We are facing the excatly some problem.

Did this manage to hide the Checkin, Checkout .exe Files aswell? Because this is our major issue why we set DisablePseudoFiles true?