U2000 Shortcuts Are Unavailable on SUSE 10 SP4

vvwin
vvwin  Silver  (1)
6 years 10 months ago  View: 1640  Reply: 0
1F

Keywords

SUSE 10 SP4, U2000 shortcuts, unavailable

Version Mapping

NMS

Platform

OS

Database

NE

All

 

SUSE 10

Sybase

Server

Symptom

U2000 shortcuts on the desktop are unavailable to the ossuser or nmsuser user after the user logs in to SUSE 10 SP4.

 

Problem Identification

The permission for shortcut-related files in /usr/share/mime/ is incorrect.

Cause Analysis

l   OS patch installations make the shortcuts unavailable.

l   File permission has been incorrectly modified.

Solution

Correct permission for files in /usr/share/mime/:

-rw-r--r-- 1 root root  2038 2014-12-17 19:20 aliases

drwxr-xr-x 2 root root  8192 2014-12-17 19:20 application

drwxr-xr-x 2 root root  4096 2014-12-17 19:20 audio

-rw-r--r-- 1 root root 14125 2014-12-17 19:20 globs

drwxr-xr-x 2 root root  4096 2014-12-17 19:20 image

drwxr-xr-x 2 root root  4096 2014-12-17 19:20 inode

-rw-r--r-- 1 root root 11242 2014-12-17 19:20 magic

drwxr-xr-x 2 root root  4096 2014-12-17 19:20 message

-rw-r--r-- 1 root root 47484 2014-12-17 19:20 mime.cache

drwxr-xr-x 2 root root  4096 2014-12-17 19:20 model

drwxr-xr-x 2 root root  4096 2014-12-17 19:20 multipart

drwxr-xr-x 2 root root  4096 2014-12-17 19:20 packages

-rw-r--r-- 1 root root  3267 2014-12-17 19:20 subclasses

drwxr-xr-x 2 root root  4096 2014-12-17 19:20 text

drwxr-xr-x 2 root root  4096 2014-12-17 19:20 video

-rw-r--r-- 1 root root    56 2014-12-17 19:20 XMLnamespaces

The permission for blue files tends to be modified incorrectly. To restore the read permission, do as follows:

1           Run the following commands to correct permission for files in /usr/share/mime:

#cd /usr/share/mime/

#chmod -R 644 aliases globs magic mime.cache subclasses XMLnamespaces

2           Run the following command to verify the correction:

# ll

total 132

-rw-r--r-- 1 root root  2038 2014-12-17 19:20 aliases

drwxr-xr-x 2 root root  8192 2014-12-17 19:20 application

drwxr-xr-x 2 root root  4096 2014-12-17 19:20 audio

-rw-r--r-- 1 root root 14095 2014-12-17 19:20 globs

drwxr-xr-x 2 root root  4096 2014-12-17 19:20 image

drwxr-xr-x 2 root root  4096 2014-12-17 19:20 inode

-rw-r--r-- 1 root root 11242 2014-12-17 19:20 magic

drwxr-xr-x 2 root root  4096 2014-12-17 19:20 message

-rw-r--r-- 1 root root 47444 2014-12-17 19:20 mime.cache

drwxr-xr-x 2 root root  4096 2014-12-17 19:20 model

drwxr-xr-x 2 root root  4096 2014-12-17 19:20 multipart

drwxr-xr-x 2 root root  4096 2014-12-17 19:20 packages

-rw-r--r-- 1 root root  3267 2014-12-17 19:20 subclasses

drwxr-xr-x 2 root root  4096 2014-12-17 19:20 text

drwxr-xr-x 2 root root  4096 2014-12-17 19:20 video

-rw-r--r-- 1 root root    56 2014-12-17 19:20 XMLnamespaces

本帖最后由 l00101878 于 2014-12-17 19:20 编辑