Results 1 to 8 of 8

Thread: Hidden and empty file (0 byte) in Samba?

  1. #1
    Join Date
    Mar 2007
    Beans
    9

    Hidden and empty file (0 byte) in Samba?

    Hello,

    I have Ubuntu 12.04.2 (LTS) installed as my home server and shared some folders using Samba. It was good in the beginning.
    Now there are lots of hidden and empty files (0 byte) displayed in my shared folder. For each of my existing file, there is a hidden and empty file matching it, and the name is like _WNNNJ~3.PDF.
    They aren't real files, not existing in my original folders, just the displaying wrong. I cannot delete those hidden and empty files, it is said 'Cannot find the specified file.'

    Is there anything suggestion to fix my problem?

    Thanks,

    Richard
    Last edited by ljs_1969; April 8th, 2013 at 05:28 PM.

  2. #2
    Join Date
    Mar 2007
    Beans
    9

    Re: Hidden and empty file (0 byte) in Samba?

    It was the problem after I installed antivirus on Ubuntu. I have removed the antivirus.

  3. #3
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Hidden and empty file (0 byte) in Samba?

    Quote Originally Posted by ljs_1969 View Post
    It was the problem after I installed antivirus on Ubuntu. I have removed the antivirus.
    Which antivirus did you install?
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  4. #4
    Join Date
    Jun 2013
    Beans
    3

    Re: Hidden and empty file (0 byte) in Samba?

    I'm having the same problem. I did install antivirus at some point but removed it again as it was causing me some issues, however the files are still there and I can't remove them. It's not too much of a problem on Windows as you can hide these files but I've not found a way to do that on mac. It's driving me a bit mad as I have loads of files to scroll past to get to the real folder content.

  5. #5
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Hidden and empty file (0 byte) in Samba?

    What message do you get when you try to remove the files?
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  6. #6
    Join Date
    Jun 2013
    Beans
    3

    Re: Hidden and empty file (0 byte) in Samba?

    Quote Originally Posted by CharlesA View Post
    What message do you get when you try to remove the files?
    I don't actually get an error the file disappears for a second then reappears

  7. #7
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Hidden and empty file (0 byte) in Samba?

    Interesting. Can you see what is using that directory?

    Code:
    sudo lsof /path/to/folder
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  8. #8
    Join Date
    Jun 2013
    Beans
    3

    Re: Hidden and empty file (0 byte) in Samba?

    Quote Originally Posted by CharlesA View Post
    Interesting. Can you see what is using that directory?

    Code:
    sudo lsof /path/to/folder
    On one of the directories where I see the problem it returns

    Code:
    bash    23942   plug  cwd    DIR    9,0     4096 3981313 /media/storage/promosmbd    24055 Marcus  cwd    DIR    9,0     4096 3981313 /media/storage/promo
    smbd    24055 Marcus   36r   DIR    9,0     4096 3981313 /media/storage/promo
    sudo    24058   root  cwd    DIR    9,0     4096 3981313 /media/storage/promo
    lsof    24059   root  cwd    DIR    9,0     4096 3981313 /media/storage/promo
    lsof    24060   root  cwd    DIR    9,0     4096 3981313 /media/storage/promo
    so there doesn't seem like anything out of place to me

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •