LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Copy Winbloze file to Samba Share -Sharing Violation (http://www.linuxquestions.org/questions/linux-software-2/copy-winbloze-file-to-samba-share-sharing-violation-119674/)

tornadoburn 11-24-2003 11:12 PM

Copy Winbloze file to Samba Share -Sharing Violation
 
Hi All,

Now that I have my Samba Server, I cannot cut and past a file from my D: drive to my Samba Share, it get the follwoing message:

Cannot Copy FILE: Access Denied. File may be in use.

The file is not in use but I have shared my entire /home partition is that the problem? should I have shared my /usr partition?

Thanks in advance for any help

ps- this might be a Security issue so if any moderator come about this feel free to transfer to the Security forum. thx

archangel_617b 11-25-2003 12:07 AM

Ah windows file sharing. So many things that can go wrong:

If windows explorer is previewing the file for the stupid little preview thing then it will lock the file. This is bad.
Make sure that the samba user you are logged in as owns the file and has rw permissions in *nix.
If the group execute bit is set, make sure you don't have 'map system' set 'yes' in your samba config. Actually I'm not sure that's the correct bit (map system, I mean), but all your map stuff should be set to 'no', the default, unless you are sure you want it set otherwise.

Sharing your home folder is excellent. Particularily if you use the [homes] facility since it is so easy. If you continue to have problems, turn your log level up to 2 and see exactly what permissions are being granted on that file.


All times are GMT -5. The time now is 03:31 AM.