2

I have an ext4 disk/partition on my machine and I want to make it so, by default:

  • All files/folders have the group set to groupA
  • All files have:
    • user permissions rw
    • group permissions rw so folks in groupA can read and edit files
    • no other permissions
  • All folders have:
    • user permissions rwx
    • group permissions rwx so folks in groupA can list folders and create new files/folders in them
    • no other permissions

I thought I could do this with umask and gid in /etc/fstab but ext4 file systems do not support them.

If this matters, this is a fresh install of Debian.

I am not using ACLs and would prefer not to if possible.

IMTheNachoMan
  • 419
  • 1
  • 7
  • 18

0 Answers0