Tru64 Unix
1751691 會員
4691 線上
108781 解決方案
發表新文章

How to make symbolic link with this privilege?

 
watermelonyu
教授

How to make symbolic link with this privilege?

lrwxr-xr-x 1 root adm 43 May 26 2003 collect.dated -> ../cluster/members/{memb}/adm/collect.dated
1則回覆 1
watermelonyu
教授

How to make symbolic link with this privilege?

Hi David,



Please using the online "man mkcdsl" for the detailed description.



For example:

# touch /var/adm/my_file

# mkcdsl -a /var/adm/my_file

# ls -l /var/adm/my_file

lrwxrwxrwx 1 root system 37 Jun 20 22:07 /var/adm/my_file -> ../clu

ster/members/{memb}/adm/my_file

# # cdslinvchk

Successful CDSL inventory check

# rm /var/adm/my_file

# rm /var/cluster/members/{memb}/adm/my_file

# cdslinvchk

Failed CDSL inventory check. See details in /var/adm/cdsl_check_list

# cat /var/adm/cdsl_check_list

Expected CDSL: ./var/adm/my_file -> ../cluster/members/{memb}/adm/my_file

An administrator or application has removed this CDSL.





# mkcdsl -i /var/adm/my_file

# cdslinvchk

Successful CDSL inventory check

#



PS: We care the physical file privilege not the symbolic link file.



Best regards,

Richard.