Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Can't Change ownership of symlink
- Date: Wed, 27 Jun 2007 18:06:57 +0900
- From: "Dave Gutteridge" <ebisudave@example.com>
- Subject: Re: [tlug] Can't Change ownership of symlink
- References: <7d27112b0706261839w163745f2sabbcd981470b080a@mail.gmail.com> <4681C327.3050502@sonic.net> <7d27112b0706261928q14918773m4c4d304a83c0f91c@mail.gmail.com> <4681CECE.4070607@dcook.org> <7d27112b0706262006g4146e563mfdaf2246382f6165@mail.gmail.com> <87zm2m2fop.fsf@uwakimon.sk.tsukuba.ac.jp> <4681E8D1.8080708@sonic.net>
Stephen, Steve,
Thanks for replying.
As Stephen suggested, the Apache user seems to be www-data. This is what I see in /etc/passwords:
www-data:x:33:33:www-data:/var/www:/bin/sh
So I tried to log in as that user, but it asked for a password, and rejected every password I tried.
Steve said:Man on chown shows this among other things:
-h, --no-dereference
That helps set the ownership on symlinks more reliably. Thanks for that tip.
Also, with the directory permission for '.' you sent
earlier, only root has read-write permission, so only root
can create files or links there. When you're done, it would
be wise to make sure that the directory permission is as it
was before you started.
Um... sorry, I don't know what you mean for the directory permission for '.' Which directory is that, and how do I know what permission it was before I started?
Dave
- Follow-Ups:
- Re: [tlug] Can't Change ownership of symlink
- From: Dave Gutteridge
- References:
- [tlug] Can't Change ownership of symlink
- From: Dave Gutteridge
- Re: [tlug] Can't Change ownership of symlink
- From: steven smith
- Re: [tlug] Can't Change ownership of symlink
- From: Dave Gutteridge
- Re: [tlug] Can't Change ownership of symlink
- From: Darren Cook
- Re: [tlug] Can't Change ownership of symlink
- From: Dave Gutteridge
- Re: [tlug] Can't Change ownership of symlink
- From: Stephen J. Turnbull
- Re: [tlug] Can't Change ownership of symlink
- From: steve smith
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Can't Change ownership of symlink
- Next by Date: Re: [tlug] Can't Change ownership of symlink
- Previous by thread: Re: [tlug] Can't Change ownership of symlink
- Next by thread: Re: [tlug] Can't Change ownership of symlink
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links