Quote (mannetje @ May 01 2006,15:22) |
i need user dsl to have permittions over the /opt directory how? |
Quote (whiteweasel @ May 01 2006,17:14) | ||
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. |
Quote (mikshaw @ May 02 2006,08:00) |
User dsl has permissions to execute in /opt, and to read and write some existing files (DSL-specific stuff, mostly). If this is not the case, then something went wrong on your end. If you want to write new files to /opt as dsl, you should chmod 775 /opt, but as whiteweasel said there is really little reason to do this. opt is a system directory, and should therefore not be writeable by regular users. Changing this behavior opens your system to a greater chance of corruption. It's your choice, of course, but I'm just letting you know that so far I have never heard any useful reason for doing this. |