bug 222012. Better enforce persistent directory location
This commit is contained in:
parent
67e99fc3d9
commit
d0a9891cdf
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 4 13:37:03 MST 2007 - jnorman@novell.com
|
||||
|
||||
- Bug 221012. Based on code review, enhance persistent directory
|
||||
policy.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 3 08:12:10 MST 2007 - jnorman@novell.com
|
||||
|
||||
|
803
CASA/micasad/cache/SecretStore.cs
vendored
803
CASA/micasad/cache/SecretStore.cs
vendored
File diff suppressed because it is too large
Load Diff
@ -277,9 +277,12 @@ namespace sscs.verbs
|
||||
cpd.SetErrorMessage("Directory not allowed");
|
||||
return wo;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
if (!ssStore.IsDirectoryOwnedByUser(sNewDir))
|
||||
{
|
||||
cpd.SetErrorMessage("Directory not owned by user");
|
||||
return wo;
|
||||
}
|
||||
|
||||
// copy all .miCASA* files to new location
|
||||
string[] files = Directory.GetFiles(sOldDir, ".miCASA*");
|
||||
|
Loading…
x
Reference in New Issue
Block a user