|
[12:56] <jlamothe> Does anyone here have any experinece with lubntu? |
|
[16:36] <willwh> jlamothe: a bit yah |
|
[16:36] <willwh> although I am not running it currently |
|
[17:00] <jlamothe> I've just switched my netbook over to lubuntu, and was wondering if thers a way to get the mail notification icon that regular ubuntu has. |
|
[17:00] <jlamothe> There's a popup that shows up, but that only does me any good if I happen to be looking at the screen when it happens. |
|
[17:11] <willwh> this may help? http://ubuntuforums.org/showthread.php?t=1959611 |
|
[17:14] <jlamothe> This looks promising. Thanks. |
|
[17:17] <willwh> np |
|
[19:48] <willwh> hey guys |
|
[19:48] <willwh> random Q |
|
[19:49] <willwh> I use apache + usermod |
|
[19:49] <willwh> I want to give access to a friend to be able to write to my /home/willwh/public_html/somedir |
|
[19:49] <willwh> so I created a new group "web" - added willwh, and the other user to the group |
|
[19:50] <willwh> chown -R willwh:web ~/public_html/somedir/ |
|
[19:50] <willwh> I can use WinSCP with the other account - and it does save file changes |
|
[19:50] <willwh> but WinSCP is throwing permissions errors |
|
[19:50] <willwh> hjalp! :) |
|
[20:10] <Chex> willwh: sounds like a job for S-ticy bit |
|
[20:10] <Chex> Sticky |
|
=== johanbr_ is now known as johanbr |
|
[20:36] <willwh> Chex: huh? :] |
|
[21:01] <Chex> willwh: http://en.wikipedia.org/wiki/Filesystem_permissions |
|
[21:01] <Chex> willwh: take a look at sticky bits |
|
[23:01] <willwh> thx |
|
[23:04] <willwh> Chex: well... I read it, didn't fully understand |
|
[23:09] <BobJonkman> willwh: The sticky bit on the Group permission for a directory will give the same permission to all folders and files created under that directory |
|
[23:09] <willwh> so how do I set that? |
|
[23:09] <BobJonkman> It's a way to ensure all files and directories created have the same group owner |
|
[23:10] <BobJonkman> It's been a while, but from memory: chmod -R g+S folder/ |
|
[23:10] <BobJonkman> -R make it recursive so it applies to all subfolders |
|
[23:10] <BobJonkman> g+S set the Sticky Bit for Group |
|
[23:11] <willwh> ah :) |
|
[23:12] <BobJonkman> So now, whatever user:group ownership you have on "folder/" will automatically apply to new folders and files you create under folder/ |
|
[23:12] <willwh> mmm |
|
[23:12] <willwh> g+S didn't seem to work |
|
[23:12] <BobJonkman> My memory ain't what it used to be |
|
[23:12] <willwh> ;] |
|
[23:13] <BobJonkman> If you're not already the owner of that folder (and its subordinates) then you might have to sudo that |
|
[23:14] <willwh> I did |
|
[23:14] * BobJonkman experiments on a temp folder |
|
[23:15] <BobJonkman> hmmm... chmod -R g+s folder/ works, but I remember something about a difference between g+s and g+S |
|
[23:16] <BobJonkman> And funny thing, applying g+s still shows with a S when I ls -l |
|
[23:18] <willwh> https://help.ubuntu.com/community/FilePermissions#Sticky_Bit |
|
[23:18] <willwh> :D |
|
[23:19] <willwh> grrrrrrrrr |
|
[23:19] <willwh> I set get perm issues from winscp |
|
[23:19] <willwh> it is saving it |
|
[23:19] <willwh> but puking and saying permission errors |
|
[23:21] <BobJonkman> That link shows adding sticky bit to "Other" permission. I've only used it with Group. |
|
[23:21] <willwh> ah |
|
[23:22] <willwh> The sticky bit. It's needed for "other" in shared directories like /tmp. It's needed for "group" in shared directories where write permission is given to a group, like /var/www |
|
[23:23] <BobJonkman> That's right, so that any files and directories created get the same permissions and ownership as the parent |
|
[23:23] <BobJonkman> In other OSes it's called Inherited File Rights |
|
[23:24] <BobJonkman> And other OSes (I'm thinking Netware, not Windows) the file system has a lot more finesse over assigning file rights. |
|
[23:25] <BobJonkman> Linux file permissions are great for their simplicity (mostly), but lacks fine-grained control. |
|
[23:25] <BobJonkman> I've never played with it, but there's a whole set of extended file rights available |
|
[23:25] <BobJonkman> Can't think of the package that provides it; it'll come to me |
|
[23:26] <willwh> https://gist.github.com/24e8aa1edb9b7a521ef5 |
|
[23:26] <willwh> so that is actually at /home/willwh/public_html/ilovedf |
|
[23:27] <willwh> I have a user account called "zealot" - whose home directory is set to /home/willwh/public_html/ilovedf |
|
[23:27] <willwh> so when I SCP in, that is what I get |
|
[23:28] <willwh> zealot is also in the "web" group |
|
[23:31] <BobJonkman> There's a way of assigning permissions to specific accounts with Access Control Lists |
|
[23:32] <BobJonkman> ACLs are more like what I'm used to on Netware and Windows |
|
[23:32] <BobJonkman> man acl |
|
[23:32] <BobJonkman> Haven't played with ACLs on Linux, and I suspect you don't need it for what you're trying to do |
|
[23:35] <willwh> ye |
|
[23:35] <willwh> I just want to let one user account edit crap in a dir under my user's home dir |
|
[23:36] <BobJonkman> try setting the group owner for that folder to that user's home group |
|
[23:40] <BobJonkman> Sorry, willwh, I've gotta go. I suspect I'm not being all that useful anyway... |
|
[23:40] <willwh> np BobJonkman thx for the assistance!! |
|
[23:41] <BobJonkman> you're welcome, for what it's worth. |
|
[23:41] <BobJonkman> I'll be back in a couple of hours. Dinner needs to be made and eaten |
|
|