更改sas中数据集的写访问权限 [英] Change write access permission of dataset in sas
本文介绍了更改sas中数据集的写访问权限的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有几个数据集需要将其写入权限转移给另一个用户.我知道 chmod 命令,但如果我正在使用它,那么我将向所有其他用户授予写入权限.我只想将文件所有者的写入权限转移或授予另一个用户.
I have few data sets whose write access needs to be transferred to another user.I am aware about chmod command, but if i am using that then i am giving write permission to all other users. I just want file owner write access be transferred or be given to another single user.
推荐答案
用 CHOWN 代替 CHMOD:
Instead of CHMOD, use CHOWN:
chown 命令更改给定文件的用户和/或组所有权.语法是:
chown command changes the user and/or group ownership of for given file. The syntax is:
chown owner-user file
chown owner-user:owner-group file
chown owner-user:owner-group directory
chown options owner-user:owner-group file
来源:http://www.cyberciti.biz/faq/how-to-use-chmod-and-chown-command/
这篇关于更改sas中数据集的写访问权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文