<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: Assign Read/Write Access to a User on Specific Directory in Linux	</title>
	<atom:link href="https://www.tecmint.com/give-read-write-access-to-directory-in-linux/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.tecmint.com/give-read-write-access-to-directory-in-linux/</link>
	<description>Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks.</description>
	<lastBuildDate>Fri, 14 Jul 2023 02:43:38 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: Ravi Saive		</title>
		<link>https://www.tecmint.com/give-read-write-access-to-directory-in-linux/comment-page-1/#comment-1964699</link>

		<dc:creator><![CDATA[Ravi Saive]]></dc:creator>
		<pubDate>Wed, 15 Feb 2023 05:20:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=24892#comment-1964699</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/give-read-write-access-to-directory-in-linux/comment-page-1/#comment-1964195&quot;&gt;Nguyentony&lt;/a&gt;.

@Nguyentony,

Actually not possible, but you can do it with the following exception.
1. First, add the users you want to lock down to a group.
2. Next, edit the sudoer&#039;s file with the &lt;code&gt;visudo&lt;/code&gt; command.
3. Add the following lines to the sudoer&#039;s file (&lt;strong&gt;testgroup&lt;/strong&gt; is the group you added the users to).
&lt;pre&gt;
%testgroup    ALL = (ALL)       ALL
%testgroup    ALL = /usr/bin/passwd [A-Za-z]*, !/usr/bin/passwd root
%testgroup    ALL = !/usr/sbin/visudo
&lt;/pre&gt;
&lt;strong&gt;Note&lt;/strong&gt;: This prevents the sudo users from changing the root password.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/give-read-write-access-to-directory-in-linux/comment-page-1/#comment-1964195">Nguyentony</a>.</p>
<p>@Nguyentony,</p>
<p>Actually not possible, but you can do it with the following exception.<br />
1. First, add the users you want to lock down to a group.<br />
2. Next, edit the sudoer&#8217;s file with the <code>visudo</code> command.<br />
3. Add the following lines to the sudoer&#8217;s file (<strong>testgroup</strong> is the group you added the users to).</p>
<pre>
%testgroup    ALL = (ALL)       ALL
%testgroup    ALL = /usr/bin/passwd [A-Za-z]*, !/usr/bin/passwd root
%testgroup    ALL = !/usr/sbin/visudo
</pre>
<p><strong>Note</strong>: This prevents the sudo users from changing the root password.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Nguyentony		</title>
		<link>https://www.tecmint.com/give-read-write-access-to-directory-in-linux/comment-page-1/#comment-1964195</link>

		<dc:creator><![CDATA[Nguyentony]]></dc:creator>
		<pubDate>Tue, 14 Feb 2023 15:12:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=24892#comment-1964195</guid>

					<description><![CDATA[Is there a way you can ban the: &lt;strong&gt;change root password&lt;/strong&gt;?

Here I have a case where the user is granted root privileges, the user enters the admin&#039;s root change password by themselves.]]></description>
			<content:encoded><![CDATA[<p>Is there a way you can ban the: <strong>change root password</strong>?</p>
<p>Here I have a case where the user is granted root privileges, the user enters the admin&#8217;s root change password by themselves.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Amitesh Sahay		</title>
		<link>https://www.tecmint.com/give-read-write-access-to-directory-in-linux/comment-page-1/#comment-1497945</link>

		<dc:creator><![CDATA[Amitesh Sahay]]></dc:creator>
		<pubDate>Mon, 24 May 2021 06:20:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=24892#comment-1497945</guid>

					<description><![CDATA[Hi, 

I need to let the normal users create their own subdirectories and upload any document to that directories. I have enabled a shared location via nginx, and I could see the shared location when I type the server&#039;s IP in a web browser. But I am not sure how to enable the other part of the requirement. Can you help, please?

I have given full permission to the group thru setfacl. but it is not giving me any option in the web browser to create any directory there itself and upload files. Please suggest]]></description>
			<content:encoded><![CDATA[<p>Hi, </p>
<p>I need to let the normal users create their own subdirectories and upload any document to that directories. I have enabled a shared location via nginx, and I could see the shared location when I type the server&#8217;s IP in a web browser. But I am not sure how to enable the other part of the requirement. Can you help, please?</p>
<p>I have given full permission to the group thru setfacl. but it is not giving me any option in the web browser to create any directory there itself and upload files. Please suggest</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
