Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a CentOS 5 server that is file hosting by samba on a small network of 25 or so desktop server 2003 environment. Every night, a folder on one of the samba shares of this server is mysteriously disappearing. Every day we restore from a backup, but every night it disappears. The samba config is thus:

    read only = No
    guest ok = Yes

The permissions for the folder itself is wide open. I think there might be a scheduled task on one of the desktops that is deleting it, but I don't know how to be sure. Is there a way to determine what is happening to the folder every night?

share|improve this question
add comment

1 Answer 1

You can increase the verbosity of samba server or use an inotify script to monitor the folder and run a netstat -tnp to find the workstation connected at the server at that moment.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.