我正在更改opt
Ubuntu 16 目录中某些文件夹的权限。现在的问题是终端始终以 root 模式打开。是否可以将其改回用户模式,以避免sudo -su user
每次打开终端时都运行?
在opt
目录中我现在拥有以下权限:
drwxr-xr-x 11 root root 4096 jul 30 14:31 .
drwxr-xr-x 24 root root 4096 jul 27 10:00 ..
drwxr-xr-x 9 tomcat tomcat 4096 jul 30 14:30 apache-tomcat-7.0.79
drwxr-xr-x 4 root root 4096 feb 21 11:55 atom
drwxr-xr-x 3 root root 4096 ago 24 2016 dell
drwxr-xr-x 4 root root 4096 nov 18 2016 forticlient-sslvpn
drwxr-xr-x 4 root root 4096 jul 6 17:59 google
drwxr-xr-x 30 root root 4096 dic 24 2016 lampp
drwxr-xr-x 4 root root 4096 nov 17 2016 mssql
drwxr-xr-x 2 root root 4096 feb 8 11:06 skypeforlinux
drwxr-xr-x 4 root root 4096 jul 18 2016 sublime_text