mannetje
Group: Members
Posts: 15
Joined: April 2006 |
|
Posted: May 02 2006,18:30 |
|
Quote (mikshaw @ May 02 2006,13:52) | sudo chmod 775 /opt
As long as /opt is still owned by root.staff (which it should be on a clean system) then user dsl, who is a member of "staff" group, will be able to write to /opt. If the ownership of /opt has somehow been changed to root.root (from a poorly-made mydsl, for example) you can do sudo chown root.staff /opt to fix it. If you need to have write access to subdirectories inside /opt, they would need to be created by user dsl after the chmod command is run, or else they would need to be individually chmoded afterward.
Some might say you could chmod /opt recursively, but that's a bad idea unless you know exactly what you're doing, or want to use a more complex command to chmod only the directories.
In any case, whiteweasel did explain how to chmod a file, and recommended some important documatation. It would benefit you more in the future if you learned what you're doing and why you're doing it rather than just pasting commands. Just an opinion. |
thx but already some friend helped me out, anyway thx for your help...
|