Mounting a shared folder in everyone's home directory
David Groos
djgroos at gmail.com
Mon Apr 26 21:56:37 BST 2010
Hi Simon and All,
Thanks for your directions -- I spent a couple (few) hours on this this
morning under a deadline and finally got it with some back-and-forth with
alkisig on #edubuntu
<http://irclogs.ubuntu.com/2010/04/26/%23edubuntu.html>--Where
would I be without it?
My goal was to have a folder on my desktop where I could drop 30 or so small
images, and then when students logged in they would see this same folder,
could browse it and find the images they needed and drag them to their own
desktop. This was the functionality I was looking for. Here is the
solution I ended up doing
1. Made a folder on my desktop, DogTraits
2. Right clicked on it, selected Sharing Options, selected, 'share this
folder' and gave it the name, Dog, then clicked, 'create share'.
3. Then I used this command which didn't actually make any changes but
showed what would happen: "for f in /home/*/Desktop; do echo sudo ln -s
/home/dgross/Desktop/DogTraits $f/Dogs; done"
4. And since it worked, I removed the "echo" from the command, re-ran it
and a symlink to the DogTraits folder was created on everyone's Desktop.
5. On caveat--sometimes the 'Dogs' folder appeared under an exisiting
folder so a student had to move aside one of the folders on their desktop to
find this symlink.
I'd like to make a wiki page on this process on Edubuntu's wiki--anyone give
me a link to a new page or a good name for a page? Thanks again for
everyone's help and suggestions,
David
On Mon, Apr 26, 2010 at 10:50 AM, Simón Ruiz <simon.a.ruiz at gmail.com> wrote:
> Oops, didn't send it to the list last time...
>
> On Sun, Apr 25, 2010 at 11:41 PM, David Groos <djgroos at gmail.com> wrote:
> > Hi All,
> >
> > I want to put a bunch of images in a shared folder that would
> automatically
> > mount on all students' desktops. I've already made a shared folder.
> When I
> > google I see lots of info on SAMBA, NSF as well as mounting drives and
> > partitions. I don't want all that--just a simple folder auto-mounted on
> all
> > users desktops with read only access. Any help?
> >
> > Thanks,
> > David
>
> If it's a *remote* shared folder, you could simply mount it in
> /media/SharedFolder using /etc/fstab and it *would* just show up for
> every user.
>
> But, if you don't want Samba or NFS, then...you don't want to mount a
> network drive? This folder exists on the local computer?
>
> It might help us help you if you explain the situation and the problem
> you are trying to solve a little more in depth. I'm currently a bit
> confused as to what you're trying to mount, where, and how.
>
> You're simply trying to make sure every user than logs into this
> computer sees the same folder on their desktop? The user home folders
> are located on the local main hard drive and the shared folder as
> well?
>
> What's your setup? How many users on how many machines? How are they
> authenticated? Are you mounting *anything* over the network right now?
>
> Simón
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/ubuntu-education/attachments/20100426/c108aaa5/attachment-0001.htm
More information about the ubuntu-education
mailing list