PC Review


Reply
Thread Tools Rate Thread

cannot use xcopy

 
 
=?Utf-8?B?RGltaXRyaXM=?=
Guest
Posts: n/a
 
      9th Mar 2006
Hello I am using log on scripts for my users with xcopy batch files.
The problem is that although I have gave the write permission to the
directory wich the xcopy batch file is pointing the xcopy command cannot
create files or directories.
I want to backup *.doc and *.xls files from user`s hard disks and the xcopy
logn script is the solution i have thought.Please advise me on the subject
because the batch file with only write permission is not working and I dont
want the users to be able to read each other files ...
 
Reply With Quote
 
 
 
 
Pegasus \(MVP\)
Guest
Posts: n/a
 
      9th Mar 2006

"Dimitris" <(E-Mail Removed)> wrote in message
news:291DCAB2-E3F9-4679-AE4E-(E-Mail Removed)...
> Hello I am using log on scripts for my users with xcopy batch files.
> The problem is that although I have gave the write permission to the
> directory wich the xcopy batch file is pointing the xcopy command cannot
> create files or directories.
> I want to backup *.doc and *.xls files from user`s hard disks and the

xcopy
> logn script is the solution i have thought.Please advise me on the subject
> because the batch file with only write permission is not working and I

dont
> want the users to be able to read each other files ...


If you want a user's logon script to copy files to a folder that
us supposed to be inaccessible to users in general then you
must employ an agent to do it in a two-step process:

Step 1: Get the logon script to copy the files to a holding area
to which the user has full access.

Step 2: Use a scheduled task to move the files from the holding
area to the final restricted area. Make the task run under an
account that has sufficient access rights to both areas.


 
Reply With Quote
 
=?Utf-8?B?RGltaXRyaXM=?=
Guest
Posts: n/a
 
      9th Mar 2006
Hello pegasus
Thank you for the advise but I want the xcopy to be able through users
credencials to write to the destination folder but I dont want the user to be
able to have read permission to the destination folder.The users have write
permissions enabled for the destination folder but it seems that it is not
sufficient for the xcopy command
and I get the"cannot create folder - file" from the xcopy...


"Pegasus (MVP)" wrote:

>
> "Dimitris" <(E-Mail Removed)> wrote in message
> news:291DCAB2-E3F9-4679-AE4E-(E-Mail Removed)...
> > Hello I am using log on scripts for my users with xcopy batch files.
> > The problem is that although I have gave the write permission to the
> > directory wich the xcopy batch file is pointing the xcopy command cannot
> > create files or directories.
> > I want to backup *.doc and *.xls files from user`s hard disks and the

> xcopy
> > logn script is the solution i have thought.Please advise me on the subject
> > because the batch file with only write permission is not working and I

> dont
> > want the users to be able to read each other files ...

>
> If you want a user's logon script to copy files to a folder that
> us supposed to be inaccessible to users in general then you
> must employ an agent to do it in a two-step process:
>
> Step 1: Get the logon script to copy the files to a holding area
> to which the user has full access.
>
> Step 2: Use a scheduled task to move the files from the holding
> area to the final restricted area. Make the task run under an
> account that has sufficient access rights to both areas.
>
>
>

 
Reply With Quote
 
Pegasus \(MVP\)
Guest
Posts: n/a
 
      9th Mar 2006
On my WinXP PC I was able to give "write" access without
"read" access by issuing these commands from the Command
Prompt:
cacls c:\Tools /e /t /r users
cacls c:\Tools /e /t /g users:w
cacls c:\tools
C:\tools BUILTIN\AdministratorsOI)(CI)F
NT AUTHORITY\SYSTEMOI)(CI)F
PEGASUS\xxx:F
CREATOR OWNEROI)(CI)(IO)F
BUILTIN\UsersOI)(CI)(special access
READ_CONTROL
SYNCHRONIZE
FILE_GENERIC_WRITE
FILE_WRITE_DATA
FILE_APPEND_DATA
FILE_WRITE_EA
FILE_EXECUTE
FILE_WRITE_ATTRIBUTES

I do not know if this works under Win2000.


"Dimitris" <(E-Mail Removed)> wrote in message
news:F1231BAD-A259-4CB6-87C9-(E-Mail Removed)...
> Hello pegasus
> Thank you for the advise but I want the xcopy to be able through users
> credencials to write to the destination folder but I dont want the user to

be
> able to have read permission to the destination folder.The users have

write
> permissions enabled for the destination folder but it seems that it is not
> sufficient for the xcopy command
> and I get the"cannot create folder - file" from the xcopy...
>
>
> "Pegasus (MVP)" wrote:
>
> >
> > "Dimitris" <(E-Mail Removed)> wrote in message
> > news:291DCAB2-E3F9-4679-AE4E-(E-Mail Removed)...
> > > Hello I am using log on scripts for my users with xcopy batch files.
> > > The problem is that although I have gave the write permission to the
> > > directory wich the xcopy batch file is pointing the xcopy command

cannot
> > > create files or directories.
> > > I want to backup *.doc and *.xls files from user`s hard disks and the

> > xcopy
> > > logn script is the solution i have thought.Please advise me on the

subject
> > > because the batch file with only write permission is not working and I

> > dont
> > > want the users to be able to read each other files ...

> >
> > If you want a user's logon script to copy files to a folder that
> > us supposed to be inaccessible to users in general then you
> > must employ an agent to do it in a two-step process:
> >
> > Step 1: Get the logon script to copy the files to a holding area
> > to which the user has full access.
> >
> > Step 2: Use a scheduled task to move the files from the holding
> > area to the final restricted area. Make the task run under an
> > account that has sufficient access rights to both areas.
> >
> >
> >



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
xcopy Ted Gervais Windows XP Basics 14 24th Nov 2006 07:11 AM
SP2 -vs- XCOPY Bill Martin Windows XP Basics 3 12th Oct 2004 01:49 PM
xcopy in xp Dexter Southerland Windows XP Basics 4 20th Jun 2004 04:59 PM
XCOPY ECL Microsoft Windows 2000 CMD Promt 2 15th Oct 2003 09:45 AM
xcopy Rick Microsoft Windows 2000 CMD Promt 5 19th Sep 2003 08:29 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:59 PM.