Solved

Multiple user permission on a folder

Posted on 2006-07-19
2
504 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
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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
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 several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

770 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