Excellent,

I've just looked in my current skel and I have:

/bin:
[root@vsone /bin]# ls -l | grep rws
-rwsr-xr-x    2 root     root        18488 Jul 18  2000 chgrp
-rwsr-xr-x    2 root     root        19948 Jul 18  2000 chmod
-rwsr-xr-x    2 root     root        18220 Jul 18  2000 chown
-rwsr-xr-x    2 root     root        40844 Jul 18  2000 cp
-rwsr-xr-x    2 root     root        49560 Jul 18  2000 ls
-rwsr-xr-x    2 root     root        20452 Jul 18  2000 mkdir
-rwsr-xr-x    2 root     root        56208 Feb  3  2000 mount
-rwsr-xr-x    2 root     root        48924 Jul 18  2000 mv
-rwsr-xr-x    2 root     root        26912 Jul 18  2000 rm
-rwsr-xr-x    2 root     root        12996 Jul 18  2000 rmdir
-rwsr-xr-x    2 root     root        19144 May 26  2000 su
-rwsr-xr-x    2 root     root        26608 Feb  3  2000 umount
[root@vsone /bin]# 

Damion.

[EMAIL PROTECTED] wrote:
> 
> Damion,
> 
> yes - that was it!
> 
> I did vsd-genskel.pl without any error.
> What /bin files has to be u+s? I guess chmod chgrp also??
> 
> regards
> 
> jimmy
> 
> am [Thu, 21 Jun 2001 16:10:28 +0100] schrieb Damion Parry <[EMAIL PROTECTED]> 
>:
> 
> > Hello,
> >
> > The only thing I could think of was that the freevsd specific third part
> > packages had not been installed into the skel, but thats a lame excess,
> > and as the version of chown in you're skel is that same as that on a
> > rh6.2 box, I'd say that probably wasn't a cause.
> >
> > Ahh. Just spotted it. chown needs the setuid bit set, and it drops the
> > root perms if the user is anything but admin. How did you create this
> > skel?
> >
> > [root@vsone /bin]# ls -l chown
> > -rwsr-xr-x    2 root     root        18220 Jul 18  2000 chown
> > [root@vsone /bin]#
> >
> > Damion.
> >
> > [EMAIL PROTECTED] wrote:
> > >
> > > Damion,
> > >
> > > hmm - older thread, but I have the same problem now.
> > >
> > > The admin seems to have no rights to change ownership of user files.
> > > Your test below is not replicable - I also get the problem of stenny.
> > >
> > > vsd 1.4.6 (from source)
> > > rh7.0
> > >
> > > no problems on installation
> > >
> > > [admin@linux11 bin]$ ll | grep chown
> > > -rwxr-xr-x   10 root     root        19412 Jan 29 15:43 chown*
> > >
> > > [admin@linux11 /]$ chown --version
> > > chown (GNU fileutils) 4.0p
> > > Written by David MacKenzie.
> > >
> > > Copyright (C) 1999 Free Software Foundation, Inc.
> > > This is free software; see the source for copying conditions.  There is NO
> > > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> > >
> > > What could be the problem??
> > >
> > > many thanks in advance!
> > >
> > > jimmy
> > >
> > > am [Wed, 02 May 2001 16:53:30 +0100] schrieb Damion Parry 
><[EMAIL PROTECTED]> :
> > >
> > > > Hello,
> > > >
> > > > I've just tried to replicate you're problem, but have had no joy:
> > > >
> > > > [admin@vsone ftp]$ ls -l
> > > > total 4
> > > > drwxr-xr-x    2 ftp      ftp          4096 May  2 11:15 incoming
> > > > [admin@vsone ftp]$ chown admin incoming/
> > > > [admin@vsone ftp]$ ls -l
> > > > total 4
> > > > drwxr-xr-x    2 admin    ftp          4096 May  2 11:15 incoming
> > > > [admin@vsone ftp]$ chown ftp incoming/
> > > > [admin@vsone ftp]$ ls -l
> > > > total 4
> > > > drwxr-xr-x    2 ftp      ftp          4096 May  2 11:15 incoming
> > > > [admin@vsone ftp]$
> > > >
> > > > There may be some problems with the packages installed into you're skel.
> > > >
> > > > Damion.
> > > >
> > > >
> > > > Stenny wrote:
> > > > >
> > > > > Dear Ben��
> > > > >
> > > > >                 I know that I did type the syntax correctly, chown ftp 
>filename, the file I want to change ownership which own by admin, but now I want it 
>own by ftp, so I type.
> > > > >
> > > > >                 chown ftp filename
> > > > >
> > > > >                 But it return operation not permitted. Is it VS's admin user 
>cannot change any file's ownership?
> > > > >
> > > > >                 Thanks you.
> > > > >
> > > > > Stenny.
> > > > >
> > > > >
> > > > >
> > > > > �� 2001-05-02 15:00:00 �����
> > > > > >Dear Stenny,
> > > > > >
> > > > > >You are typing the syntax for chown incorrectly.
> > > > > >
> > > > > >It goes like this... chown user[.group] filename
> > > > > >
> > > > > >So in your case you want to do
> > > > > >  chown user ftp
> > > > > >NOT  chown ftp user
> > > > > >
> > > > > >Hope this helps,
> > > > > >
> > > > > >---
> > > > > >Ben Kennish
> > > > > >[EMAIL PROTECTED]
> > > > > >
> > > > > >>
> > > > > >> Dear,
> > > > > >>
> > > > > >>         Don't know whether someone have already ask this question, if yes 
>please tell where to find more information.
> > > > > >>
> > > > > >>         I've login to a vs with admin user, and try to change owner of a 
>file which own by admin to ftp, but it return chown: ftp : operation not permitted.
> > > > > >>
> > > > > >>         Isn't it admin user can change any file which within the uid-gid 
>range of the vs?
> > > > > >>
> > > > > >>     Thanks you.
> > > > > >>
> > > > > >>             Stenny
> > > > > >>             [EMAIL PROTECTED]
> > > > > >.
> > > > >
> > > > >                     ��
> > > > > ��
> > > > >
> > > > >             Stenny
> > > > >             [EMAIL PROTECTED]
> > >
> > > James T. Koerting
> > >
> > > KSD Germany
> > > [EMAIL PROTECTED]
> > >
> > > Murphy's Law: "Anything that can go wrong, will go wrong"
> > > Parkinson's Law: "Work expands to exceed available time"
> > > Koerting's Law: "Don't fight against these laws"
> > ------------------------ The freeVSD Support List -------------------------
> > Join:      mailto:[EMAIL PROTECTED]?body=subscribe%20freevsd-support
> > Remove:    mailto:[EMAIL PROTECTED]?body=unsubscribe%20freevsd-support
> > Archives:  http://freevsd.org/support/mail-archives/freevsd-support
> > ---------------------------------------------------------------------------
> 
> James T. Koerting
> 
> KSD Germany
> [EMAIL PROTECTED]
> 
> Murphy's Law: "Anything that can go wrong, will go wrong"
> Parkinson's Law: "Work expands to exceed available time"
> Koerting's Law: "Don't fight against these laws"
------------------------ The freeVSD Support List -------------------------
Join:      mailto:[EMAIL PROTECTED]?body=subscribe%20freevsd-support
Remove:    mailto:[EMAIL PROTECTED]?body=unsubscribe%20freevsd-support
Archives:  http://freevsd.org/support/mail-archives/freevsd-support
---------------------------------------------------------------------------

Reply via email to