<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
No, as otherwise what happens when you get a file in the top
directory named the same as a file in the personal directory?<br>
<br>
Remember you can add symlinks between the files and directories to
avoid storing multiple copies of the same file. So you could make a
directory for, say, a large group of users, and then just make a
symlink from that dir to a link for each of the users you want to
see that set of files.<br>
<br>
Jules.<br>
<br>
On 26/01/2012 18:08, Marlon R Deerr wrote:
<blockquote
cite="mid:A08EE36822E7184AA48B7F0B031BB5190414AF67@TGF-Exch2.TGF.local"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 12 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-priority:99;
        mso-style-link:"Plain Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.5pt;
        font-family:Consolas;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.PlainTextChar
        {mso-style-name:"Plain Text Char";
        mso-style-priority:99;
        mso-style-link:"Plain Text";
        font-family:Consolas;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:662464777;
        mso-list-type:hybrid;
        mso-list-template-ids:-1290791434 269025295 269025305 269025307 269025295 269025305 269025307 269025295 269025305 269025307;}
@list l0:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1
        {mso-list-id:1857452803;
        mso-list-type:hybrid;
        mso-list-template-ids:-879465422 269025295 269025305 269025307 269025295 269025305 269025307 269025295 269025305 269025307;}
@list l1:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoPlainText">Ok, I think I have answered questions 1
& 2. I have manually created a folder for a user and
tested this out. All seems to work as explained. Is there no
way to allow users to see what is also in the ‘default’ top
directory even if they also have files in their own personal
directory folder? (i.e. the drop-down will display all
documents in both sets of folders)<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><span lang="EN-US">-----Original
Message-----<br>
From: <a class="moz-txt-link-abbreviated" href="mailto:zendto-bounces@zend.to">zendto-bounces@zend.to</a> [<a class="moz-txt-link-freetext" href="mailto:zendto-bounces@zend.to">mailto:zendto-bounces@zend.to</a>]
On Behalf Of Marlon R Deerr<br>
Sent: January-26-12 12:31 PM<br>
To: ZendTo Users<br>
Subject: [ZendTo] Re: Library of files on a 'per user' basis</span></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Sounds good. Got a couple questions:<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">1. Must we then manually create these
library subfolders for each user we wish to have access to
their own library?<o:p></o:p></p>
<p class="MsoPlainText">2. What happens if there are files in
the top directory as well as a user's specific library
directory. Will that user see all sets of files?<o:p></o:p></p>
<p class="MsoPlainText">3. I obviously want to keep my existing
preferences.php file. Is there any new options in the updated
version that I need to incorporate in my existing
preferences.php file?<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Thanks,<o:p></o:p></p>
<p class="MsoPlainText">Marlon<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">-----Original Message-----<o:p></o:p></p>
<p class="MsoPlainText">From: <a moz-do-not-send="true"
href="mailto:zendto-bounces@zend.to"><span
style="color:windowtext;text-decoration:none">zendto-bounces@zend.to</span></a>
[<a moz-do-not-send="true"
href="mailto:zendto-bounces@zend.to"><span
style="color:windowtext;text-decoration:none">mailto:zendto-bounces@zend.to</span></a>]
On Behalf Of Jules<o:p></o:p></p>
<p class="MsoPlainText">Sent: January-26-12 10:34 AM<o:p></o:p></p>
<p class="MsoPlainText">To: ZendTo Users<o:p></o:p></p>
<p class="MsoPlainText">Subject: [ZendTo] Re: Library of files
on a 'per user' basis<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">I've added per-user libraries. See the
beta section of the downloads page to get it!<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">What happens now is this:<o:p></o:p></p>
<p class="MsoPlainText">If there is a sub-directory of the
library directory named the same as the logged-in username,
that directory is used. If not, then the top-level library
directory is used.<o:p></o:p></p>
<p class="MsoPlainText">I then gather a list of all the files in
that directory.<o:p></o:p></p>
<p class="MsoPlainText">If there are no files in that directory,
the drop-down list is not shown in the user interface at all.<o:p></o:p></p>
<p class="MsoPlainText">If there are files, those are presented
as a drop-down list.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">The results are:<o:p></o:p></p>
<p class="MsoPlainText">1. You have a "default" set of files in
the top dir.<o:p></o:p></p>
<p class="MsoPlainText">2. You can have a few users who have
empty subdirectories and so never see that the "library"
functionality exists at all.<o:p></o:p></p>
<p class="MsoPlainText">3. You can have an empty "default" top
dir, but subdirectories for a few users. Then most of your
users will never see the "library" <o:p></o:p></p>
<p class="MsoPlainText">functionality exists, and only those few
users who do have a subdirectory will see it.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Use case for my site: we have 1 guy in
our central IT service whose job it is to send software media
out to people all over campus.<o:p></o:p></p>
<p class="MsoPlainText">He used to have to write CDs and DVDs
and put them in the post!<o:p></o:p></p>
<p class="MsoPlainText">Now he sends them as ISO images using
ZendTo.<o:p></o:p></p>
<p class="MsoPlainText">He is fed up of uploading the same files
to different users over and over again, so wants to use the
"library".<o:p></o:p></p>
<p class="MsoPlainText">I leave the top-level library directory
empty, apart from just a subdirectory for him.<o:p></o:p></p>
<p class="MsoPlainText">*Only he* ever sees that the library
exists at all, so all the other users of the service on campus
don't get confused by a thing they can't/don't use anyway.<o:p></o:p></p>
<p class="MsoPlainText">Result ==> Happy users, and happy guy
in IT service !<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">I've released this as a beta. I've just
put the DEB and the RPM on the web site, you'll have to
upgrade by downloading the relevant file and then CentOS /
RedHat / Fedora<o:p></o:p></p>
<p class="MsoPlainText"> rpm -Uvh zendto-4.09-1.noarch.rpm<o:p></o:p></p>
<p class="MsoPlainText">Ubuntu / Debian<o:p></o:p></p>
<p class="MsoPlainText"> sudo dpkg --install
zendto_4.09-1.deb And beware you don't hose your
/opt/zendto/config files by mistake!<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">If you don't have a recent version, and
you use MySQL, you will need to run the 2nd "mysql" command
given in /opt/zendto/sql/README.MySQL to add the necessary
tables that the "library" uses.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Jules<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">--<o:p></o:p></p>
<p class="MsoPlainText">Julian Field MEng CITP CEng<o:p></o:p></p>
<p class="MsoPlainText"><a moz-do-not-send="true"
href="http://www.Zend.To"><span
style="color:windowtext;text-decoration:none">www.Zend.To</span></a><o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Follow me at twitter.com/JulesFM<o:p></o:p></p>
<p class="MsoPlainText">PGP footprint: EE81 D763 3DB0 0BFD E1DC
7222 11F6 5947 1415 B654<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">'It's okay to live without all the
answers' - Charlie Eppes, 2011 'All programs have a desire to
be useful' - Tron, 1982 'That is the land of lost content,<o:p></o:p></p>
<p class="MsoPlainText"> I see it shining plain,<o:p></o:p></p>
<p class="MsoPlainText"> The happy highways where I went,<o:p></o:p></p>
<p class="MsoPlainText"> And cannot come again.' - A.E.
Houseman<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">_______________________________________________<o:p></o:p></p>
<p class="MsoPlainText">ZendTo mailing list<o:p></o:p></p>
<p class="MsoPlainText"><a moz-do-not-send="true"
href="mailto:ZendTo@zend.to"><span
style="color:windowtext;text-decoration:none">ZendTo@zend.to</span></a><o:p></o:p></p>
<p class="MsoPlainText"><a moz-do-not-send="true"
href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto"><span
style="color:windowtext;text-decoration:none">http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto</span></a><o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">_______________________________________________<o:p></o:p></p>
<p class="MsoPlainText">ZendTo mailing list<o:p></o:p></p>
<p class="MsoPlainText"><a moz-do-not-send="true"
href="mailto:ZendTo@zend.to"><span
style="color:windowtext;text-decoration:none">ZendTo@zend.to</span></a><o:p></o:p></p>
<p class="MsoPlainText"><a moz-do-not-send="true"
href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto"><span
style="color:windowtext;text-decoration:none">http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto</span></a><o:p></o:p></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
ZendTo mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ZendTo@zend.to">ZendTo@zend.to</a>
<a class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto">http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto</a></pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">Jules
--
Julian Field MEng CITP CEng
<a class="moz-txt-link-abbreviated" href="http://www.Zend.To">www.Zend.To</a>
Follow me at twitter.com/JulesFM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
'It's okay to live without all the answers' - Charlie Eppes, 2011
'All programs have a desire to be useful' - Tron, 1982
'That is the land of lost content,
I see it shining plain,
The happy highways where I went,
And cannot come again.' - A.E. Houseman
</pre>
</body>
</html>