mannetje
Group: Members
Posts: 15
Joined: April 2006 |
|
Posted: May 02 2006,10:31 |
|
Quote (whiteweasel @ May 01 2006,17:14) | Quote (mannetje @ May 01 2006,15:22) | i need user dsl to have permittions over the /opt directory how? |
Permissions to do what? Read, execute, write, or all of the above? Why is this something you wouldn't do as root using sudo? Before you open up your software to the world you might want to consider the security implications.
In any case, as root, you would type in:
chmod <number> <path>
where the number (three digits) sets the permissions for the owner, group, and world. World means everybody.
1= execute 2=write 4=read
Numbers are addititive. So, for example, if you wanted opt to be open to the world (including dsl) for reading and executing but not for writing, but you wanted root (the owner) to be able to do anything you might do:
sudo chmod 755 /opt
I highly recommend reading the man page for chmod, chgrp, chattr, chage, etc... and learn basic UNIX/Linux security. You really don't want to leave things open to the world if you don't have to. |
i need permissions for user dsl to read write and execute in /opt
|