U盘里的内容所有者全部变成root了?
Tofloor
poster avatar
leonardo520
deepin
2017-12-20 22:32
Author
没法删除,求教怎么把所有者变成电脑用户?
Reply Favorite View the author
All Replies
avatar
187******09
deepin
2017-12-20 23:02
#1
  1. chown   [你的用户名]   [要改的文件,所有就用*]           # 这是改所有者的
  2. chgrp   [组名,一般和用户名一样]   [要改的文件,所有就用*]           # 这是改所属组的
Copy the Code


比如:(在优盘目录下)
chown  my_username  *
这是改当前目录下所有文件的所有者是指定用户[my_username]
Reply View the author
avatar
leonardo520
deepin
2017-12-20 23:13
#2
https://bbs.deepin.org/post/150431
比如:(在优盘目录下)
chown  my_username  *
这是改当前目录下所有文件的所有者是指定用户[my_usernam ...

谢谢,我改了,还是无法删除,全部是只读文件
Reply View the author
avatar
187******09
deepin
2017-12-21 00:49
#3
https://bbs.deepin.org/post/150431
谢谢,我改了,还是无法删除,全部是只读文件

chmod 755 *

那是权限的问题
Reply View the author
avatar
ax******er@126.com
deepin
2017-12-21 01:45
#4
你这U盘是ext4分区?
Reply View the author