如何在 unix 中为用户分配权限,因为我无法创建或使用任何命令

How to assign permission to a user in unix, since i am unable to create or use any command

$ touch 1
touch: cannot touch ‘1’: Permission denied
$ who
root     pts/5        2015-01-30 16:48 (43.68.41.127)
test     pts/7        2015-01-30 16:56 (43.68.41.127)

使用chown 命令将用户权限授予特定用户。如下,

chown username file
chown username folder
chown -R username folder #recursive