Droo
07-05-2001, 12:47 PM
No this isn't a perverted question...
I'm kind of embarrassed to admit this, but I obviously still have a lot to learn about *nix.
I've got my new system up and running. I converted all but / to reiserfs, but in moving stuff to the reiser partitions my permissions were set to 755 on the /tmp directory. It took me a while to realize that this was causing problems starting X as a user (hey I'm no expert), but I finally realized I had to set write access to /tmp for everybody.
I did a man chmod to read about the various flags. I had heard about sticky bits before, but to tell you the truth, I don't understand them that much.
I decided to chmod 777 /tmp, then a chmod +t /tmp. From my understanding, this means that everyone can write to the /tmp directory, but can only modify files they created or otherwise own. Otherwise, w/o the t bit, anyone with write access could modify anything.
Have I done this the proper way? It's only a desktop we're talking about, but I want to know the proper security.
I'm kind of embarrassed to admit this, but I obviously still have a lot to learn about *nix.
I've got my new system up and running. I converted all but / to reiserfs, but in moving stuff to the reiser partitions my permissions were set to 755 on the /tmp directory. It took me a while to realize that this was causing problems starting X as a user (hey I'm no expert), but I finally realized I had to set write access to /tmp for everybody.
I did a man chmod to read about the various flags. I had heard about sticky bits before, but to tell you the truth, I don't understand them that much.
I decided to chmod 777 /tmp, then a chmod +t /tmp. From my understanding, this means that everyone can write to the /tmp directory, but can only modify files they created or otherwise own. Otherwise, w/o the t bit, anyone with write access could modify anything.
Have I done this the proper way? It's only a desktop we're talking about, but I want to know the proper security.