Date: Thu, 12 Sep 2002 20:34:37 +0200 From: Andreas Wideroe Andersen <andreas@eunet.no> To: freebsd-questions@FreeBSD.ORG Subject: tar: user/group= 501 & Changing symlinks owner/group Message-ID: <5.1.0.14.2.20020912202103.02799e30@pop.eunet.no>
next in thread | raw e-mail | index | archive | help
System: FreeBSD 4.6 STABLE Hi, Everytime I (root) issue a tar -xvf somefile.tar the user and group of the "untar'ed" files/dirs become 501: -rwxr--r-- 1 501 501 4275 May 22 16:00 show_rechis.php -rwxr-xr-x 1 501 501 7111 May 18 12:01 status.php -rwxr-xr-x 1 501 501 7364 May 22 03:15 status_file.php lrwxr-xr-x 1 501 501 9 Sep 12 19:52 t3lib -> ../t3lib/ -rwxr-xr-x 1 501 501 7092 May 24 15:11 tce_db.php -rwxr-xr-x 1 501 501 6770 May 22 03:15 tce_file.php drwxr-xr-x 3 501 501 20480 May 24 16:46 temp How come? I want the user/group to be set to Ie. test:test, but a chown -R test:test * doesn't change the owner/group of the symbolic link. I've read in man 7 symlink where it says symbolic link owners can be changed using lchown. I don't seem to have the command lchown... What can I do, except for deleting the symlinks and link them up again? Thanks for any suggestions! /Andreas --- Andreas Wideroe Andersen <andreas@eunet.no> Cellulare GSM: (+47) 909 26121 http://www.8mm.filmshooting.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.1.0.14.2.20020912202103.02799e30>