<?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: A shared &#8220;drop-box&#8221; using Samba [Updated]</title>
	<atom:link href="http://www.theopensourcerer.com/2008/04/17/a-shared-drop-box-using-samba/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.theopensourcerer.com/2008/04/17/a-shared-drop-box-using-samba/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=a-shared-drop-box-using-samba</link>
	<description>The Magic of Open Source</description>
	<lastBuildDate>Fri, 10 Feb 2012 18:02:33 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
	<item>
		<title>By: Alan Lord</title>
		<link>http://www.theopensourcerer.com/2008/04/17/a-shared-drop-box-using-samba/comment-page-1/#comment-29927</link>
		<dc:creator>Alan Lord</dc:creator>
		<pubDate>Mon, 31 Oct 2011 07:57:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.theopensourcerer.com/2008/04/17/a-shared-drop-box-using-samba/#comment-29927</guid>
		<description>Create your folder hierarchy and put the files  where you want them before doing the copy and do the copy in one go.

Because the folder is created immediately you can&#039;t rename it again (unless you ssh to the server and use a privileged account to rename it). 

I realise this is not a perfect solution but at least it stops family being able to accidentally delete stuff.</description>
		<content:encoded><![CDATA[<p>Create your folder hierarchy and put the files  where you want them before doing the copy and do the copy in one go.</p>
<p>Because the folder is created immediately you can&#8217;t rename it again (unless you ssh to the server and use a privileged account to rename it). </p>
<p>I realise this is not a perfect solution but at least it stops family being able to accidentally delete stuff.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yoda</title>
		<link>http://www.theopensourcerer.com/2008/04/17/a-shared-drop-box-using-samba/comment-page-1/#comment-29914</link>
		<dc:creator>Yoda</dc:creator>
		<pubDate>Sun, 30 Oct 2011 23:51:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.theopensourcerer.com/2008/04/17/a-shared-drop-box-using-samba/#comment-29914</guid>
		<description>Hi,

The above works well apart from one thing.
When I create a new folder on Windows XP I cannot rename the folder during the create folder process.
I get
New Folder
New Folder (1) etc.
Is there a way around this?

Thanks</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>The above works well apart from one thing.<br />
When I create a new folder on Windows XP I cannot rename the folder during the create folder process.<br />
I get<br />
New Folder<br />
New Folder (1) etc.<br />
Is there a way around this?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dieguin</title>
		<link>http://www.theopensourcerer.com/2008/04/17/a-shared-drop-box-using-samba/comment-page-1/#comment-29433</link>
		<dc:creator>Dieguin</dc:creator>
		<pubDate>Tue, 18 Oct 2011 23:15:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.theopensourcerer.com/2008/04/17/a-shared-drop-box-using-samba/#comment-29433</guid>
		<description>Hello, id like to ask one little thing. 
The really good thing of dropbox is that once someone shares something, its uploaded to all shared computers automatically, they also have a folder... yes... but the good thing is that it is syncronized (not like an ftp on a normal folder). Any ideas on how to do this?</description>
		<content:encoded><![CDATA[<p>Hello, id like to ask one little thing.<br />
The really good thing of dropbox is that once someone shares something, its uploaded to all shared computers automatically, they also have a folder&#8230; yes&#8230; but the good thing is that it is syncronized (not like an ftp on a normal folder). Any ideas on how to do this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Topper</title>
		<link>http://www.theopensourcerer.com/2008/04/17/a-shared-drop-box-using-samba/comment-page-1/#comment-25924</link>
		<dc:creator>Topper</dc:creator>
		<pubDate>Fri, 06 May 2011 12:27:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.theopensourcerer.com/2008/04/17/a-shared-drop-box-using-samba/#comment-25924</guid>
		<description>Perfect howto but...
We have users in LDAP, how to use ldap group in this dropbox share?
Please advice.</description>
		<content:encoded><![CDATA[<p>Perfect howto but&#8230;<br />
We have users in LDAP, how to use ldap group in this dropbox share?<br />
Please advice.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: CJM</title>
		<link>http://www.theopensourcerer.com/2008/04/17/a-shared-drop-box-using-samba/comment-page-1/#comment-15118</link>
		<dc:creator>CJM</dc:creator>
		<pubDate>Thu, 02 Sep 2010 14:42:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.theopensourcerer.com/2008/04/17/a-shared-drop-box-using-samba/#comment-15118</guid>
		<description>Thanx for this and it was VERY cool of you to explain what you do by every command. I have seen some HowTos that expect you to run commands blindly (scary!!) So thank you for these explanations.</description>
		<content:encoded><![CDATA[<p>Thanx for this and it was VERY cool of you to explain what you do by every command. I have seen some HowTos that expect you to run commands blindly (scary!!) So thank you for these explanations.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kev</title>
		<link>http://www.theopensourcerer.com/2008/04/17/a-shared-drop-box-using-samba/comment-page-1/#comment-12844</link>
		<dc:creator>Kev</dc:creator>
		<pubDate>Fri, 26 Feb 2010 22:28:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.theopensourcerer.com/2008/04/17/a-shared-drop-box-using-samba/#comment-12844</guid>
		<description>Hey, thanks for the guide, works perfectly across W7 and XP!  However, Mac OS X 10.5 will not let me copy filers to the &quot;Drop Box&quot;, it tells em I do not have sufficient privileges to complete the operation.  Any ideas/suggestions please?

Thanks!</description>
		<content:encoded><![CDATA[<p>Hey, thanks for the guide, works perfectly across W7 and XP!  However, Mac OS X 10.5 will not let me copy filers to the &#8220;Drop Box&#8221;, it tells em I do not have sufficient privileges to complete the operation.  Any ideas/suggestions please?</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alan Lord</title>
		<link>http://www.theopensourcerer.com/2008/04/17/a-shared-drop-box-using-samba/comment-page-1/#comment-9475</link>
		<dc:creator>Alan Lord</dc:creator>
		<pubDate>Thu, 04 Dec 2008 19:33:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.theopensourcerer.com/2008/04/17/a-shared-drop-box-using-samba/#comment-9475</guid>
		<description>Brilliant!

That seems to work a treat! I have only done a quick test but I copied over a directory structure with some files, tried deleting through Nautilus - failed. Then I copied a new file into one of the new subdirectories and it worked. And I couldn&#039;t delete again it either.

I&#039;ll update the post. And I&#039;ll let you know if anything further crops up.

Thanks again,

Alan</description>
		<content:encoded><![CDATA[<p>Brilliant!</p>
<p>That seems to work a treat! I have only done a quick test but I copied over a directory structure with some files, tried deleting through Nautilus &#8211; failed. Then I copied a new file into one of the new subdirectories and it worked. And I couldn&#8217;t delete again it either.</p>
<p>I&#8217;ll update the post. And I&#8217;ll let you know if anything further crops up.</p>
<p>Thanks again,</p>
<p>Alan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simbul</title>
		<link>http://www.theopensourcerer.com/2008/04/17/a-shared-drop-box-using-samba/comment-page-1/#comment-9469</link>
		<dc:creator>Simbul</dc:creator>
		<pubDate>Tue, 02 Dec 2008 14:05:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.theopensourcerer.com/2008/04/17/a-shared-drop-box-using-samba/#comment-9469</guid>
		<description>I think that Nautilus is actually being a little smug about its actions: it says it&#039;s removing the parent directory but is in fact also removing the single items in the directory. But that&#039;s not the real issue.

The actual problem is that our &quot;current&quot; configuration blocks deletion of first-level children of the root directory, but it doesn&#039;t put any constraint on the children of the subdirectories.
In fact, the problem is that the sticky bit is not cascaded on the subdirectories, i.e. the structure we&#039;re building is not fully recursive.

A possible solution:
directory mode = 3770
force directory mode = 3770

The first octal number basically forces the sticky bit (+1) and the SGID bit (+2). This should make every files and directory dropped in the share a perfect copy of the root directory (as far as permissions go).

Let me know if it works for you ;)</description>
		<content:encoded><![CDATA[<p>I think that Nautilus is actually being a little smug about its actions: it says it&#8217;s removing the parent directory but is in fact also removing the single items in the directory. But that&#8217;s not the real issue.</p>
<p>The actual problem is that our &#8220;current&#8221; configuration blocks deletion of first-level children of the root directory, but it doesn&#8217;t put any constraint on the children of the subdirectories.<br />
In fact, the problem is that the sticky bit is not cascaded on the subdirectories, i.e. the structure we&#8217;re building is not fully recursive.</p>
<p>A possible solution:<br />
directory mode = 3770<br />
force directory mode = 3770</p>
<p>The first octal number basically forces the sticky bit (+1) and the SGID bit (+2). This should make every files and directory dropped in the share a perfect copy of the root directory (as far as permissions go).</p>
<p>Let me know if it works for you <img src='http://www.theopensourcerer.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alan Lord</title>
		<link>http://www.theopensourcerer.com/2008/04/17/a-shared-drop-box-using-samba/comment-page-1/#comment-9461</link>
		<dc:creator>Alan Lord</dc:creator>
		<pubDate>Mon, 01 Dec 2008 20:45:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.theopensourcerer.com/2008/04/17/a-shared-drop-box-using-samba/#comment-9461</guid>
		<description>Hi Simbul, glad you could drop by...

I can drop a tree into the drop-box, sorry. I thought I couldn&#039;t add files to the drop-box later on inside the newly created tree structure, but having just tried this, I was totally wrong.

But the scary part, is you can delete everything inside the top-level directory...

In my test I opened Nautilus and mounted my music drop-box share. I dragged a small structure from my local disk to the drop box and it copied in fine:

$ ls -l tolc-1.5/
total 40
drwxrws--- 2 nobody shared  4096 2008-12-01 20:38 css
-rwxr--r-- 1 nobody shared  2988 2008-12-01 20:38 frontpage.php
drwxrws--- 2 nobody shared  4096 2008-12-01 20:38 images
-rwxr--r-- 1 nobody shared  5889 2008-12-01 20:38 index.php
drwxrws--- 2 nobody shared    31 2008-12-01 20:38 js
-rwxr--r-- 1 nobody shared     0 2008-12-01 20:38 params.ini
-rwxr--r-- 1 nobody shared  2958 2008-12-01 20:38 templateDetails.xml
-rwxr--r-- 1 nobody shared  2931 2008-12-01 20:38 templateDetails.xml~
-rwxr--r-- 1 nobody shared 10962 2008-12-01 20:38 template_thumbnail.png

But now, for some reason I do not fully understand, if I highlight the top-level directory in Nautilus (tolc-1.5) and hit enter and accept the &quot;permanently delete&quot; option, I get a pop up saying it can&#039;t delete tolc-1.5 but everything below it has been removed... The directory is now completely empty.

One thing to note is the *files* are being created rwxr--r-- whereas prior to your suggestion they were being flagged rw-r--r--.

Thanks.

Alan</description>
		<content:encoded><![CDATA[<p>Hi Simbul, glad you could drop by&#8230;</p>
<p>I can drop a tree into the drop-box, sorry. I thought I couldn&#8217;t add files to the drop-box later on inside the newly created tree structure, but having just tried this, I was totally wrong.</p>
<p>But the scary part, is you can delete everything inside the top-level directory&#8230;</p>
<p>In my test I opened Nautilus and mounted my music drop-box share. I dragged a small structure from my local disk to the drop box and it copied in fine:</p>
<p>$ ls -l tolc-1.5/<br />
total 40<br />
drwxrws&#8212; 2 nobody shared  4096 2008-12-01 20:38 css<br />
-rwxr&#8211;r&#8211; 1 nobody shared  2988 2008-12-01 20:38 frontpage.php<br />
drwxrws&#8212; 2 nobody shared  4096 2008-12-01 20:38 images<br />
-rwxr&#8211;r&#8211; 1 nobody shared  5889 2008-12-01 20:38 index.php<br />
drwxrws&#8212; 2 nobody shared    31 2008-12-01 20:38 js<br />
-rwxr&#8211;r&#8211; 1 nobody shared     0 2008-12-01 20:38 params.ini<br />
-rwxr&#8211;r&#8211; 1 nobody shared  2958 2008-12-01 20:38 templateDetails.xml<br />
-rwxr&#8211;r&#8211; 1 nobody shared  2931 2008-12-01 20:38 templateDetails.xml~<br />
-rwxr&#8211;r&#8211; 1 nobody shared 10962 2008-12-01 20:38 template_thumbnail.png</p>
<p>But now, for some reason I do not fully understand, if I highlight the top-level directory in Nautilus (tolc-1.5) and hit enter and accept the &#8220;permanently delete&#8221; option, I get a pop up saying it can&#8217;t delete tolc-1.5 but everything below it has been removed&#8230; The directory is now completely empty.</p>
<p>One thing to note is the *files* are being created rwxr&#8211;r&#8211; whereas prior to your suggestion they were being flagged rw-r&#8211;r&#8211;.</p>
<p>Thanks.</p>
<p>Alan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simbul</title>
		<link>http://www.theopensourcerer.com/2008/04/17/a-shared-drop-box-using-samba/comment-page-1/#comment-9460</link>
		<dc:creator>Simbul</dc:creator>
		<pubDate>Mon, 01 Dec 2008 20:12:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.theopensourcerer.com/2008/04/17/a-shared-drop-box-using-samba/#comment-9460</guid>
		<description>Uhm, strange. I&#039;m pretty sure I managed to copy a whole directory tree in my samba share - that was the whole point of my modification, actually.
I&#039;ll check things tomorrow and let you know ;)</description>
		<content:encoded><![CDATA[<p>Uhm, strange. I&#8217;m pretty sure I managed to copy a whole directory tree in my samba share &#8211; that was the whole point of my modification, actually.<br />
I&#8217;ll check things tomorrow and let you know <img src='http://www.theopensourcerer.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

