LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 09-20-2004, 11:49 AM   #1
SteveGodfrey
LQ Newbie
 
Registered: May 2004
Distribution: Fedora Core 2
Posts: 22

Rep: Reputation: 15
updating existing files on Samba share


I have a second hard disk installed in my system formatted with FAT32 which I use to backup my Windows Laptop. I access the disk via a samba share, and backup my address book, favourites, data etc to the disk. This works fine if the files don't already exist on the samba share. If the file is already there but is an older version the copy fails......remember if the files doesn't exist it will copy successfully.

I want all users to have full RWX to the second disk.
/dev/hdb1 /mnt/hdb vfat rw,user,umask=0000 0 0


I'm using a utility on the laptop called robocopy to copy the files as this will only copy files that haved changed, I need thos otherwise I'll be copying 8 GB of data every night....Here is the output from the copy job.

C:\Documents and Settings\Steve\Application Data\Microsoft\Address Book\
Older 209659 Steve.wab
ERROR 5 (0x00000005) Copying File C:\Documents and Settings\Steve\Application Data\Microsoft\Address Book\Steve.wab
Access is denied.

If I just copy the files it works fine, well the file is overwriten.

Here is the file details
-rwxrwxrwx 1 root root 209659 Sep 20 08:49 Steve.wab
I've tried changing the owner to steve but this fails and from what I've read this is due to the fact it's a VFAT partition which doesn't support files 'owners'.

So can anyone suggest what might be happening here?
 
  


Reply



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
Setting up samba to share files and printer linuxmandrake Linux - Software 9 10-14-2005 12:31 PM
Cannot share files using samba on slack 10.1 alamuru420123 Slackware 7 03-22-2005 02:18 AM
Cannot create files on samba share jhoderd Linux - Software 2 01-04-2005 08:46 AM
can't create/modify files in a samba share deadslota Linux - Newbie 4 08-07-2004 10:26 PM
Don't share .files with Samba objorkum Linux - Software 1 02-28-2004 07:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:18 PM.

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