<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; Присвоение нового владельца файлам после пересохранения]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=10815&amp;type=atom" />
	<updated>2011-02-11T08:12:12Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=10815</id>
		<entry>
			<title type="html"><![CDATA[Re: Присвоение нового владельца файлам после пересохранения]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=143601#p143601" />
			<content type="html"><![CDATA[<p>#!/bin/sh<br />TEMP=`tmpfile`<br />cp &quot;$1&quot; $TEMP<br />$EDITOR $TEMP<br />rm &quot;$1&quot;<br />mv $TEMP &quot;$1&quot;</p><br /><p>только проверку ошибок вставьте. после каждой команды.</p>]]></content>
			<author>
				<name><![CDATA[drBatty]]></name>
				<uri>https://linuxforum.ru/profile.php?id=86</uri>
			</author>
			<updated>2011-02-11T08:12:12Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=143601#p143601</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Присвоение нового владельца файлам после пересохранения]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=143597#p143597" />
			<content type="html"><![CDATA[<p>чем вы редактируете?<br />sed, ed, vi(m) работают нормально</p>]]></content>
			<author>
				<name><![CDATA[drBatty]]></name>
				<uri>https://linuxforum.ru/profile.php?id=86</uri>
			</author>
			<updated>2011-02-11T08:03:30Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=143597#p143597</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Присвоение нового владельца файлам после пересохранения]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=143277#p143277" />
			<content type="html"><![CDATA[<p>Как сделать так, что бы при редактировании кем либо файла, права на файл переходили к последнему редактировавшему?</p><p>Например: Есть файл с владельцем admin из группы admins, этот файл отредактировал и пересохранил пользователь user из группы users, но при этом владельцем admin из группы admins так и остался хозяином файла. Можно от этого как-то избавиться?</p>]]></content>
			<author>
				<name><![CDATA[AAA]]></name>
				<uri>https://linuxforum.ru/profile.php?id=15174</uri>
			</author>
			<updated>2011-02-10T09:38:48Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=143277#p143277</id>
		</entry>
</feed>
