Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 21

Thread: HowTo: Create a shared directory for local users (with bindfs).

  1. #11
    Join Date
    Oct 2005
    Location
    Padova (Italy)
    Beans
    321
    Distro
    Kubuntu

    Re: HowTo: Create shared directory for local users (with bindfs).

    You, and obiouvsly Martin Pärtel who did the job in first place, are my heroes!

    I have been searching something like this for endless time and neither using sgid or acls worked as I wanted.

    File permissions are a great security feature, but the possibility to create non militarized zones in the FS is something which was badly missing in my opinion.

    Thank you!

  2. #12
    Join Date
    Dec 2009
    Beans
    6,767

    Re: HowTo: Create shared directory for local users (with bindfs).

    I never considered a hard link. I'll have to try it out. Thanks for the update.

  3. #13
    Join Date
    Mar 2008
    Location
    Back to India
    Beans
    278
    Distro
    Ubuntu Gnome 14.04 Trusty Tahr

    Re: HowTo: Create shared directory for local users (with bindfs).

    Excellent post

    But what all I love is :
    sudo cp /etc/fstab{,-backup}

  4. #14
    Join Date
    Dec 2009
    Beans
    6,767

    Re: HowTo: Create shared directory for local users (with bindfs).

    I was in another post and I was referring the OP to this howto when I discovered you made a change a few weeks ago: Method 2 - Upstart

    That's an elegant way around the problem but I have a question. How is it unmounting ? Entires in fstab are unmounted cleanly at shutdown and it's probably my ignorance of the upstart and bindfs processes but it's not clear how this is being unmounted or if it even needs to be unmounted.

  5. #15
    Join Date
    Feb 2007
    Location
    Romania
    Beans
    Hidden!

    Re: HowTo: Create shared directory for local users (with bindfs).

    Quote Originally Posted by Morbius1 View Post
    How is it unmounting ? Entires in fstab are unmounted cleanly at shutdown and it's probably my ignorance of the upstart and bindfs processes but it's not clear how this is being unmounted or if it even needs to be unmounted.
    All filesystems (including virtual ones: dev, proc, bindfs, autofs...) are unmounted cleanly regardless how they were mounted.

    The init script (/etc/init.d/umountfs) uses /proc/mounts.

    /proc/mounts contains a list of the currently mounted devices and their mount points (and which file system is in use and what mount options are in use).

  6. #16
    Join Date
    Dec 2009
    Beans
    6,767

    Re: HowTo: Create shared directory for local users (with bindfs).

    As always, a wealth of information. Thank you very much.

  7. #17
    Join Date
    Jul 2011
    Beans
    43

    Re: HowTo: Create shared directory for local users (with bindfs).

    Great tutorial!
    It works great when trying to set permissions to different folders inside an NTFS partition.

  8. #18
    Join Date
    Feb 2007
    Location
    Romania
    Beans
    Hidden!

    Re: HowTo: Create shared directory for local users (with bindfs).

    Thanks.

  9. #19
    Join Date
    Dec 2009
    Beans
    6,767

    Re: HowTo: Create a shared directory for local users (with bindfs).

    Now that you're a moderator do you have any influence or at lest any insight on when we can expect to be able to actually install bindfs.

    It's broken on Oneric: https://bugs.launchpad.net/ubuntu/+s...fs/+bug/851600

    Short version of bug:

    Package states that "fuse" is a dependency.
    There is no "fuse" package.
    Bindfs is dependent on "fuse-util" not "fuse"

  10. #20
    Join Date
    Jun 2007
    Beans
    1

    Re: HowTo: Create a shared directory for local users (with bindfs).

    This thread is amazing!

    I use linux for 7 years and I can finally share music with my family without messing with permissions.


    I have one more question: Do you guys know how can I do this trick with a separated partition instead of a folder?

    I keep all my stuff in a separated drive.


    Thanks in advance!

Page 2 of 3 FirstFirst 123 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •