tech-install archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: build.sh: arbitrary write permissions on built files?



Frédéric Fauberteau <triaxx%NetBSD.org@localhost> writes:

> I used build.sh for building NetBSD-9.0_BETA/amd64 sets and it is a
> awesome tool! When I tried to upgrade a machine using sysupgrade, I
> realized that I forgot the x{base,comp,...} sets. It is when I
> reupload the newly built release I realized that some files had
> read-only permissions (because permission denied during scp). On the
> system where I built the release, I get:
> $ ls -l amd64/binary/kernel/
> total 42324
> -rw-r--r-- 1 triaxx users      508 10 oct.  23:21 MD5
> -r--r--r-- 1 triaxx users 10109837 10 oct.  23:11 netbsd-GENERIC.gz

Arguably it's a bug that they are different.

But, I'd say 444 is right, and you should use scp -pf if that's what you
want.


Home | Main Index | Thread Index | Old Index