There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
Linux and Unix
Tag Cloud
access acer asus bios bsod computer crash driver drivers error ethernet excel freeze gaming google gpu graphics hard drive hardware hdmi internet laptop malware memory modem monitor motherboard network printer problem ram registry repair router security slow software sound trojan usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Linux and Unix >
Can not share files, help please

Reply  
Thread Tools
new to this's Avatar
Computer Specs
Junior Member with 3 posts.
 
Join Date: Oct 2007
Experience: Beginner
07-Oct-2007, 06:33 PM #1
Can not share files, help please
OK, first of all, I am new to Ubuntu. Please be nice if I sound rather lost...
I have a home network set up. There are three computers on it. Two are using windows XP home and the other is using Ubuntu 7.04. They are networked through a Linksys Broadband wireless router. ( wrt54g ) Right now, all three are wired to the router. The router is connected to a cable modem.
Right now, all computer see each other and the files set up to share. All go on line just fine. The windows computers swap files fine. But the windows computer will not move files to the Ubuntu computer. When you try, you get the following error message:

Error Copying File or Folder
Cannot Copy "file name": Access is Denied
Make sure the disk is not write-protected and that the file is not currently in use

I set Ubuntu up and at first it work for some users. (three) but not all (two) I reloaded everything and now none work. Now I can move file out of the Ubuntu box to the other machines, but not back to it. The other machines can see and look at the file on Ubuntu, but can't move files to it. Can someone give me some hints as to what I am doing wrong and where to go to fix this
lotuseclat79's Avatar
Distinguished Member with 21,345 posts.
 
Join Date: Sep 2003
Location: -71.45091, 42.27841
07-Oct-2007, 07:17 PM #2
You need to setup Samba on Linux to share between it and Windows. It may just merely be as simple as setting up the config file for samba.

Check out the following Using Samba to share files between Linux and Windows.

If you need to make edits as root use: sudo gedit filename

-- Tom
__________________
The independence created by philosophical insight is - in my opinion - the mark of distinction
between a mere artisan or specialist and a real seeker after truth. - Einstein 1944
Imagination is more important than knowledge. - Einstein
new to this's Avatar
Computer Specs
Junior Member with 3 posts.
 
Join Date: Oct 2007
Experience: Beginner
07-Oct-2007, 08:50 PM #3
lotuseclat79,
Thanks for the reply. I did look at the site you sent. Just wanted to restate a few things. Samba is installed. I can send files to the windows computer from the Ubuntu computer. Both computers see the shared file on each other. Everything seems to work fine except when I try copying a file from windows to Ubuntu, then I get that message (above). I can open a file, like a picture, and look at it (using windows to look at a file in Ubuntu) I just can't seem to move a file to the Ubuntu computer... Any ideas as to what is going on?
lotuseclat79's Avatar
Distinguished Member with 21,345 posts.
 
Join Date: Sep 2003
Location: -71.45091, 42.27841
07-Oct-2007, 11:08 PM #4
What the message means is that you should close the app looking at the picture as it will be tagged as currently in use when you are trying to move the picture file.

It sounds like what you are saying is that you cannot "push" a file from Windows to Ubuntu. Have you tried "pulling" the file from Windows to Ubuntu - i.e. login to Ubuntu and try moving the file from there?

Were you trying to copy a file or a folder.? What are the permissions on the file or folder (on the Windows OS. What are the permissions on the Ubuntu disk?

One thing you might be able to do is to make sure that you have your date properly recorded in the /etc/samba/smb.conf file - read through it to make sure that it conforms to your Windows system.

-- Tom
__________________
The independence created by philosophical insight is - in my opinion - the mark of distinction
between a mere artisan or specialist and a real seeker after truth. - Einstein 1944
Imagination is more important than knowledge. - Einstein
new to this's Avatar
Computer Specs
Junior Member with 3 posts.
 
Join Date: Oct 2007
Experience: Beginner
07-Oct-2007, 11:52 PM #5
Tom,
First I would like to thank you for all this help.
OK, now to break this down... No, I do not have the picture file in a viewer while trying to move it to the Ubuntu computer. And I did try docs as well ( different types of files, not folders) Anytime I try to "copy to", I get the above message.
I can not "push" a file from windows to Ubuntu, but I can "pull" them from Ubuntu to Windows (same file, same location)
The file in windows is shared. I believe the shared files in Ubuntu are all set for read and right as far as I can tell.
Now the big question for me, date? I have the smb.conf open, but where is this "date"? I am using gedit to at the file...
lotuseclat79's Avatar
Distinguished Member with 21,345 posts.
 
Join Date: Sep 2003
Location: -71.45091, 42.27841
08-Oct-2007, 10:17 AM #6
You need root account access to edit the smb.conf file, i.e. use:
$ sudo -i
# cd /etc/samba/
Then use vi or vim to edit the smb.conf file.

Here is a tutorial on using vi/vim: http://www.cs.fsu.edu/general/vimanual.html

Are you in a root account or ubuntu user level account that?

Check the permissions on the /etc/samba/smb.conf file with:
$ ls -lt /etc/samba/smb.conf
You should see something like:
-rw-r--r-- 1 root root 10515 2007-04-15 07:56 /etc/samba/smb.conf
which means that only root account can edit/write the file

What "date" are you talking about? If you are talking about the date command from your terminal command line window issue the command:
$ which date
and you should see the directory location of the date command print out on the next line.

-- Tom
__________________
The independence created by philosophical insight is - in my opinion - the mark of distinction
between a mere artisan or specialist and a real seeker after truth. - Einstein 1944
Imagination is more important than knowledge. - Einstein
Reply

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.
Thread Tools



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 06:37 AM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.