• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 511
  • Last Modified:

Multiple user permission on a folder

Hi,

      How can i give access to more user on a folder? so far what i know chown will only chown for one user, and if you chown for another user, the previous chown user will lost permission to that folder.

Regards
0
iphone
Asked:
iphone
2 Solutions
 
mostenscerCommented:
well i know thats not what you looking for but u can put those users in a group and then assign group permissions it should
work
0
 
antoxaCommented:
yes this right
f.e.
useradd -g users -d /home/user1 -s /bin/bash user1
useradd -g users -d /home/user2 -s /bin/bash user2
mkdir /home/users
chown -R user1:users /home/users
chmod -R 775 /home/users
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now