Subj : This is why FreeBSD... To : Angus Mcleod From : Sniper Date : Sat Aug 14 2004 12:44 am -=> Angus Mcleod Scribbled to All <=- AM> @MSGID: <411CDE04.4091.dove-lnx@mybbs.com> AM> ...will always be a bullshit operating system: AM> $ echo "Hello world" > hello.text AM> $ ls -l hello.txt AM> -rw-r--r-- 1 amcleod anjo 6 Aug 13 15:27 hello.text AM> chown freddy hello.text AM> chown: hello.text: Operation not permitted AM> $ man chown AM> CHOWN(8) FreeBSD System Manager's Manual AM> CHOWN(8) AM> NAME AM> chown - change file owner and group AM> . . . AM> The ownership of a file may only be altered by a super-user for AM> obvious AM> security reasons. AM> What rubbish! So the OWNER of the file is not allowed to give it to AM> someone else? WTF is write permissions for if not to decide who can AM> modify the file, such as changing ownership? I'm hoping you didn't cut and paste all of the above... AM> $ echo "Hello world" > hello.text AM> $ ls -l hello.txt AM> -rw-r--r-- 1 amcleod anjo 6 Aug 13 15:27 hello.text AM> chown freddy hello.text AM> chown: hello.text: Operation not permitted AM> $ man chown Trying to figure out how it found the hello.txt when you "Created" hello.text. But your ls -l hello.txt would be hard to find unless you renamed the hello.text to hello.txt, or it was already there when you started. :) So, which is it? :) Ah, no, that won't work because of the security risks it would create. The ability to overwrite system files... etc... Humm... lemme chown this new passwd file to root, then I can copy it over the passwd file in /etc. No... I don't think I'd like that capability. Do like everyone else... if you want to give the file to someone, then su to root, ftp or e-mail it. :) By the way, you can't do it in Linux either, unless you've given yourself SuperUser rights... :) .... Cats *are* smarter than dogs! Eight cats won't pull a sled. --- MultiMail/Linux v0.43 þ Synchronet þ Killed In Action BBS Telnet://kia.zapto.org * Origin: Joe's Computer & BBS -=joesbbs.com=- (1:275/312) .