Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Su-weblogic switching system user reported an error Permission denied what to do

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article will explain in detail how to report errors in Permission denied for users of su-weblogic switching system. The content of the article is of high quality, so the editor shares it for you as a reference. I hope you will have a certain understanding of the relevant knowledge after reading this article.

Su-weblogic error: Permission denied

Click (here) to collapse or open

[root@localhost] su-weblogic

Su: warning: cannot change directory to / home/weblogic: Permission denied

Su: / bin/bash: Permission denied

1. According to the error report, check the permissions of the corresponding / home and / home/weblogic directories. Root users belong to the group, with a minimum of 755 permissions, no problem.

2. View / bin/bash program with group root and permission of 755, and there is no problem.

Usually there is no problem with the above two steps.

3. View / directory permissions:

Click (here) to collapse or open

[root@localhost ~] # stat /

File: "/

Size: 1024 Blocks: 2 IO Block: 1024 directory

Device: 803h/2051d Inode: 2 Links: 22

Access: (0666) Uid: (0 / root) Gid: (0 / root)

Access: 2007-12-01 22 purl 28 purl 48.000000000 + 0800

Modify: 2007-12-01 22 purl 28 purl 34.000000000 + 0800

Change: 2007-12-01 2315 17purl 35.000000000 + 0800

As you can see, the / directory does not give other users x permission.

4. Solution: modify / directory permissions to 755:

Click (here) to collapse or open

# chmod 755 /

Problem solved.

On the su-weblogic switching system users reported error Permission denied how to share here, I hope the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report