/srv/irclogs.ubuntu.com/2017/08/12/#ubuntu-server.txt

EpicCyndaquilhey everyone, apt-get keeps grabbing packages that dpkg claims are corrupted. How do I start troubleshooting this? simply removing the package from /var/cache/apt/archives and trying again seems to fix it all the time, but it's happening too often to just be an odd occurrence.04:36
=== Guest58400 is now known as lordievader
lordievaderGood morning07:45
=== ogra_ is now known as ogra
=== hakra is now known as sammyg
wolflarsonEpicCyndaquil, I used to have that issue when I ran a squid server on the network until I whiltelisted my mirrors16:36
EpicCyndaquilwolflarson: I'm not running squid, but I do have a virtualized pfsense, and I'm wondering if something between there and VirtIO is causing issues. got some "unexpected end of data stream" issues, so potentially a timeout setting somewhere?16:55
wolflarsonyou might expect that every time not just intermittenlty17:00
EpicCyndaquilI'm at a point where I can't download something after repeated attempts, it's happening that frequently.17:01
EpicCyndaquiland I'm still having the issue this morning, so I doubt I can blame the internet.17:02
drabEpicCyndaquil: but apt-get update doesn't complain?19:40
drabEpicCyndaquil: what happens if you wget that samne link and then try to dpkg -i it ?19:41
drabdoes it also complain that ti's corrupt?19:41
tafa2when editiing cron with "crontab -e" where is that actual file save on ubuntu 16? I cannot for the life of me seem to find it?19:42
tomreyntafa2: /var/spool/cron/$USERNAME19:43
drabtafa2: /var/spool/cron/crontabs/$username19:43
oerheksIt is stored in the directory: /var/spool/cron/crontabs  ( per user)19:43
drablol19:43
tomreynokok i was slightly wrong ;)19:44
tafa2I love IRC sometimes :)19:44
tafa2Thanks guys got it!19:44
oerheksis it $user or $username, tom ?19:44
oerheksi usually use $USER19:45
oerhekshmm found it myself, echo $USER gives the name, $USERNAME blanc19:46
tomreynright, so two mistakes there ;)19:48
oerheksno no, i learned something today \0/19:49
tomreyn:)19:50
drabI know it's a bit far fetched as a question, but anybody around with ubiquiti hw?19:51
drabthey shorten their than to ubnt so close enough maybe :P19:51
tafa2so I've got a folder: /data/backups/ - Inside I've got folders: /user1/ /user2/ /user3/19:59
tafa2I'm having a hell of a time dissalowing users1-3 from listing contents of /data/backups/ whilst still having access to /data/backups/user1-3/20:00
tafa2currently /data/backups/ belongs to root:root20:00
tafa2and /data/backups/user1/ <- chown user1:user1 /user1/ && chmod 0750 /user1/20:01
drabtafa2: chmod 751 /data/backups/20:06
drabthat gives x (execute) to all, (ie your users). x on a directory means able to cd into it20:06
drabbut no "r", read, which is what you need to list files in a directory20:07
tafa2ah i see20:07
drabtry this for yourself: cd /tmp20:07
tafa2that was the missing element...20:07
drabmkdir a ; mkdir a/b ; mkdir a/c20:07
drabsudo chown root:root a ; sudo chmod 750 a ; ls -l a/ -> error20:08
drabsudo chmod 755 a -> works and can list20:08
drabsudo chmod 751 a -> cannot list, but ls -l a/b works20:08
tafa20o20:10
tafa2works a treat20:10
tafa2thanks man20:10
tafa2anyone use borgbackup?20:35

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!