Results 1 to 7 of 7

Thread: Best practice /etc/fstab mount

Threaded View

  1. #1
    Join Date
    Mar 2010

    Lightbulb Best practice /etc/fstab mount

    Hi!!I've one question for you..

    I need to mount some EXT4 partitions automatically on boot through fstab file. The mountpoints are /mnt/<name> etc etc. I want to give writing permission to some users and groups with something like 775(I will choose later).

    So here is the problem... what's the best practice??

    1. Create the folders in /mnt and give them the right permissions, like 775 and user:group owner. I must preserve this scheme for all the files that will be written, it is no good if a program run by an user will write stuff with different permissions.
    2. Create the folders in /mnt as root, so with 755 and root:root owner and add some mount options in fstab file. As said before, I must preserve permissions for all the files within.

    Last edited by supermario87; November 6th, 2012 at 05:54 PM.


Posting Permissions

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