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 11:28:30 +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>
Stephen,
Thanks for responding.If I try to create a symlink in my /var/www as dave, it says "permission denied".Symbolic links behave differently than other files. Do man
on chown to see more details. The safest way to change the
ownership of that file is to remove the link and re-create
it as the correct owner.
However, I did this, and it changed the ownership, but it still hasn't solved the "403 forbidden error".
sudo chown -R dave:dave web_sites
Also, as I investigate further, I'm not sure if the ownership is the issue. Check this out:
dave@example.com:/var/www$ ls -la
total 24
drwxr-xr-x 4 root root 4096 2007-06-27 09:41 .
drwxr-xr-x 17 root root 4096 2007-04-21 23:28 ..
drwxr-xr-x 2 root root 4096 2007-04-06 23:19 apache2-default
-rw-r--r-- 1 dave dave 321 2007-04-07 20:04 dummy.php
-rwxrwxrwx 1 dave dave 20 2006-02-13 22:45 info.php
lrwxrwxrwx 1 dave dave 21 2007-04-07 13:55 phpmyadmin -> /usr/share/phpmyadmin
lrwxrwxrwx 1 dave dave 20 2007-06-27 09:41 web_sites -> /home/dave/web_sites
drwxr-xr-x 8 root root 4096 2007-04-07 20:04 ZendPlatform
Note that the ZendPlatform directory is owned by root. I can view and access it in FireFox via Apache.
Also note that the permission settings on phpmyadmin is exactly the same as the web_sites symlink. I can access phpmyadmin, but I still can't access web_sites.
It's there, but Apache won't see it.
I'm confused.
--
Dave M G
Ubuntu 7.10
- Follow-Ups:
- Re: [tlug] Can't Change ownership of symlink
- From: Darren Cook
- References:
- [tlug] Can't Change ownership of symlink
- From: Dave Gutteridge
- Re: [tlug] Can't Change ownership of symlink
- From: steven smith
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Desktop Wars Query
- 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