lmi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi] Sharing directories on a multi-user *nix system


From: Greg Chicares
Subject: [lmi] Sharing directories on a multi-user *nix system
Date: Mon, 23 Sep 2019 17:34:15 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0

Kim and I both want to use the /opt/lmi directory on our *nix
server. I'd never worked in a multi-user environment like this,
so I guessed that the solution might be ACLs, but...

The server seems not to enable acl:
  # tune2fs -l /dev/whatever
  invalid superblock
but maybe it's on by default anyway? (this is XFS, so it should be)

Then I rethought that, and took a much simpler approach:

# Set up an 'lmi' group...
sudo groupadd lmi
# for U = my id and U = Kim's id both:
sudo usermod -a -G lmi ${U}

# if root already owns /opt (as is likely):
chown root:sudo /opt/lmi
chmod g+w /opt/lmi
ls -dl /opt/lmi

# ...and similarly for a /cache_for_lmi directory

Vadim, is there anything wrong with that?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]