Samba and pdf-s
Hello guys. This is my first thread here. I am sorry for my grammar. :)
My problem: We have a file server (samba), and the people here commonly work with *.dwg files, autocad. They often use *.pdf files, *.xls and others. But from time to time we have problem. Some pdf file cannot be deleted, because they are open. When I go to the pc that has open it, they already been closed. :confused: On the next day everything is good. The pdf file can be deleted. This is not happens with most of the employees, and it not happens with every pdf file. Any suggestions? |
Elmack
Welcome to the Linux Questions Forums and I am not a grammar expert but yours seems fine.. I have seen symptoms similar to this before with other applications and it may not be related to samba however someone may chime in after me with a more correct answer. As it is not happening on every file I have a couple of things quickly.
Right off the bat I might have the user logout and back in and see if the file can be deleted. I will run some tests on our system today to see if I encounter the same issue and answer back if I have anything definitive Cheers |
Thank you @rog_ski for the questions. I will try to asnwer you.
The network drive is mapped in user's explorers (in My Computer)(windows). Everyone is using one user (samba one). I've heard about this problem only from few people, but important one(project managers). Is it possible that the PDF is opened by another? It's closed. (i've checked) Is the pdf closed but the application (adobe) still open on the desktop. The app may still have a lock on the file. <Application related> ? Hm... Adobe is not opened. Even the file. But what about if some proccess does it. Can I try to see the logs? But where? Does this only happen on PDFs that a user has printed. <printer related> ? THEY say NO. I asked them before. Does it only happen to certain users and not others. <PC Related> ? I've heard about this problem only from few people, but important one(project managers). Can the file be deleted from the server as opposed from the user? (what do you mean) When someone calls me for some file even I am not able to delete it. This happen to me once. How you run the "tests" on your system? its interesting for me. I will make samba test server(vm) to try too... :) |
recheck permissions(directory permissions not samba share permission) of each user having problem.
try disabling selinux and try . |
Elmack
I ran some quick tests on mine and the only way I was not able to delete the file is if it was open on the test workstation. The fact that it is only hitting some users (the important ones) may lead to something specific with their workstations, file types (basic adobe or one you can modify and save), policies, additonal software on workstations. More ideas and you don't need to answer these back to the forum but ask these yourself these questions
Finally I would like to see a copy of your samba config file (global and share) as well any real difference in the users and workstations that are having the issues. |
Quote:
|
@rog_ski:
Code:
[data] |
elmack
As it is only affecting a limited number of your users on certain files I would look for something that is different with those users and or files. Did you get a chance to look at all the items on post #5 above. I still think you are looking for a different type of software such as the adobe reader - writer (forget the product name). I may be repeating myself but does this happen every time a user opens the file or only limited times. I think if it was something in the samba.conf it would be affecting everyone on those files. As we are on a closed network running a number of different OS types we had a requirement to map folders from machines operating at different OS levels and were not as concerned with the security aspect. We used the following samba.conf Code:
[ global] |
All times are GMT -5. The time now is 09:40 PM. |