Solved

Multiple user permission on a folder

Posted on 2006-07-19
2
506 Views
Last Modified: 2012-05-05
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
Comment
Question by:iphone
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 2

Assisted Solution

by:mostenscer
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
work
0
 
LVL 1

Accepted Solution

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

Industry Leaders: 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!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

738 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