Operating System - HP-UX
1827593 Members
2728 Online
109965 Solutions
New Discussion

CIFS Server on HP-UX - Can't delete files

 
SOLVED
Go to solution
Doug Kratky
Frequent Advisor

CIFS Server on HP-UX - Can't delete files


We're running CIFS Server (A.01.04) on HP-UX 11.11. Users connecting from Windows can create folders and files. From Windows, they can delete the folders they create, but can't delete the file they create. It appears that the file has been deleted, but when they refresh Explorer or run dir, they can see the file still there. From a UNIX shell, they can delete the files.

Any ideas on why this would be or any tips on how we can debug this problem? We set the log level to 10 in smb.conf, but it didn't give us any information on why the files weren't deleted.


Thanks,
Doug


5 REPLIES 5
Julio Yamawaki
Esteemed Contributor

Re: CIFS Server on HP-UX - Can't delete files

Hi,

It seems that you must set umask to a value that will permit the users to delete the files. umask will be set in the user that starts smb.

Doug Kratky
Frequent Advisor

Re: CIFS Server on HP-UX - Can't delete files


I don't think it has anything to do with umask. The file permissions look fine, files can be deleted by the user though UNIX (just not through SAMBA). Folders can be deleted. If umask was a problem, none of those methods would work either.

Darren Prior
Honored Contributor
Solution

Re: CIFS Server on HP-UX - Can't delete files

Hi Doug,

My first suggestion would be to get hold of a newer version of CIFS - A.01.04 is very old and there have been many fixes since then. You can download the latest version from http://software.hp.com

Please pay particular attention to the kernel parameter changes when moving from pre-A.01.08 versions.

regards,

Darren.
Calm down. It's only ones and zeros...
Doug Kratky
Frequent Advisor

Re: CIFS Server on HP-UX - Can't delete files


Upgrading versions fixed the problem. Application group was reluctant to change versions, but that turned out to be the fix.

Doug Kratky
Frequent Advisor

Re: CIFS Server on HP-UX - Can't delete files


see above ...