小白请教,deepin15.5 桌面版 删除文件,与文件夹权限问题
Tofloor
poster avatar
zengbao
deepin
2018-02-27 16:48
Author
1:当我删除某个文件或者文件夹时候,需要按F5刷新后才能看到效果
2:每次启动的时候都需要设置 home 文件夹的权限(下面需要使用root权限)
请教下各位大神,这个都有什么好的解决办法吗?
Reply Favorite View the author
All Replies
avatar
jhkwei
deepin
2018-02-27 17:09
#1
1) 这个应该是文件管理器的 bug ,加一个删除刷新事件就可以了。
2)是不是你的用户名,如果是你的用户名,试试,
  1. sudo chown -R yourname:yourname   /home/yourname
  2. #yourname, 是你的用户名
Copy the Code
Reply View the author
avatar
zengbao
deepin
2018-02-27 17:54
#2
https://bbs.deepin.org/post/153613
1) 这个应该是文件管理器的 bug ,加一个删除刷新事件就可以了。
2)是不是你的用户名,如果是你的用户名 ...

谢谢,解决了!
Reply View the author
avatar
zengbao
deepin
2018-02-27 19:06
#3
https://bbs.deepin.org/post/153613
1) 这个应该是文件管理器的 bug ,加一个删除刷新事件就可以了。
2)是不是你的用户名,如果是你的用户名 ...

请问你知道第二个问题,怎么解决吗!
Reply View the author
avatar
jhkwei
deepin
2018-02-27 20:34
#4
https://bbs.deepin.org/post/153613
请问你知道第二个问题,怎么解决吗!

第一步:
  1. ls -al /home
Copy the Code

结果就象下面:
  1. ls -al /home
  2. 总用量 12
  3. drwxr-xr-x  3 root    root    4096 1月  10 10:03 .
  4. drwxr-xr-x 26 root    root    4096 2月  25 07:01 ..
  5. drwxr-xr-x 55 shenwei shenwei 4096 2月  27 09:04 shenwei
Copy the Code

第二步:
  1. sudo chown -R shenwei:shenwei /home/shenwei
  2. sudo chmod -R 755  /home/shenwei

  3. #shenwei 是我的用户名,这样我的用户名就没有权限问题了 ,除非你挂载方式很特别。
Copy the Code

Reply View the author
avatar
zengbao
deepin
2018-03-06 23:23
#5
https://bbs.deepin.org/post/153613
第一步:

结果就象下面:

每次开机都需要重新设置,哎!!!
Reply View the author