Home - News - Products - Downloads - Manuals - Forum - (trial) License - PriceList - Disclaimer - About
Joomlaboard-Forum  


Javik
Visitor
 
Homes can't copy folder marked "System" - 2005/06/22 15:24 Okay, I suppose I'm doing something a little weird here, but I set up new users with a custom roaming profile that I normally manually copy into each account.

I don't want the users messing with their roaming profile, so I've set the folder to be marked with the System and Hidden attributes via the command prompt ATTRIB command:

Code:

attrib "Windows NT 5.0 Workstation Profile"    SH      Windows NT 5.0 Workstation Profile



By doing this it is treated as a Windows protected folder and only shows up if you tell Win 2000/XP to show protected files, which our users can't do.

I've normally been copying this and a few other items into each new account by hand, and I've been wiping the accounts each summer with batch scripts, so this method is working for me.

However, I've been testing out Home v3.04.02, and it is upset by my weird attributes on the folder. It fails to copy the files for some reason..


Student.2006.Students.schooldistrict
Repair/Update/Create Homedir
Set Homedirectory attribute
Create directory: SERVERVOL1UsersStudents2006Student success
Add trustee and Attributes success
set userspace success
copying default directory structure
Error: Cannot open file "I:UsersUser ProfilesStudent ProfileWindows NT 5.0 Workstation Profile". Access is denied


Meanwhile I am able to copy the files, logged into the same account as Home is running from.

Post edited by: Javik, at: 2005/06/22 15:27
  | | The administrator has disabled public write access.
admin
Visitor
 
Re:Homes can't copy folder marked "System" - 2005/06/22 21:30 Hello,

I can confirm your problem with the combination System and Hidden. (It is a BUG)

I have found the problem, as soon as there are attributes set on a directory, the program doesn't recognize the directory as a directory and tries to open (and copy) it as a file. -> ERROR.

(I have fixed this and I will release a new version tomorrow).

I see I have forgotton to include a special program (defstruct) and the documentation on this program.
If you want to set attributes on copied files and created sub-directories you have to define the attribute with this program. You can even define Netware attributes/Inherit file rights and trustee assignments. I will make some basic documentation tomorrow and release it together with the new version.

Hans





Hans

Post edited by: admin, at: 2005/06/22 22:05
  | | The administrator has disabled public write access.
Page created in: 0.21 seconds - © Copyright 2002-2009 HBware.com