it should work if you do it like this:

bevs -r appds2     # where appds2 is your virtual server
chown admin.admin /etc


(but if you do that you only change the owner of the /etc dir, not the files
in that dir...)

ps: it doesn't work if you create a user on your hosting-server and change
the owner of the dir in a virtual-host, to that user; because every
virtual-host has it's own users, user-ids


regards,
Georges Toth



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Ana Paula
Sent: Wednesday, October 31, 2001 18:23 PM
To: Freevsd-Support
Subject: Changing ownership in a virtual server



I need  to change the ownership of a directory inside of a virtual
server.
Now it is as root, and I need to move for admin.

If I try logged like admin, I get this error:

[admin@appds2 root]$ chown admin.admin /etc
chown: /etc: Numerical result out of range
[admin@appds2 root]$

If I try from hosting server, I get:

[root@testserver /root]# chown admin.admin /home/vsd/vs/appds2/etc
chown: admin.admin: invalid user

So, I add the user admin in hosting server (useradd admin) and I got to
give the command, but now, the etc directory it is like this:

drwxr-xr-x   14 501      501          4096 Oct 31 05:23 etc

And not:

drwxr-xr-x   14 admin      admin          4096 Oct 31 05:23 etc

With certainty I made everything wrong.
How can I make that with success?

Thanks
--
Ana Paula <[EMAIL PROTECTED]>

------------------------- The freeVSD Support
List --------------------------
Subscribe:   mailto:[EMAIL PROTECTED]?body=subscribe%20freevsd-support
Unsubscribe: mailto:[EMAIL PROTECTED]?body=unsubscribe%20freevsd-support
Archives:    http://freevsd.org/support/mail-archives/freevsd-support
----------------------------------------------------------------------------
-



------------------------- The freeVSD Support List --------------------------
Subscribe:   mailto:[EMAIL PROTECTED]?body=subscribe%20freevsd-support
Unsubscribe: mailto:[EMAIL PROTECTED]?body=unsubscribe%20freevsd-support
Archives:    http://freevsd.org/support/mail-archives/freevsd-support
-----------------------------------------------------------------------------

Reply via email to