Access true path of KM directory
Hello everyone,
I'm using a file system repository in KM to access a remote shared folder in a windows system. everythings works fine, but i still have a doubt: is it possible in a web dynpro application, using the KM API, to access the true path of that folder?
For example, imagine that the real folder exists in "
server\share" on the windows system, but in the KM content management it is represented in the root by the folder "/content". What i want is to be able to print on screen the path "
server\share" without having to hard coded this info on my code.
Thanks in advance to all,
Nuno Santos
Hi,
I take back what I had said earlier.
KM Content is loaded into the content repository, database or file system. The way the content is stored is sometimes proprietary to the individual content tool, although a general theme is that metadata is often stored in a database--usually a standard database like Microsoft SQL Server, Oracle or Sybaseand the content itself is stored in the file system. Sometimes when the content is relatively small it is also stored in the database.
Open your portal and navigate to "system administration -> system configuration -> content management -> repository managers". Check the different repository topics present there. Check for the folder you want. If the persistence mode is "db" you don't have a windows path.
Regards,
Satyajit.
Message was edited by: Satyajit Chakraborty
Similar Messages
-
V15 XML Loader Access To Path Not Allowed
We are just starting to test our V15 sandbox system that has just been upgraded. We have a transaction that works fine in our older environment (V12.2) but the same transaction fails in V15. The first sequence in the transaction is an XML Loader that tries to load and XML configuration file from the local MII server where the transaction is running. The action fails with a Access to path /directoryNameHere/fileNameHere.xml is not allowed error.
As far as we can tell, all of the filesystem/OS level permissions (Linux in our case) are the same as they are in our old environment.
Other than file/directory permissions, any ideas why this might fail? Has anything changed in V15 that would potentially impact this?
We are not specifying a Credential Store alias (listed as optional).
Thank you,
MikeAt some point a 'Default File Path' parameter was added as a system property and it's value may be causing your issue.
System Properties - SAP Manufacturing Integration and Intelligence - SAP Library
Default File Path
DefaultFilePath
The path on the file system (along with the subfolders) used to store files that need to be accessed by the following workbench actions for read/write operations:
File I/O
CreateDirectory
CreateZipArchive
DeleteFile
GetFileList
WriteFile
FTPInput
FTPOutput
ADS Printing
E-Mail
Send Mail
Read Mail
LoggingXML Tracer
Web
HTMLSaver
XMLSaver
TextSaver
ImageSaver
HTMLLoader
XMLLoader
TextLoader
ImageLoader
Note
Access to the files under the previous path (and the subfolders) will be lost if the path is changed.
If the path is empty, you can access the file system, provided the file system provides read/write permissions. The same holds good for prior releases. -
Locate true path name of virtual drive?
Anybody got an idea to locate the true path of a virtual drive?
i.e. I substituted a particular folder in winnt with q:\
Can i determine which directory q:\ is pointing at? or do I have to run a shell command "subst" and parse the output and determine it?I wrote the following code quickly.. so please comment on the efficiency matters...
also... what do you think happens if this is running on win9x?
import java.io.File;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.lang.Runtime;
import java.lang.Process;
import java.io.IOException;
import java.util.Vector;
import java.util.StringTokenizer;
class Test
public static void main(String[] args) throws Exception
runProcess();
private static void runProcess(){
try{
Runtime r = Runtime.getRuntime ();
Process p = r.exec ("subst");
BufferedReader br = new BufferedReader (new InputStreamReader(p.getInputStream()));
Vector out = new Vector();
String s;
while ((s = br.readLine ())!= null)
out.add(s);
String[] output = new String[out.size()];
for (int i = 0; i < output.length; i++)
output[i] = (String)out.elementAt(i);
processSubstOutput(output);
printDrives();
p.destroy ();
br.close ();
} catch (IOException e){
System.out.println (e.getMessage());
public static void processSubstOutput(String[] a){
vds = new VirtualDrive[a.length];
for (int i = 0; i < vds.length; i++)
StringTokenizer strtok = new StringTokenizer(a, "=>");
if (strtok.countTokens() == 2)
String s1 = strtok.nextToken().trim();
String s2 = strtok.nextToken().trim();
vds[i] = new VirtualDrive(s1.substring(0, s1.length()-1), s2);
public static void printDrives(){
if (vds != null)
for (int i = 0; i < vds.length; i++)
System.err.println(vds[i]);
private static VirtualDrive[] vds;
class VirtualDrive
public VirtualDrive(String s1, String s2){
virtualDrive = s1;
mappedDirectory = s2;
public String toString(){
return virtualDrive + " maps " + mappedDirectory;
public String virtualDrive;
public String mappedDirectory; -
Unable to access UNC path on 2012 R2 file server with ABE enabled
Brief Description:
We have granted access to people via a domain local group on a folder on a file server that is three levels deep from the share, i.e. \\servercluster\share\folder1\folder2\folder3, where folder3 is where the group is granted Read & Execute
access. The share has Access-Based Enumeration (ABE) enabled and the Everyone group has Full Control share permissions. We also use DFS, so the path for that is \\domain\dfsrootname\folderfororganization\share\folder1\folder2\folder3. People
in the aforementioned group only have access to folder3, its subfolders, and files. They do not have any access to folder2 or any of the other folders higher in the tree at all. Also, consider that folder3 contains a subfolder folder4, which is
simply inheriting permissions.
What we have found is that clients running Windows 7 SP1 have strange access issues when attempting to access the folder via either the DFS or cluster name UNC paths.
Detailed Testing Results Accessing Folder3 Directly:
NOTE: "UNC path" in the following test results means either the DFS or the cluster name share path. The results are the same regardless which path is used.
1 - Enter UNC path without trailing backslash in Windows Explorer's address bar:
Windows Explorer seems to do nothing for about 30 seconds and then displays the following error:
"Windows cannot access <UNC path>
Check the spelling of the name. Otherwise, there might be a problem with your network. To try to identify and resolve network problems, click Diagnose."
2 - Enter UNC path with trailing backslash in Windows Explorer's address bar:
The same error encountered in #1 is displayed immediately.
3 - Enter UNC path with or without trailing backslash but contained in double quotes in Windows Explorer's address bar:
Internet Explorer opens and displays the error:
"Internet Explorer cannot display the webpage"
4 - Enter UNC path without trailing backslash in Run dialog box:
An error message immediately appears:
"<UNC path>
The specified path does not exist.
Check the path and then try again."
5 - Enter UNC path with trailing backslash in Run dialog box:
Same as #4.
6 - Enter UNC path without trailing backslash but contained in double quotes in Run dialog box:
Same as #4.
7 - Enter UNC path with trailing backslash and contained in double quotes in Run dialog box:
Windows Explorer opens the correct UNC path location and displays the folder contents. This is the expected behavior for all of these attempts.
8 - Create Shortcut to UNC path by performing #7 and then dragging the folder icon in Windows Explorer's address bar to either to the desktop or the Favorites section, and then attempt to access the folder via
the shortcut.
Same as #7.
9 - Attempt to create a shortcut to the UNC path using the New Shortcut wizard:
Unable to successfully create the shortcut, regardless if you add a backslash at the end or enclose the path in double qutoes. When you press Next after entering the UNC path, you receive the following error:
"The file <UNC path> cannot be found."
10 - Disable ABE on the share and repeat all tests:
All tests with ABE disabled on the share have the same result as #7. There is no issue whatsoever accessing the desired folder when ABE is disabled.
Other Notable Behaviors:
If the aforementioned folder (folder3) contains one or more subfolders (e.g. folder4), you are able to access those subfolders via UNC path directly and then go up one level to folder3 without issue, even when ABE is enabled. You just cannot access
folder3 directly via UNC path unless you attempt to access it via the method used in #7 above or a successfully created shortcut.
Adding a user account directly to the folder3 ACL rather than using group membership makes no difference.
If access is granted to folder4 instead of folder3 (the fourth folder deep rather than the third), accessing folder4 directly via UNC path is not an issue regardless of ABE status or attempted access method.
Windows 8 and 8.1 clients have no trouble directly accessing the folder's UNC path via any method. The unusual, undesirable behavior seen in Windows 7 is non-existent on Windows 8.x clients.
Systems Involved:
Client: Windows 7 Enterprise SP1 x86
Server: Windows Server 2012 R2 Standard in cluster
Other Details About the Systems:
Both the client and the file server cluster are in the domain AD DS domain.
The client and the file server cluster are in different subnets.
There is no firewall or other packet inspection or compression service/device in between the client and server (not even Windows Firewall).
Question:
Is there a way to fix this behavior with Windows 7 clients and ABE enabled on the share so that it works correctly without forcing the clients or server to use SMBv1 or disabling ABE on the shares?7-Zip 9.20
Adobe Flash Player 13 ActiveX
Cisco WebEx Meetings
Java 7 Update 51
It should be noted that I can't repeat the behavior on my test machine again today after some changes were made in our environment.
Today, I found that someone had modified permissions on the folder to give the group my test account was a member of rights to traverse the folder hierarchy from the root of the share. Additionally, in testing something with FIPS mode, I ended up reverting
my virtual machine to an older snapshot.
After removing the extra permissions that weren't present when I was doing my testing and reverting to the older snapshot, I am not having issues accessing the real equivalent of folder3 directly in Windows Explorer via DFS UNC path or creating a shortcut
with the New Shortcut wizard.
Things have been fundamentally changed and I cannot repeat the behavior on this particular folder. I will see if I can recreate the same situation on another folder. -
File path from specific directory
hi all ,
How to get full file path from specific directory having many folder inside that directory.
I have file name and main directory name,please help me if you know about itI recognize that this post is half a year old at this writing, and the OP has probably long since either solved or abandoned the problem in question. That being stipulated: if I understand the question properly, the OP is stating that there is a directory named A, and contained somewhere within that directory or one (or more) of its subdirectories is one (or more) file(s) named abc.txt, and OP would like to be able to locate and obtain the canonical path to said file(s). While I am in no way a java maven, I've written a brief program which appears to do exactly that:
import java.io.*;
public class Main {
public Main() {
String whatImLookingFor = "abc.txt";
String startingDirectory = "A";
File path = new File("A");
recursivelySearch(path, whatImLookingFor);
private void recursivelySearch(File path, String whatImLookingFor) {
try {
if (path.isFile()) {
if (path.getName().equals(whatImLookingFor))
System.out.println(path.getCanonicalPath());
else
if (path.isDirectory()) {
File[] currentFiles = path.listFiles();
for (int i=0; i<currentFiles.length; i++)
recursivelySearch(currentFiles, whatImLookingFor);
catch(IOException ioe) {
System.out.println("During search got error "+ioe.getMessage());
public static void main(String[] args) {
new Main(); -
How to get absolute path of current directory?
Hi, everyone!
I want to get the absolute path of current directory.
Are there some APIs that I can use?
Thanks in advance,
GeorgeHi, dheeraj_tak buddie!
What do you mean in your reply?
"in File class u have all this methods for getting absolute path "regards,
George -
Uploading iweb site to path within a directory
I need to upload my website to a certain path within a larger directory. My iweb site is not the main site. The main site though uses php and well iweb doesn't. Is it still possible to upload my iweb site to a path in this directory and it function correctly? If so, how would I go about doing this?
Okay, so firstly, you CAN't have an iWeb account - iWeb is an application that is on your Mac and you can use it whatever if it is there - there is no account that is needed.
You will not now be able to get a MobileMe account if you don't already have one, as they are not taking any more subscriptions as it will not be here from June next year, iCloud having replaced it.
You say that you have a "url" or do you mean domain name from GoDaddy? If you do, then to be able to upload a website you also need to purchase a hosting account from them.
Not having a hosting account would be one very good reason why you would be getting the error messages' cannot connect to server' - this is because you have no server/host to connect to because you don't have a hosting account.
Go to GoDaddy and purcahse a hosting account from them and you will then be able to upload your site. -
Finding path for transport directory
I need to find the path to the directory where the transport info is saved. In our setup, it is there at /usr/sap/trans.
My first question is that, is the transport info always at this path or can this path be changed?
If it can be changed, how can i find what is the path from a c/c++ program? Is there a config file which has all this information or are there any APIs that we can use?Hello,
the root directory for transports is defined by the SAP profile parameter DIR_TRANS which is normally set in the instance profile under /sapmnt/<SID>/profile/<instance profile file>, it can be changed and you just could read the profile file with an external program and get the value of this parameter.
regards
Christian -
Absolute path of current directory?
Hi,
I finished up an assignment the other day. But I've been playing around with it to see how much
extra junk, in addition to the requirements, I can add, all in one method(we haven't covered
user defined methods yet). I added a cheezy console splash screen. A really cheezy help file
system. Figured out how to add time and date stamps. And some code to allow the user to
continue the program and generate multiple reports with unique filenames. I added some
input validation, user has to enter the name of a database to sample. All the files are plain text.
What I'm trying to do is, add a better validation system so the program doesn't terminate if the
user enters a database name that isn't in the directory. All the files will be in the directory where
the program resides, so that eliminates some headaches.
I was thinking of doing it like this: when a user enters a name check to see if the name is on the list
(I guess java is already doing this that why the error is generated)
if not, output error message and print the valid list to standard out. Prompt user to re enter a
valid name.
I'm sure there are more sophistcated ways to do this but I'm trying to work with what I kinda know.
So far I've managed to figure out how to list the files in the program's home directory. By
using the dir's absolute path on my machine. But this wont work on another computer. I'm
pretty sure I can figure out how to add a filter so only certain file types will be listed.
Is there a way to have the program get the absolute path of the program's directory no
matter what computer it is on??
I could go from there pretty easily, I'm hoping.
Thanks for any direction,
billooops... That is not working quite right.What is not working and how?Actually I did get some good results.
Here is the code I came up with over the last hour or so.
String curDir = System.getProperty("user.dir");
System.out.println(curDir);
File dir = new File(curDir);
String[] children = dir.list();
if (children == null) {
} else {
for (int i=0; i<children.length; i++) {
String filename = children;
if(filename.length()<20&&filename.charAt(0)!='.')
System.out.println(filename);
This seems to work OK. It identifies and stores the path
of the directory where java was invoked. And prints to the console
a listing of available files to choose from. I trying to figure out
how to better filter the in/output to hide the .java and .class files.
Tonight I'm really just having fun
googling, cutting, pasting, modifing snippetts to see if I can make my
computer do what I want it to. I'm very new at this, just my way of
learning stuff out of the class room.
Thanks again,
if you have any tips, I sure would appreciate it.
Bill -
Accessing sap application of virtual directory
hi ,
i want to know how to access SAP Application of Virtual Directory through internet.
Cheers.
RaiWhy did you modify analytics.ear ?
Should'nt you make changes here : Middleware_Home>\instances\instance1\bifoundation\OracleBIPresentationServicesComponent\coreapplication_obips1
\analyticsRes\WEB_INF\web.xml
Follow this note : OBIEE 11g: How To Access Custom Files Through URL By Creating Virtual Directory In Weblogic Server? [ID 1408240.1]
And you should be able to deploy that virtual directory and access it after authentication.
HTH,
SVS -
Accessing email in a local directory !!
I've been using the Mail app since i have my mac, but a few days ago it stopped working. When I start it, it automatically quits. I've checked that my permissions are correct and I've tried removing and creating a new prefrences file, and neither has gotten the app to start working again. While I figure out how to fix this, I need to be able to access my mail from the past 2 years, which I download to a directory in the computer. I can check new mail fine over the web, but I don't know how to access email already in the computer with another application. What application should I use (Entourage?) ?? How do I do it??
Thank you.Hi, here it is. Thread 3 is the one that crashes... I pasted from from
the beginning up to the end of thread 3. Thanks again
Date/Time: 2007-11-07 14:23:52 -0500
OS Version: 10.3.9 (Build 7W98)
Report Version: 2
Command: Mail
Path: /Applications/Mail.app/Contents/MacOS/Mail
Version: 1.3.11 (622)
PID: 342
Thread: 3
Exception: EXCBADACCESS (0x0001)
Codes: KERNPROTECTIONFAILURE (0x0002) at 0x00000000
Thread 0:
0 libSystem.B.dylib 0x90007878 machmsgtrap + 0x8
1 libSystem.B.dylib 0x900073f8 mach_msg + 0x38
2 com.apple.CoreFoundation 0x901c2258 __CFRunLoopRun + 0x350
3 com.apple.CoreFoundation 0x901c69e4 CFRunLoopRunSpecific + 0x148
4 com.apple.HIToolbox 0x92886e10 RunCurrentEventLoopInMode + 0xac
5 com.apple.HIToolbox 0x9288d53c ReceiveNextEventCommon + 0x17c
6 com.apple.HIToolbox 0x928af638 BlockUntilNextEventMatchingListInMode + 0x60
7 com.apple.AppKit 0x92e82248 _DPSNextEvent + 0x180
8 com.apple.AppKit 0x92e98cc8 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 0x74
9 com.apple.AppKit 0x92f60454 -[NSApplication _realDoModalLoop:peek:] + 0x114
10 com.apple.AppKit 0x9300b484 -[NSApplication runModalForWindow:] + 0xb0
11 com.apple.mail 0x0009ac24 0x1000 + 0x99c24
12 com.apple.mail 0x0003df50 0x1000 + 0x3cf50
13 libobjc.A.dylib 0x9607a734 objc_msgSendv + 0xb4
14 com.apple.Foundation 0x90a2b408 -[NSInvocation invoke] + 0x374
15 com.apple.MessageFramework 0x868d48b0 _invokeInvocationRequest + 0x64
16 com.apple.MessageFramework 0x868c7334 -[MainThread performOneway:result:withTarget:selector:] + 0x15c
17 com.apple.mail 0x0003e010 0x1000 + 0x3d010
18 com.apple.MessageFramework 0x86950344 _promptUserForPassword + 0x154
19 com.apple.MessageFramework 0x868ebe9c -[Account promptUserIfNeededForPasswordWithMessage:] + 0x58
20 com.apple.MessageFramework 0x868ec544 -[IMAPAccount setIsOffline:] + 0x68
21 com.apple.mail 0x0001d8fc 0x1000 + 0x1c8fc
22 com.apple.Foundation 0x90a31e8c __NSFireDelayedPerform + 0x104
23 com.apple.CoreFoundation 0x901c5170 __CFRunLoopDoTimer + 0xf4
24 com.apple.CoreFoundation 0x901c24d0 __CFRunLoopRun + 0x5c8
25 com.apple.CoreFoundation 0x901c69e4 CFRunLoopRunSpecific + 0x148
26 com.apple.HIToolbox 0x92886e10 RunCurrentEventLoopInMode + 0xac
27 com.apple.HIToolbox 0x9288d53c ReceiveNextEventCommon + 0x17c
28 com.apple.HIToolbox 0x928af638 BlockUntilNextEventMatchingListInMode + 0x60
29 com.apple.AppKit 0x92e82248 _DPSNextEvent + 0x180
30 com.apple.AppKit 0x92e98cc8 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 0x74
31 com.apple.AppKit 0x92ead048 -[NSApplication run] + 0x21c
32 com.apple.AppKit 0x92f69764 NSApplicationMain + 0x1d0
33 com.apple.mail 0x0000ed3c 0x1000 + 0xdd3c
34 com.apple.mail 0x0003dc34 0x1000 + 0x3cc34
Thread 1:
0 libSystem.B.dylib 0x90018e38 semaphoretimedwait_signaltrap + 0x8
1 libSystem.B.dylib 0x9000e9d4 pthread_condwait + 0x268
2 com.apple.Foundation 0x90a7bbf4 FCONDITION_WAITTIMEOUT + 0x90
3 com.apple.Foundation 0x90a902bc -[NSConditionLock lockWhenCondition:beforeDate:] + 0x80
4 com.apple.MessageFramework 0x868c7048 -[InvocationQueue _drainQueue] + 0xb0
5 com.apple.Foundation 0x90a6a3c8 forkThreadForFunction + 0x6c
6 libSystem.B.dylib 0x90024930 pthreadbody + 0x28
Thread 2:
0 libSystem.B.dylib 0x900127b8 syscallthreadswitch + 0x8
1 com.apple.Foundation 0x90a331e8 +[NSThread sleepUntilDate:] + 0x98
2 com.apple.AppKit 0x92e7a3ec -[NSUIHeartBeat _heartBeatThread:] + 0x494
3 com.apple.Foundation 0x90a6a3c8 forkThreadForFunction + 0x6c
4 libSystem.B.dylib 0x90024930 pthreadbody + 0x28
Thread 3 Crashed:
0 ...entSemanticMappingFramework 0x96041398 LSMCommonWordTable::ValidTuples(LSMVector<unsigned> const&) + 0x20
1 ...entSemanticMappingFramework 0x960454dc LSMImmutableMapCounter::LSMImmutableMapCounter[unified](LSMReadFileDesc*, LSMWordTable*&, long) + 0x598
2 ...entSemanticMappingFramework 0x96048bb4 LSMCompiledMap::LSMCompiledMap[unified](__LSMMap*, __CFURL const*, long) + 0xe0
3 ...entSemanticMappingFramework 0x96047954 LSMMapLoadWithOptions + 0x74
4 com.apple.MessageFramework 0x8696b25c JunkMailGlobalMap + 0x100
5 com.apple.MessageFramework 0x8696b328 MFJunkMailLevelForString + 0x24
6 com.apple.MessageFramework 0x869261f0 -[MessageRuleCriterion _evaluateJunkMailCriterion:] + 0x2ac
7 com.apple.MessageFramework 0x868e1210 -[MessageRuleCriterion doesMessageSatisfyCriterion:] + 0x110
8 com.apple.MessageFramework 0x86907194 -[MessageRule doesMessageSatisfyCriteria:] + 0x78
9 com.apple.MessageFramework 0x86906ecc +[MessageRouter putRulesThatWantsToHandleMessage:intoArray:colorRulesOnly:] + 0x164
10 com.apple.MessageFramework 0x86906ce0 +[MessageRouter colorForMessage:highlightTextUsingColor:] + 0x60
11 com.apple.MessageFramework 0x86906bfc -[MessageStore colorForMessage:] + 0x84
12 com.apple.MessageFramework 0x868cafb8 -[MessageStore(MessageFrameworkOnly) updateMessageColorsSynchronouslyForMessages:postingNotification:] + 0x200
13 com.apple.MessageFramework 0x868d2014 -[NeXTMbox openSynchronouslyUpdatingIndex:andOtherMetadata:] + 0x3bc
14 libobjc.A.dylib 0x9607a734 objc_msgSendv + 0xb4
15 com.apple.Foundation 0x90a2b408 -[NSInvocation invoke] + 0x374
16 com.apple.MessageFramework 0x868ca9d4 -[MonitoredInvocation invoke] + 0x90
17 com.apple.MessageFramework 0x868c7130 -[InvocationQueue _drainQueue] + 0x198
18 com.apple.Foundation 0x90a6a3c8 forkThreadForFunction + 0x6c
19 libSystem.B.dylib 0x90024930 pthreadbody + 0x28 -
Access denied. Please check directory setting for files you can access.
Hi ,
I am trying to run this code but i am faceing strange issue with this code that the path is access denied
can you please advice ?
RegistryKey key = Registry.LocalMachine.OpenSubKey(@"SOFTWARE\Wow6432Node\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Report Application Server\Server\LocalConnectionMgr");
if (key != null)
tempFilePath = key.GetValue("ReportDirectoryPath").ToString();
if (tempFilePath == "") //set the default
tempFilePath = @"C:\Program Files\Business Objects\Crystal Reports 12.0\Samples\EN\Reports\";
tempFilePath += @"NiceReporter\";
if (!Directory.Exists(TempFilePath))
Directory.CreateDirectory(TempFilePath);
tempFilePath += "Evaluators Trend.rpt";
CrystalDecisions.CrystalReports.Engine.ReportDocument rd = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
CrystalDecisions.ReportAppServer.ClientDoc.ISCDReportClientDocument boReportClientDocument;
boReportClientDocument = new CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocument();
boReportClientDocument.ReportAppServer = System.Environment.MachineName;
object path = (object)tempFilePath;
boReportClientDocument.Open(ref path, 0);
thanks
FadeHI TTT,
Please STOP posting the same question, second time you've done this. 3rd time and you are gone...
See this thread: failed to load report application server settings from the system registry
Don -
I want to be able to create directory user ID for the iPlanet administrators. They should be able to access the admin console and all the instances created. They should be able to configure each instance and directory. I was able tocreate Admin Server Administrators but they were only able to modify the directory(tab) and not the configurations(tab). Any help would be greatly appreciated!
Thanks.
KeithHi Keith,
In o=netscaperoot, edit the static group called cn=Configuration Administrators, ou=Groups, ou=TopologyManagement, o=NetscapeRoot - this group contains the admins peer to your config admin. Since the console is quirky and doesn't let you add in users not in netscaperoot, just click advanced and put in the full dn of whoever you want in by hand, e.g., uid=scarter, ou=people, dc=mydomain,dc=com as a static member. then rebind to the console with the full dn and passwd, and away you go :)
james -
I have a use case where I need to use different download directories with different firefox profiles.I need to use this profiles in multiple linux machines.
I need to have a relative path to my download directory with respect to the profile folder.
Ex: I have a selenium test which opens a website and downloads it to my machine.I want this downloaded file to go into some specific folder relative to this profile folder.How do I do this??That is not a practically empty xinitrc - that file only needs one line: exec WM. Other things are entirely optional, and some of them very useful, but I'd encourage you to stick with the simplest xinitrc that will do what you require.
Is slim involved? Probably. That is the source of many problems. But to start narrowing this down, I have 3 suggestions:
1) temporarily (at least) change your inittab to default to runlevel 3 ... actually, is it currently set to 5 or 3? if it is currently 3 that would explain why slim doesn't start.
2) at a tty in runlevel 3 use "xinit" instead of "startx". Startx is fine most of the time, but it is essentially just a complex wrapper for xinit. That complexity can often iadd useful functionality, but it *always* makes troubleshooting more difficult. So for now just use a vanilla 'xinit'.
3) remove dbus-launch from your exec line in xinitrc. This is done by console-kit so it is redundant and potentially problematic. Further BOTH of these are taken care of by slim, so I'd even suggest getting both a jump start on being ready for slim and simplifying troubleshooting by removing both of them. Just make that line "exec openbox-session"
Edit: adding one more:
4) temporarily switch out openbox-session for openbox. I suspect the reason feh's setting of the background is getting overridden is due to a script or setting in openbox's autostart settings - many of these are only invoked when "openbox-session" is called, while "openbox" starts *just* the window manager itself.
Last edited by Trilby (2012-10-03 17:30:36) -
Test-path where a directory in the path is variable
My company has a series of fax lines and associated file shares. Faxes are processed & then dropped off into these file shares. From that point a service runs about every 60 seconds to look for files in these directories to import into a database.
If there is a problem with the import then the service moves the file to a "HOLD" folder & files remain there until human intervention.
I am trying to create a script that will find the HOLD directory in each of these folders and look for the existence of files, then email a group of users alerting them if there are.
So there are several things I'm trying to accomplish.
1. Look for files in a path where a folder in the middle of the path is variable.
2. Send and email that will inform the recipient that there are files in the HOLD folder(s) and tell them WHICH ones
Here's what I am starting with but it isn't working as expected. There are files in at least one of these. I also thought to try using some kind of foreach loop but it's eluding me. Probably because it's late in the day for me.
$folder = get-content -Path "\\child.domain.com\netlogon\scripts\ps\numbers.txt"
if(Test-Path -Path "\\Server\scan import\fax\$folder\Hold" -include *.pdf, *.tif, *.jpg) {write-host "Files exist at $folder"} Else {write-host "No files in the hold folders"}
# When I wrote this script only God and I knew what I was doing. # Now, only God Knows!The numbers.txt includes a list of folder names, one per line. I did come up with the following and it's working, for my purposes, so I now need to figure out how to get the results into the body of a single email.
$parent = "\\server\scan import\fax\"
$folders = get-content -Path "\\child.domain.com\netlogon\scripts\ps\numbers.txt"
Foreach ($folder in $folders)
if(Test-Path -Path "$parent$folder\HOLD\*" -PathType leaf)
write-host "Files exist at $parent$folder\Hold"
Else
write-host "$folder Clear"
I'm really only using the Write-Host actions in place of the Send-MailMessage Cmdlet, at least I think that is the command I need.
# When I wrote this script only God and I knew what I was doing. # Now, only God Knows!
Maybe you are looking for
-
Why is my iPhone no longer able to communicate with adobe bridge cs3?
We have 2 iphone 4's that I have been able to download photos from and into my imac for the last year while using the adobe bridge cs3. Recently, it began giving me an error meassage: " Adobe bridge cs3 cannot obtain files from this device. Please e
-
Need help to Configure Cisco ACE 4710 Cluster Deployment
Dear Experts, I'm newbie for Cisco ACE 4710, and still I'm in learning stage. Meanwhile I got chance at my work place to deploy a Cisco ACE 4710 cluster which should load balance the traffic between two Application Servers based on HTTP and HTTPS tr
-
The CrystalDecisions.Enterprise.Viewing namespace and PSReportFactoryClass was available in BusinessObjects Enterprise XI 3.1 and as far back as Crystal Enterprise 10 .NET according to the BOE XI 3.1 .NET API guide. But it is no where to be found in
-
About a report's performance.
Hi , i use Report Builder 9.0.4.0.33 , i have here a sample query that i put in about 6 or 7 Formulas to return different values based on different parameters , when the client runs this reports through the browser it takes forever to show .... is th
-
OK i have read countless forum posts about this. And how it does not work. I purchased mine about 25 days ago. and randomly its has shut down. About probably 6 times total. But when i run memtest and AHT memory seems fine. should I still return it. I