symbolic links 
Author Message
 symbolic links

  I need to share this

   Finally I moved my{*filter*}ed files to another file system (IDS 7.31, Digital
Unix 4.0) and created symbolic links using root account.

   Checked owner and permissions (all OK) and started engine. Then informix
told me he could not open the chunks I had moved.

    Tried to create links as informix and unix told me I had not enough
permissions to do that (???)

    Changed informix user's id to 0 (root) and finally I could create links
and run informix

    Changed back informix user's id to the old value, and still I cannot
create a link, but engine works (!!!)

    I know this has not much to do with informix, but can any unix user
readin' here tell me WHY?

<sorry if this is a stupid post. 1 am here and been working for last 18
hours>



Wed, 08 Sep 2004 08:09:12 GMT
 symbolic links

Hey no fush pa

We've all done the "DBA gauntlet" and came out rather cranky the other
side...

 -. . ...- . .-. .--. .- -. .. -.-.

Quote:
-----Original Message-----

Sent: Saturday, March 23, 2002 2:09 AM

Subject: symbolic links

  I need to share this

   Finally I moved my{*filter*}ed files to another file system (IDS 7.31, Digital
Unix 4.0) and created symbolic links using root account.

   Checked owner and permissions (all OK) and started engine. Then informix
told me he could not open the chunks I had moved.

    Tried to create links as informix and unix told me I had not enough
permissions to do that (???)

    Changed informix user's id to 0 (root) and finally I could create links
and run informix

    Changed back informix user's id to the old value, and still I cannot
create a link, but engine works (!!!)

    I know this has not much to do with informix, but can any unix user
readin' here tell me WHY?

<sorry if this is a stupid post. 1 am here and been working for last 18
hours>



Wed, 08 Sep 2004 18:45:55 GMT
 symbolic links
Hi Nicolas,

First create the links as user root, and then, as user root, use chmod and chown
commands with -R and -h (atleast these options are present on Solaris, see the
man pages on your OS) options to change the permissions and ownership of the
files and devices. For example, say /informix/chunk1 is a link to a cooked file
/dev/file1, then I use the following commands on Solaris as user root:

chown -h informix:informix /informix/chunk1
chown -R informix:informix /informix/chunk1
chmod -R 660 /informix/chunk1

( -h is to change the ownership of a symbolic link and -R is to recursively
change the ownership by following that link)

Regards,
Praveen.

Quote:

>   I need to share this

>    Finally I moved my{*filter*}ed files to another file system (IDS 7.31, Digital
> Unix 4.0) and created symbolic links using root account.

>    Checked owner and permissions (all OK) and started engine. Then informix
> told me he could not open the chunks I had moved.

>     Tried to create links as informix and unix told me I had not enough
> permissions to do that (???)

>     Changed informix user's id to 0 (root) and finally I could create links
> and run informix

>     Changed back informix user's id to the old value, and still I cannot
> create a link, but engine works (!!!)

>     I know this has not much to do with informix, but can any unix user
> readin' here tell me WHY?

> <sorry if this is a stupid post. 1 am here and been working for last 18
> hours>



Wed, 08 Sep 2004 21:20:30 GMT
 symbolic links

        Some OS do not support symbolic links across file system's.

Wayne E Martin
Informix Database Administrator

Quote:
-----Original Message-----

Sent: Friday, March 22, 2002 7:09 PM

Subject: symbolic links

  I need to share this

   Finally I moved my{*filter*}ed files to another file system (IDS 7.31, Digital
Unix 4.0) and created symbolic links using root account.

   Checked owner and permissions (all OK) and started engine. Then informix
told me he could not open the chunks I had moved.

    Tried to create links as informix and unix told me I had not enough
permissions to do that (???)

    Changed informix user's id to 0 (root) and finally I could create links
and run informix

    Changed back informix user's id to the old value, and still I cannot
create a link, but engine works (!!!)

    I know this has not much to do with informix, but can any unix user
readin' here tell me WHY?

<sorry if this is a stupid post. 1 am here and been working for last 18
hours>



Fri, 10 Sep 2004 20:22:38 GMT
 symbolic links

Quote:

>         Some OS do not support symbolic links across file system's.

As a matter of interest, which ones??  I've never had a problem on
any Unix I've used.

Quote:

> Wayne E Martin
> Informix Database Administrator

[cutting]

--
Paul Watson             #          
Oninit Ltd              # Growing old is mandatory
Tel: +44 1436 672201    # Growing up is optional
Fax: +44 1436 678693    #
www.oninit.com          #



Sat, 11 Sep 2004 07:21:35 GMT
 
 [ 5 post ] 

 Relevant Pages 

1. symbolic link / virtual database

2. Avoiding Symbolic Links in setting ORACLE_HOME variable on UNIX

3. Symbolic Links During Oracle Server Upgrade

4. Install Oracle on symbolic link directory

5. Symbolic Link Oracle8i Linux

6. Symbolic Link Oracle8i Linux

7. using symbolic links with ORACLE_HOME variable in unix - WARNING

8. Symbolic link pointing to Oracle Home

9. Changing to symbolic links

10. symbolic links

11. HP symbolic links to raw devices

12. Tiny shell script to chase symbolic links to true file name


 
Powered by phpBB® Forum Software