Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: cannot xcopy to certain dir on samba server< Next Oldest | Next Newest >
Ankuryu Offline





Group: Members
Posts: 24
Joined: Mar. 2006
Posted: Nov. 25 2006,12:26 QUOTE

I have a samba server configure as a file server. However when I log in from a Win XP machine and try to write to certain directories on the Samba server machine using the command

xcopy h:\main\*.*  z:\main\*.*  /s /y /d /c /v

when copying files to some of the sub-dir in the tree, it gives the message

Access Denied.

I have run the command

chmod -R 777 /main

on the main directory and ensured that everyone has the rwx permission. yet this happens

However if I try to copy the files directly  to individual sub dir I can.

xcopy h:\main\subdir1\*.* z:\main\subdir1\*.* /v /d /y /c /s

However I cannot do it when I use the /s option from the top level

xcopy h:\root\*.* z:\root\*.* /v /d /y /c/s

basically I use it to backup my server to another server.

I would like to inform that the main server is a win 2k as a PDC and Linux box as a backup server.  The xcopy command is given from a node which is a Win XP


can someone guide me why is this so ?
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Nov. 26 2006,05:30 QUOTE

This is just a guess: remove the 2nd *.*?
Back to top
Profile PM 
Winter Knight Offline





Group: Members
Posts: 146
Joined: April 2006
Posted: Nov. 26 2006,07:08 QUOTE

Hopefully hats suggestion solved it. If not, you might have better luck with the samba mailing list: https://lists.samba.org/mailman/listinfo/samba

Are you using the latest version? This could be a bug that has already been fixed.
Back to top
Profile PM 
Ankuryu Offline





Group: Members
Posts: 24
Joined: Mar. 2006
Posted: Nov. 27 2006,08:19 QUOTE

Sorry Fella, I removed the 2nd *.* but no change in results.
as regards the version, well I downloaded the samba from the DSL site.  I cannot update the version , till u guys put in the new version can I ? it is a 'mydsl' thing.

Well the report I get is as follows
Access Denied
Unable to  create  Directory '\subdir'.


Well I have created all the directories myself manually, yet it gives such msgs.

I have subscribed to the list today.  I shall ask my questions to the samba list soon.

Thanks Guys for your time and co operation. I value it
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Nov. 28 2006,03:19 QUOTE

Hm, maybe the problem has to do with creation permissions in the root dir - I seem to remember one that had printers, folders, etc. (that probably could only modify by some admin account over network)
For example, does "xcopy h:\main\*.* z:\main\subdir1\*.* /v /d /y /c /s" work?
Back to top
Profile PM 
4 replies since Nov. 25 2006,12:26 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: cannot xcopy to certain dir on samba server

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code