Solved

Multiple user permission on a folder

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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
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…
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.:

690 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