[02:25] Hey guys, I have a question about permissions === jaybot is now known as Jaybroni [02:30] Hello? [02:31] anything I can help with? [02:31] Hi Ian, I think you helped me six months ago haha [02:33] My question is about permissions [02:34] I have a personal ftp server setup and and it's all working but I want to clean up my permissions somewhat [02:34] using users and groups [02:35] I just wonder if you can link me to a good template for setting up users and groups for FTP [02:35] for example: [02:36] home/sharing samba:guests u+rwx g+r_x [02:37] home/sharing/uploads samba:guests u+rwx g+r_x o+rwx [02:37] guests group has: sharing, samba [02:37] and my ftp users login with sharing [02:38] that's what i'm thinking of implementing, but I want it so future files and directories uploaded in the /uploads folder automaticaly are assigned to samba:guests [02:41] I want both samba and sharing(ftp) users to read everything, and ftp users to write to uploads only [02:41] but my system is a mess [02:42] Do you know of anybody who has setup both FTP and Samba to share the same media? How did they design the permissions? [02:45] Ah I am not an expert on FTP or samba really [02:45] ok no worries, just writing it out here gave me some perspective [02:46] i'm going to reassign all the users to just two groups: 1) guests 2) admins [02:47] thanks for your help today and last year :P my lubuntu server has been humming along for awhile now. [03:27] Jaybroni: this might give you a good overview of how to get set up with a simple Samba server: https://help.ubuntu.com/community/Samba/SambaServerGuide [03:29] I don't have an FTP server setup on my home server, but I use SFTP, which is based on SSH, so it uses the user's permissions from Ubuntu [03:30] which, should be, and should be able to be used instead of FTP [03:30] You can dive deeper using a lot of these links: http://askubuntu.com/questions/126850/how-do-i-use-ubuntu-server-as-file-server/112167#112167 [03:30] exactly :) [03:30] make users, give them access.. boom [03:31] I'd not recommend you use ftp, quite unsecure. [03:31] you can connect to an ssh share from "normal"clients.. like, if a client had filezilla, and was used to using ftp.. its not a big difference sftp.. [03:31] fot hem [03:31] for them* [03:32] Thanks for the advice guys, I'm using FTPS [03:32] SFTP is setup as well, but isn't FTPS faster? I haven't done any tests but that's what i heard [03:33] ssh is the current running suggestion.. [03:33] are you having issue with speed? [03:34] personally, i dont use samba like that either.. only locally when i do.. [03:34] I just heard ssh file transfer is the slowest of the three options [03:34] i dont put samba outside my firewall [03:35] yeah my lan machines are all assigned to one group, and that group is given full permission in samba [03:35] Jaybroni: you heard? [03:35] i googled* [03:35] Jaybroni: so, you are having issues with speed? [03:35] Jaybroni: have you tried it? if not, try it.. [03:35] because ssh encrypts everything it takes a performance hit. Whereas FTPS encrypts only the authentication and is a good balance between SSH and plain old FTP [03:36] safe, fast, easy... you may not be able to use all these words in a sentence about your setup.. [03:36] Yeah I'm going to turn a test right now [03:36] FTPS vs SFTP vs FTP stay tuned :) [03:36] transfer rate [03:37] use rsync rather than scp. [03:38] ssh is the industry standard [03:38] there literally is no other contender.. to the point of concern about it being the only game in town [03:40] ok so the results are in: using Filezilla as the client, the winner was SFTP (ssh) by .1MBps [03:41] So I'm going to switch to SFTP since FTPS was a bit tricky to implement active/passive through nas, etc. [03:41] im still not sure you are getting the testing right, since, i dont think you are using an ssh server [03:41] but, for the client end, which i assume needs to be filezilla, you can switch to ssh, and they can still connect in [03:42] note: I didn't test plain old ftp because I need security [03:42] I have openssh [03:42] cool.. becuase, before, you had samba and ftp outside the firewall.. [03:43] my testing was all done over lan [03:43] what? samba outside the firewall? what are you talking about [03:44] anyway thanks for the advice guys [03:44] Jaybroni: thats what you were talking about [03:44] let's leave that a mystery [03:45] Jaybroni: its not by box, so, i have no skin in the game [03:45] i suggest that you not leave *anything* a mystery on a server machine like that outside the firewall.. [03:45] I still need to improve the way my permissions are organized but I will check out the links you guys suggested for that. Thanks again [03:45] why? [03:45] what are you talking about, my server is behind a firewall [03:46] if its inside your firewall, on your lan.. and you have normal user permissions, sudo, etc.. whats the issue? [03:46] Jaybroni: then, whats the issue? [03:46] why are you "cleaning up permission" just for you? [03:46] what have you broken? and why? [03:47] Because SFTP (only, not Samba) will be connected to remotely from the WWW [03:47] Jaybroni: *that* is outide your firewall.. [03:47] Jaybroni: that is what you may want to reconsider.. connecting to samba from www, or whatever you want to call it [03:47] Yes. I have port forwarding setup for FTP but not Samba [03:48] you said samba and all this junk about it being outside my firewall [03:48] right.. and, thats bad [03:48] Jaybroni: thats what forwarding a port does, friend [03:48] puts the machine accessible.. bypassing the firewall.. [03:48] holstein: He's only talking about (s)ftp(s) outside of the firewall, not samba as far as I can tell.. [03:48] what is the problem [03:48] yes Unit193 [03:48] Jaybroni: ftp public like that [03:49] using ssh there would be preferable, and, you can still connect with filezilla.. [03:49] it requires a username and password, and connects via FTPS or SFTP. Plain old FTP is disabled [03:50] Jaybroni: as i said before,i wouldnt leave that a mystery.. only you know if its secure or not.. if its me, i use ssh there.. not ftp [03:50] The only remote access is through FTP with Explicit TLS or SSH [03:50] no form of ftp.. [03:50] there's a difference between plain FTP and FTP with Explicit TLS [03:50] I don't use plain ftp [03:51] Jaybroni: i wouldnt know, i dont use ftp. i use ssh [03:51] Jaybroni: im not interested in having *any* ftp outside my firewall [03:52] If you think FTP with TLS is insecure you have some googling to do [03:52] Jaybroni: *i* dont.. i dont use ftp [03:52] I'm pretty sure we're not getting anywhere here. [03:53] Perhaps we should move on? [03:53] i can tell [03:53] agree [03:53] I've been traying actually, hence my 'leaving it a mystery' comment [03:54] my mistake though was leaving out the S after FTP a few times, out of laziness :P [03:54] anyway thanks for the tips guys [03:55] I'll be switching to SFTP for several reasons [03:55] SFTP aka SSH FTP [06:52] howdy! [06:52] i have a 64bit 1gb ram 16gb storage tablet. how's installing 64bit lubu on that? === mucus__ is now known as mucus [09:59] When I create a usb boot stick using the standard procedure it refuses to boot. Is that a known problem? [10:04] The message is Missing parameter in configuration file. Keyword: path\n gfxboot.c32: not a COM32R image [10:04] In case anybody cares. ;) [10:42] Hello [10:44] Tadurin: yeah, that is a known issue: https://bugs.launchpad.net/ubuntu/+source/usb-creator/+bug/1325801 [10:44] Launchpad bug 1325801 in usb-creator (Ubuntu Utopic) "failed to boot from USB disk with error: gfxboot.c32: not a COM32R Image boot:" [Critical,Triaged] [10:44] Tadurin: just type "live" and hit enter and it will boot [10:46] Tap tab twice to see options too, but ^ [10:57] Unit193: yeah, I had already found that [15:12] hrm [15:12] how do I turn off the touchpad on my laptop in lubuntu? Is there no GUI tool for that? [15:12] I think there was an xset command... [15:13] Tadurin: there might be a function key for it built in - did you try that? [15:13] no, like what? [15:13] Tadurin: most laptops have a key combo to press that could disable the touchpad on the laptop - it varies by manufacturer and model [15:14] mine doesn't work [15:14] i'm sure you can do this with synaptics [15:14] this is a welcome change from fightning tox [15:15] synclient TouchpadOff=1 [15:15] wxl: i think it depends on the laptop - i've had luck with dell acer hp and asus laptops, so... [15:15] I find it very irritating that it doesn't matter which keyboard layout I chose on the login screen. [15:16] It always uses the same one. :p [15:16] xinput disable "$(xinput list --name-only | grep Touchpad)" [15:16] or [15:16] xinput set-prop "$(xinput list --name-only | grep Touchpad)" "Device Enabled" 0 [15:17] Tadurin: sounds like a lightdm bug [15:20] i wonder if setxkbmap -layout "jp" (or whatver you want) won't fix your layout issue [15:20] oh better [15:20] you can set what you want in /etc/default/keyboard [15:44] wxl: yeah, but if different users want different layouts you're still screwed [15:44] you can add multiple keyboard layouts tad [15:45] O_o [15:45] wxl: how do I select them, then? [15:45] that's beyond my level of understanding XD [15:46] sorry i've only got one language and one keyboard layout to worry about :( [15:54] thanks anyway! :) [16:05] Tadurin: about selected keyboard layout - you may have corrupted your setup - normaly it works. [16:06] Tadurin: and last - the user settings may always override what you select at login-screen - because user-settings are the last in the row and should rule [16:07] Tadurin: if you need diffent keyboard-layouts for a user - add those layouts and let the user switch them as wanted during his work and maybe even special for different windows [16:07] in what row? [16:07] i'm confused [16:08] Tadurin: the row how configs are activated -- and why are you confused? [16:08] okay so on the login screen I have a keyboard layout selector in the top right [16:08] which does nothing apparently [16:09] Tadurin: this works if the user has not setup special layouts [16:09] and where would the user do that? [16:09] Tadurin: as far as i know the default is to use the global system keyboard layout in the preferences ... [16:11] Tadurin: have you ever tried the kb-layout setup with the little icon in the menu-panel? [16:11] on the login screen? [16:11] Tadurin: no - after login in the user-panel [16:12] you mean the input method settings? I have those open, yes. [16:13] Tadurin: thats boreing for me -sorry - you should check the docs about it === Mr_Comet is now known as Comet|Away