ColinHarrington | what IRC clients are folks using? | 17:23 |
---|---|---|
Obsidian1723 | Konversation and irssi here | 18:16 |
Obsidian1723 | I want to (in a bash script) make it sudo chown username:user-group specific-file-name-here.xls whereas it changes owner to whoever the current user is. best way to do that would be how? | 19:02 |
ripps | Obsidian1723: i think the current user is stored in the enviornment variable LOGNAME | 19:34 |
Obsidian1723 | how do I find that? $LOGNAME ? | 19:37 |
Obsidian1723 | and what about their group? | 19:37 |
ripps | Obsidian1723: I think according to ubuntu standard settings, user and group are both the same. For me, most of the files in my home are ripps:ripps | 19:39 |
ripps | Obsidian1723: what exactly are you trying to do? | 19:40 |
Obsidian1723 | when my install script runs, it downloads a bunch of files which are owned by root, ansd I want them changed over to the current user. | 19:50 |
Obsidian1723 | that worked perfectly thanks | 20:01 |
Obsidian1723 | ripps thanks man... you can see what I was doing in the script... http://dl.dropbox.com/u/914191/install-script.sh | 20:19 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!