Multiple user permission on a folder

Posted on 2006-07-19
Last Modified: 2012-05-05

      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.

Question by:iphone

Assisted Solution

mostenscer earned 200 total points
ID: 17143627
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

Accepted Solution

antoxa earned 300 total points
ID: 17143658
yes this right
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

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

In this tutorial I will explain how to make squid prevent malwares in five easy steps: Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now