The exit for you will be to do an operation as root. chown glen /home/glen/logfile on each of those files. Then chmod 644 /home/glen/logfile That gets the user read/write permission and everyone else only read permission. A safety measure perhaps.
Jude <jdashiel at panix dot com> "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) . On Sun, 30 Oct 2022, Jude DaShiell wrote: > The chmod command mostly uses a two-dimensional matrix. The first column > is user, the next is group and the third is world. One number for each of > those. > Each of those numbers is built with a 4 for read, a 2 for write and a 1 > for execute. So you add those numbers and that's how chmod is put > together and then there's the sticky bit. > > > > Jude <jdashiel at panix dot com> "There are four boxes to be used in > defense of liberty: > soap, ballot, jury, and ammo. Please use in that order." > -Ed Howdershelt (Author, 1940) > > . > > On Sun, 30 Oct 2022, K0LNY_Glenn wrote: > > > Hi, > > I'm trying to transfer some files from my Debian via teraterm using scp to > > my windows computer and I get permission denied. > > These are log files from /var/logs. > > I copied them as root from there to my home user folder, and there I did > > chown 777 on the files, but I still get the permission denied. > > I then tried to sudo su in the teraterm session, and even logged in as root, > > I still get the permission denied message. > > So I copied the two files to /home and got the same error. > > Is there another way to make these files transferable? > > Thanks. > > > > Glenn > > > > > >

