Re: file permissions

2022-10-30 Thread K0LNY_Glenn
Thanks Jude, Actually, I only needed the first one, then I was able to send it to my windows computer. Glenn - Original Message - From: "Jude DaShiell" To: "K0LNY_Glenn" ; Sent: Sunday, October 30, 2022 7:19 PM Subject: Re: file permissions The exit for

Re: file permissions

2022-10-30 Thread Jude DaShiell
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 "There are four boxes to be used in defen

Re: file permissions

2022-10-30 Thread Jude DaShiell
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 toge

Re: file permissions

2022-10-30 Thread Jude DaShiell
I hope you didn't. Chown changes the owner of the file. If your user account was glen, you could have done chown glen and you'd have to be root to have done that to the files in your user directory. The chmod command is what takes a number as a parameter ahead of the file name. Jude "There ar

file permissions

2022-10-30 Thread K0LNY_Glenn
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 denie