SAP Script and 'Find' Miss Text File in Link

  • Follow


Hi,

We are running an SAP Portal on v5.9. Our filesystem is setup as
follows:

There is a directory name /usr/sap/SID/JC00 which has a few
subdirectories.
One of them, named SDM, is a link to another directory (Say /dir2).
I suspect this was done due to disk space limitations in the logical
volume
mapped to /usr/sap.

In any case, in /usr/sap/SID/JC00/SDM/program, there is a small text
file named version.txt. An SAP script indicated that it was unable to
find that file.

I checked permissions, etc.. and they are fine for version.txt and the
directory tree.

From /usr/sap, I can issue the command 'cat <directory>/version.txt',
and the
contents of the text file are listed.

However, in /usr/sap, when I issue the command 'find . -name
version.txt', the
file is not listed (Other such version.txt files under /usr/sap are
found).

Thus, it seems like the find command and the SAP script cannot find
the
version.txt file due to the link to the 'SDM' directory.

Is there a way that I can solve this without redoing the link
structure
(i.e perhaps leaving  /usr/sap/SID/JC00/SDM/program/version.txt as
a non-linked file, and creating other links to subdirectories of SDM,
etc..)

The permissions seem fine. (Like I said, I can 'cat' the text file).



Thanks,
DF


0
Reply basis_consultant (53) 6/25/2008 5:47:50 PM

Hi,

I would suggest you post this kind of questions to the SAP developer
network, which is available under: www.sdn.sap.com. Registration is
for free.

Make sure all files and directories under /usr/sap/ belong to <sid>adm
and group sapsys. If you switch user to <sid>adm and try to access the
file - what happens? What is the content of the called script?

Regards
Andr=E9
0
Reply andre 6/26/2008 2:25:07 PM


1 Replies
112 Views

(page loaded in 0.029 seconds)


Reply: