LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-05-2012, 07:39 AM   #1
ArchAngel_403
LQ Newbie
 
Registered: Apr 2012
Posts: 2

Rep: Reputation: Disabled
interesting Apache issues


for starters I am not brand new to Linux but still learning plenty.

to begin with why I am doing what I am doing I am taking several Unix classes at a local college, so I slapped Ubuntu 11.04 on my laptop to get some better practice in. seeing as the instructor is of no help in even the most basic situations to even write a basic script.

I am using Putty, and Filezilla
so I installed LAMP, and configured my files, made 3 users, lets call them user 1, user 2, and user 3. I made a public_html folder in each ones home directory. made a very basic index.html for each one. when I tried to access them by the ip/~username it wouldn't work, until I changed the permissions to 755. once that was done all worked well, or so I thought.
my problem right now is that for user 1, I can view the html through the ip/~user1 IF and only IF I am logged into the machine through putty, Filezilla, or directly on the desktop. however for users 2 and 3 no problems what so ever. I checked all file permissions, and made sure they did not need any elevated sudo permissions to access. nope they all check out. the account is an administrator account, so I tried to make a fourth account giving it desktop user only privileges, the html works just fine, so I made it admin, still works, next I made the original account desktop user only, still no dice. so the ip/~username only works on this account IF the account is logged in to the system, whether it is remote or local does not matter, just has to be logged in. all the other accounts can pull up their HTML pages with no problems, this tells me its a privileges, or security feature that is turned on, or maybe not turned on that needs to be fixed. which one I don't know.

my question is, what is going on, why, and how do I fix it. could it maybe be that on that account I have encrypt the Home directory on? it would make sense to me.

sorry for the long post, just trying to be detailed.
thanks in advance for any help
 
Old 04-05-2012, 08:55 AM   #2
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,385

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Quote:
Originally Posted by ArchAngel_403 View Post
could it maybe be that on that account I have encrypt the Home directory on? it would make sense to me.
Me too.
If it is decrypted only when the user is logged in, then that would be the only time other users (www-data) would have access to the files residing there.
 
1 members found this post helpful.
Old 04-05-2012, 05:14 PM   #3
ArchAngel_403
LQ Newbie
 
Registered: Apr 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by descendant_command View Post
Me too.
If it is decrypted only when the user is logged in, then that would be the only time other users (www-data) would have access to the files residing there.


ya that would make sense then. I spent hours going through the file system playing with it then realized that oh ya I have encryption on only that account and figured that is most likely the cause of my troubles. although that is a good thing since that is the intention of encryption lol. yay for newb moves live and learn

thanks for the comment.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Interesting new Ubuntu-derived, OS X-inspired distro, interesting revenue (yes, LXer Syndicated Linux News 0 05-01-2009 09:51 AM
two interesting issues at boot frieza Linux - Hardware 1 02-27-2009 08:18 PM
suddenly, interesting Apache issues cp0ff Linux - Networking 2 10-18-2005 12:46 PM
apache issues gravesb Linux - Software 6 08-08-2005 04:07 AM
Interesting graphic issues... geologic Linux - Games 2 11-05-2003 06:06 PM


All times are GMT -5. The time now is 12:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration