[SunHELP] chown problems
Christopher Schroen
schroenc at gmail.com
Thu Jun 23 13:50:03 CDT 2005
The problem is that, even though user "doetest" owns the files,
"doetest" can't transfer ownership to a different user; only root can
do that. It's considered poor security to let a non-root user "give
away" ownership of a file, and most modern UNIX systems don't allow
it.
For more info, see:
http://www.unix.org.ua/orelly/networking/puis/ch05_07.htm
On 6/23/05, James, Denise <denise.james at fldoe.org> wrote:
> I would like some help with the following problem. I can make the
> requested changes when I am root of course.
>
>
>
> zeus% id
>
> uid=222(doetest) gid=202(doegrp)
>
>
>
> zeus% ls -al
>
> total 6
>
> drwxrwxr-x 2 1863 doedev 512 Jun 23 14:08 .
>
> drwxrwxr-x 14 doetest doegrp 512 Oct 29 2004 ..
>
> -rw-rw-r-- 1 doetest doegrp 0 Jun 23 14:08 test1
>
> -rw-rw-r-- 1 doetest doegrp 35 Jun 23 14:08 testing.txt
>
>
>
>
>
> zeus% chown wwwsrvr:web test*
>
> chown: test1: Not owner
>
> chown: testing.txt: Not owner
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> -----Original Message-----
> From: James, Denise
> Sent: Tuesday, June 21, 2005 11:05 AM
> To: McCue, Gia
> Cc: Elam, Holly; Irwin, Nancy
> Subject: RE: edfacil directory
>
>
>
> Done
>
>
>
> Command I gave is chown -R wwwsrvr:web *
>
> I checked a couple of subdirectories and they have the requested user
> and group.
>
>
>
> If there is still a problem please let me know.
>
>
>
> Denise O. James
>
> Systems Project Analyst
>
> Florida Department of Education
>
> Education Data Center Rm. B2-24
>
> 325 W. Gaines Street
>
> Tallahassee, FL 32399-0400
>
> Phone and Fax: (850) 245-9805
>
> denise.james at fldoe.org
>
>
>
> -----Original Message-----
> From: McCue, Gia
> Sent: Tuesday, June 21, 2005 10:55 AM
> To: James, Denise
> Cc: Elam, Holly; Irwin, Nancy
> Subject: edfacil directory
>
>
>
> Denise,
>
>
>
> Please change the owner of all the files in
> /home2/doetest/public_html/edfacil recursively to wwwsrvr web.
>
>
>
> When I try to execute this command
>
> chown wwwsrvr:web *
>
>
>
> it gives me errors saying I am not the owner of the files owned by
> doetest. I am logged in as doetest so I am not sure what the issue is.
>
>
>
> I am meeting someone at 11:00 so have to run. If you cannot do this
> before you go at 11:15, we can talk when you get back at 2:00.
>
>
>
> gia
>
>
>
>
>
> Denise O. James
>
> Systems Project Analyst
>
> Florida Department of Education
>
> Education Data Center Rm. B2-24
>
> 325 W. Gaines Street
>
> Tallahassee, FL 32399-0400
>
> Phone and Fax: (850) 245-9805
>
> denise.james at fldoe.org
> _______________________________________________
> SunHELP maillist - SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp
>
--
====================================================
Christopher Schroen
mailto:schroenc at gmail.com
http://home.earthlink.net/~schroenc/dumpendebat.html
====================================================
Well, Maggy, I got your castoff
devils all right and fits lovely.
And am vaguely graceful. Maggy thanks.
--FW 273.F6
====================================================
More information about the SunHELP
mailing list