---
title: "批处理服务器上文件夹和文件权限"
author: "gengshu1111"
date: "2010-11-12T09:34:28Z"
tags: []
categories: ["操作系统"]
slug: "untitled"
draft: false
lastmod: "2010-11-12T09:34:28Z"
id: 809464
url: "https://bryant24.iteye.com/blog/809464"
---

修改当前目录下文件及文件夹权限，记下


```java

find -type d|xargs chmod 745  
find -type f|xargs chmod 644  

```