创建linux桌面快捷启动方式启动提示”untrusted application launcher“,且无信任确认,如下图:
**原因分析:**用户权限的问题,新版本的Gnome桌面快捷方式如果默认是root,则不让启动。
**解决方案:**把文件权限设置为普通用户权限,启动时使用root密码确认即可解决。
修改文件权限指令:
chown admin:admin /home/admin/Desktop/*.desktop
设置完文件权限,回到Gnome桌面双击启动弹出的窗口中就会有信息选项了,输入root密码确认即可使用了。
Chown 详解
chown(选项)(参数)
常用的就是 chown -P folder //递归设置
Usage: chown [OPTION]… [OWNER][:[GROUP]] FILE…
-c, --changes like verbose but report only when a change is made
-f, --silent, --quiet suppress most error messages
-v, --verbose output a diagnostic for every file processed
–dereference affect the referent of each symbolic link (this is
the default), rather than the symbolic link itself
-h, --no-dereference affect symbolic links instead of any referenced file
(useful only on systems that can change the
ownership of a symlink)
–from=CURRENT_OWNER:CURRENT_GROUP
change the owner and/or group of each file only if
its current owner and/or group match those specified
here. Either may be omitted, in which case a match
is not required for the omitted attribute
–no-preserve-root do not treat ‘/’ specially (the default)
–preserve-root fail to operate recursively on ‘/’
–reference=RFILE use RFILE’s owner and group rather than
specifying OWNER:GROUP values
-R, --recursive operate on files and directories recursively
-H if a command line argument is a symbolic link
to a directory, traverse it
-L traverse every symbolic link to a directory
encountered
-P do not traverse any symbolic links (default)