---
title: 安装HAF时提示crontab权限问题的解决方法
description: "安装卸载节点时报错，报错信息如下。"
url: https://www.hikunpeng.com/document/detail/zh/kunpengboostkithistory/2300/bds/kunpengbds_omniruntime_20_0106.html
sourcePath: /source/zh/kunpengboostkithistory/2300/bds/kunpengbds_omniruntime_20_0106.html
indexId: 89999c03e7b86926c224dcfb1dc314e321e81121ae4e3038d94f205b653861a778
---
# 安装HAF时提示crontab权限问题的解决方法

#### 问题现象描述

安装卸载节点时报错，报错信息如下。

```
/var/spool/cron/#tmp.client2.XXXXRnzrej: Permission denied
```


#### 关键过程、根本原因分析

crontab文件权限和属组不正确。


#### 结论、解决方案及效果

1. 找到crontab文件位置。
  1 which crontab

2. crontab增加s位，并修改crontab为root所属。
  1 2 chown root:root /usr/bin/crontab chmod u+s /usr/bin/crontab
