Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-24-2003, 11:12 PM   #1
LQ Newbie
Registered: Nov 2003
Location: Montreal, Canada
Distribution: RH 7.1
Posts: 23

Rep: Reputation: 15
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
Old 11-25-2003, 12:07 AM   #2
Registered: Sep 2003
Location: GMT -08:00
Distribution: Ubuntu, RHEL/CentOS, Fedora
Posts: 234

Rep: Reputation: 42
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba OS X to Linux Samba file share error ttoomey Linux - Software 1 08-16-2005 10:12 AM
cant copy file from samba's share apeacez Linux - General 1 10-11-2004 10:06 AM
filecopy from xp to samba slow, copy to mounted share fast xtra Linux - Software 6 07-29-2004 04:37 PM
Sharing the samba share with windows clients vignesh2004 Member Intro 0 06-18-2004 04:14 AM
Samba/Winbloze Sharing headaches tornadoburn Linux - Networking 6 11-30-2003 06:56 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:35 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration