Bug 23263 - [AnolisOS 8.4] crontab权限问题
Summary: [AnolisOS 8.4] crontab权限问题
Status: NEW
Alias: None
Product: Anolis OS 8
Classification: Anolis OS
Component: BaseOS Modules (show other bugs) BaseOS Modules
Version: 8.2
Hardware: All Linux
: P2-High S2-major
Target Milestone: ---
Assignee: Jacob
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-08-04 17:09 UTC by ywyywyywy
Modified: 2025-08-05 10:34 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ywyywyywy 2025-08-04 17:09:42 UTC
当我在/etc/crontab中写入类似

* * * * * user1 sh user1.sh 的语句,且
user1.sh的属组为user1:user1 权限为500时,该语句无法定时调用user1.sh脚本

只有当我把user1.sh权限提权为511时才能生效。

而相同的语句在历史centos os中都能正常运行无问题,在龙蜥 os 8.2中,明显存在权限问题
Comment 1 ywyywyywy 2025-08-05 10:34:16 UTC
并且只有龙蜥os 8.2 x86有这个问题。。。 8.2 arm没问题  8.8 x86也没问题,为什么呢?