文件操作 - lockdown-file-saving.page
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/help/gl/system-admin-guide/lockdown-file-saving.page
编辑文件内容
<?xml version="1.0" encoding="utf-8"?> <page xmlns="http://projectmallard.org/1.0/" xmlns:its="http://www.w3.org/2005/11/its" type="topic" style="task" id="lockdown-file-saving" xml:lang="gl"> <info> <link type="guide" xref="user-settings#lockdown"/> <link type="seealso" xref="dconf-lockdown"/> <revision pkgversion="3.11" date="2014-10-14" status="candidate"/> <credit type="author copyright"> <name>Jana Svarova</name> <email>jana.svarova@gmail.com</email> <years>2014</years> </credit> <credit type="author copyright"> <name>Ekaterina Gerasimova</name> <email>kittykat3756@gmail.com</email> <years>2014</years> </credit> <include xmlns="http://www.w3.org/2001/XInclude" href="legal.xml"/> <desc>Evitar que os usuarios garden ficheiros no disco.</desc> <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> <mal:name>Fran Diéguez</mal:name> <mal:email>frandieguez@gnome.org</mal:email> <mal:years>2010-2018</mal:years> </mal:credit> </info> <title>Desactivar o gardado de ficheiros</title> <p>You can disable the <gui>Save</gui> and <gui>Save As</gui> dialogs. This can be useful if you are giving temporary access to a user or you do not want the user to save files to the computer.</p> <note style="warning"> <p>This feature will only work in applications which support it! Not all GNOME and third party applications have this feature enabled. These changes will have no effect on applications which do not support this feature.</p> </note> <steps> <title>Desactivar o gardado de ficheiros</title> <include xmlns="http://www.w3.org/2001/XInclude" href="dconf-snippets.xml" xpointer="xpointer(/*/*[@xml:id='dconf-profile-user'])"/> <include xmlns="http://www.w3.org/2001/XInclude" href="dconf-snippets.xml" xpointer="xpointer(/*/*[@xml:id='dconf-profile-user-dir'])"/> <item> <p>Create the key file <file>/etc/dconf/db/local.d/00-filesaving</file> to provide information for the <sys>local</sys> database.</p> <listing> <title><file>/etc/dconf/db/local.d/00-filesaving</file></title> <code> # Especifica a ruta de dconf [org/gnome/desktop/lockdown] # Evita que o usuario garde ficheiros en disco disable-save-to-disk=true </code> </listing> </item> <item> <p>To prevent the user from overriding these settings, create the file <file>/etc/dconf/db/local.d/locks/filesaving</file> with the following content:</p> <listing> <title><file>/etc/dconf/db/local.db/locks/filesaving</file></title> <code> # Bloquear as preferencias de gardado de ficheiros /org/gnome/desktop/lockdown/disable-save-to-disk </code> </listing> </item> <include xmlns="http://www.w3.org/2001/XInclude" href="dconf-snippets.xml" xpointer="xpointer(/*/*[@xml:id='dconf-update'])"/> <include xmlns="http://www.w3.org/2001/XInclude" href="dconf-snippets.xml" xpointer="xpointer(/*/*[@xml:id='dconf-logoutin'])"/> </steps> </page>
修改文件时间
将文件时间修改为当前时间的前一年
删除文件