---
title: "无权限操作文件的问题"
author: "Ronbay"
date: "2016-10-17T11:48:01Z"
tags: []
categories: ["操作系统"]
slug: "untitled"
draft: false
lastmod: "2016-10-17T11:53:01Z"
id: 2330952
url: "https://ronbay.iteye.com/blog/2330952"
---

即使是管理员也操作不了/etc/profile文件的话，应该用如下命令：
chattr -i /etc/profile