[06:30] <lordievader> Good morning
[08:59] <jamespage> rbasak: morning
[09:05] <jamespage> rbasak: if you're on SRU duty and have cycles today I have ceph updates including a security fix in the UNAPPROVED queue for focal/groovy/hirsute
[09:12] <jamespage> rbasak: I'm also happy to upload a new version for impish to avoid the binary copy forward you raised on the ML if that helps get things moving
[09:40] <rbasak> Hi!
[09:41] <rbasak> tjaalton (not here) is doing SRUs at the moment I think. Maybe try him in #ubuntu-release?
[09:41] <rbasak> jamespage: ^
[09:48] <jamespage> rbasak: ta
[09:55]  * rbasak will be offline for a bit
[13:57] <jersten> Hi all. I'm something of a Linux newb but I'm trying to learn. I have read that Ubuntu can read/write files in an NTFS drive. Does anyone have experience with doing this? And can say for sure that it works out
[13:57] <rbasak> It's worked for me in the past, but my use case was quite limited.
[13:58] <jersten> I ask this because some of the computers on my home network still have to run windows for the time being. I want these windows computers to be able to make use of the ubuntu file server.
[13:59] <rbasak> If going over the network to Ubuntu, it doesn't really matter what filesystem is being used on the Ubuntu end - so I wouldn't use NTFS.
[13:59] <jersten> rbasak: My use case is just storage of video files and other random home network type of stuff
[13:59] <rbasak> You're probably more interested in things like Samba.
[13:59] <jersten> So I should probably just use ext4? The windows machines won't care about that?
[14:00] <rbasak> Right
[14:00] <rbasak> What will matter is the protocol they're speaking over the network.
[14:00] <rbasak> Samba is one option - probably the most common one for what you want to do.
[14:00] <rbasak> Samba is the software that you will run on Ubuntu, and will speak to Windows over the network using Windows protocols.
[14:01] <rbasak> I expect you'll be able to configure Samba on Ubuntu so that Windows can read and write your media files directly over the Samba-exported network share.
[14:02] <rbasak> Though I'm not familiar with the latest on that. It certainly used to be possible without a problem. It got a bit more complicated after some security updates on Windows removed support for some of the older protocols I think.
[14:02] <rbasak> I'm not familiar with what happened after that.
[14:02] <jersten> Once the Ubuntu server is set up, will it be visibile on the network to all other computers? For example, will they be able to see it when you click on the "Network" tab in the OS? That way I can just click and drag files for copying.
[14:02] <rbasak> But basically the Samba project is focused on solving exactly this type of problem so I expect they'll have plenty of documentation on the current state of affairs and how to do it.
[14:02] <lordievader> For the incidental reading and writing it is fine. Personally I try to keep NTFS on a read-only policy in Linux. And it can be troublesome with the partition not willing to mount because Windows did a hibernate-esque shutdown instead of a clean shutdown and such.
[14:02] <rbasak> jersten: yes - if you configure Samba.
[14:03] <lordievader> jersten: In that case you just want to use samba to export your ext4 drives.
[14:03] <rbasak> jersten: start here: https://ubuntu.com/server/docs/samba-file-server
[14:03] <jersten> lordievader: Yes I have turned that weird hibernate thing off in windows, I don't like it much. So that won't be a problem for me this time.
[14:05] <jersten> I also have two other Linux computers on the network. Both run Manjaro KDE. So it's still appropriate for me to make use of Ubuntu Server, correct?
[14:05] <jersten> I have Samba installed, and that was my first attempt at making some form of home server. But it doesn't seem to want to keep my settings. I don't know if updates messed them up.. or what. I bought a book on Samba lol
[14:07] <jersten> I find the Samba config file to be kind of strange. Not all of the settings that you can make use of are listed there by default. I thought people who write programs always put all the settings you'd need in the config file. I guess not.
[14:10] <jersten> Here is another question: I have a 1Tb HDD for the Ubuntu Server. I formatted it to ext4, but it won't let me copy anything to it. Says "permission denied" or something like that. Why is that? My account is the administrator on this PC. Shouldn't it just do whatever I want?
[14:12] <rbasak> It's a bit like UAC on Windows.
[14:12] <rbasak> You have the power to do whatever you want, but it's useful for the system to use the permissions system to prevent accidents.
[14:12] <rbasak> (and malicious software, etc)
[14:12] <rbasak> So even though you're in the admin group, you're not "root".
[14:13] <rbasak> But you can elevate your privileges to root.
[14:13] <rbasak> It might be better to change the permissions on that filesystem to allow your regular user to write to it though, instead of always running with elevated privileges.
[14:15] <lordievader> jersten: You most likely have a config sample (`/usr/share/doc`) with all settings. I'd normally try to keep my config files clean of any setting that I haven't adjusted. That way you can quickly see what is different from the defaults.
[14:17] <jersten> sounds like a good idea. just make a copy of the original config file?
[14:19] <jersten> rbasak: Once you take control of that drive, it's yours forever, right? Unless you formatted it or something. So I created a new ext4 drive. I want to own it so I can read/write to it. I tried many of the chown commands, but none of them seemed to work.
[14:20] <jersten> Maybe someone can post the command to permanently own the drive. And I will tatoo that command on my arm... been dealing with this for awhile now
[14:26] <teward> rbasak: wanting to write across disk, I'd suggest ACLs with special permissions, but that is its own hell too.  RE: your changing permissions issue.
[14:26] <teward> unless it's a separate disk and dedicated for a specific user in which case chown works well on the ext* partitions ;)
[14:26] <teward> (I came in late sorry!)
[14:26] <lordievader> Well yes and no. Whoever owns the parent dir has something to say about the children dirs. Everything starts with the root (`/`) which is owned by root.
[14:27] <icey> jamespage: any particular reason you committed the change for https://bugs.launchpad.net/nova/+bug/1892361 to the stein branch, but didn't release and upload?
[14:27] <ubot3> Launchpad bug 1892361 in OpenStack Compute (nova) rocky "SRIOV instance gets type-PF interface, libvirt kvm fails" [Medium, In Progress]
[14:28] <lordievader> Running `chown` applies only to the file/dir you supply as the argument. Unless you run it with the recursive (-r) flag. Which could be dangerous in combination with symlinks, make it a habit to whenever you run chown/chmod in recursive mode to add the -h flag so it won't follow symlinks.
[14:29] <lordievader> The danger is that if there is a symlink back to `/` in your directory chown/chmod will try to apply the change there too (if it can).
[14:29] <jamespage> icey: not that I can remeber
[14:30] <icey> jamespage: if you don't mind, then, I'll work on it?
[14:30] <jersten> So how would that command look? As a newb my mind thinks: sudo chown Server1Tb -r -h
[14:30] <lordievader> (Rather funny experiment, inside a virtual machine remove the execute flag for all files on the drive, then try to run something)
[14:30] <jamespage> icey: yp
[14:30] <jersten> I named the driver "Server1Tb"
[14:31] <jersten> Drive** not driver
[14:34] <lordievader> jersten: Take a look at the manual page for `chown` (`man chown`), it will tell you that the user comes before the path, so something like (hrmm, I lied about the recursive flag, its -R): `sudo chown -Rh <user>:<group> <directory>`.
[14:37] <jersten> That's something else that is new to me... the group. How do I find out what group I'm in? I mean I installed Manjaro, I don't remember setting up any kind of group. But apparently it exists
[14:40] <lordievader> `groups` will show all the groups your current user is in.
[14:48] <jersten> Ok I will take a look at that now
[14:52] <jersten> lordievader: It output: "sys network power sambashare lp wheel autologin justin"
[14:53] <teward> jersten: `id` will also show your primary group
[14:54] <teward> my guess is your primary group is your username - the group created for your user.
[14:54] <teward> (default user that gets installed also gets a group with the same name created in a default install)
[14:57] <jersten> that time it output: "uid=1000(justin) gid=1001(justin) groups=1001(justin),3(sys),90(network),98(power),965(sambashare),991(lp),998(wheel),1000(autologin)
[14:57] <jersten> "
[14:57] <jersten> So my primary group is named the exact same thing as my username? Isn't that a little... I dunno. Wrong. Seems like you should have to name it something else.
[14:59] <jersten> So the command to own the drive would be: "sudo chown -Rh justin:justin Server1Tb"
[15:00] <jersten> WAAUGHH!! ... "chown: cannot access 'Server1Tb': No such file or directory"
[15:01] <jersten> Except yeah there is. I'm looking at it right now. It's plugged into a USB 3.0 port via an external HDD enclosure.
[15:17] <jersten> I guess chown doesn't know what I'm actually looking for.
[15:18] <jersten> The command is probably right, except I need to cd or something. Sorry about my newbishness, I've only been a linux user for a very short time.
[15:18] <teward> no worries, we all started there at one point or another :)
[15:21] <jersten> But I got that command! I have the power!
[15:22] <jersten> Thanks to all of you for the help, I'll figure it out later. Goodbye!
[15:52] <Ussat> So, I have a Dr here who wants his Ubuntu 17.10 updated to the latest 18.04 release, this is what I get: https://paste.centos.org/view/35ceee91 How would I get latest snapd for 17, also the 404's
[15:53] <Ussat> root@upgrade-test:~# snap refresh
[15:53] <Ussat> All snaps up to date.
[15:53] <Ussat> so....at a loss here
[16:01] <sdeziel> Ussat: Try with http://old-releases.ubuntu.com/ubuntu maybe?
[16:02] <Ussat> yup...just found that, thanks
[16:06] <Ussat> ewwww
[16:06] <Ussat> Processing was halted because there were too many errors.
[16:07] <Ussat> tons of these:
[16:07] <Ussat> dpkg: error processing package plymouth-theme-ubuntu-text (--configure):
[16:07] <Ussat>  dependency problems - leaving triggers unprocessed
[16:18] <Ussat> Well, think its a wash
[16:23] <Ussat> ok, LOOKS savable..
[16:32] <Ussat> OK, looks doable, with a few other steps, cool
[23:21] <hallyn> hey rbasak -  did the rest of the blog series of https://ubuntu.com/blog/developing-ubuntu-using-git  ever get posted?  (the index entries at the top are not links :)