@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26



Comments:

<0> lol
<1> spanglesontoast: do you have to correct options on to make index.html automatially accessed when you do ~edd/ ?
<2> |Jef|: He does.
<2> I checked that.
<1> spanglesontoast: does ~edd work? does ~edd/index.html work
<3> ok, shoot
<0> tried that aswell
<1> spanglesontoast: none of them work?
<0> nope
<2> spanglesontoast: Can we see the last few lines of the httpd error log?
<4> DaMaestro: I had an error while trying to set my IP manually. Can't remember the error I had so I stuck with auto
<0> Sun Feb 19 18:00:13 2006] [error] [client 69.248.103.134] (13)Permission denied: access to /~edd denied
<0> er
<5> spanglesontoast: make sure the entire dir path is executable for apache
<1> spanglesontoast: and there is no .htaccess file in that user's webspace?
<6> Did you forget to set it 0755?



<0> nope no .htaccess in there
<7> spanglesontoast, ls -alZ /home/edd/public_html; cat /etc/httpd/conf/httpd.conf |grep userdir; cat /etc/httpd/conf/httpd.conf |grep DirectoryIndex; cat /etc/httpd/conf/httpd.conf |grep Options
<3> how did you mean my whole home has to be executable??
<7> apache needs to be able to search to the dir.
<7> +x is needed to do so
<2> spanglesontoast: Try doing chmod 644 ~ && chmod 644 ~/public_html/
<3> so it's 755 ?
<0> ya
<3> ok
<1> Tinned_Tuna: executable on a directory doesn't mean the same thing as on a regular file
<0> mines 755
<7> spanglesontoast, pastbin that command is just requested
<3> so if im just a normal user, i execute chmod 644 ~ && chmod 644 ~/public_html?
<7> s/is/i
<0> http://pastebin.com/562970
<8> Tinned_Tuna: ouch. no.
<3> phew
<2> AndyCap: Didn't like us? :)
<7> spanglesontoast, so no selinux?
<3> i thought it sounded a bit wierd
<0> no I said I turned it off maestro
<0> lol
<8> cds: who were you, just doing a hit and run on *fedora* :-P
<3> so what t
<7> ls -al /home/edd/public_html
<7> spanglesontoast, sorry I missed that.
<2> AndyCap: Hm?
<8> cds: i.e. /m chanserv list *fedora* and popping in to see
<3> what do i do to make my public_html execuatble for apache?
<2> AndyCap: Aah :)
<0> [edd@TOAST ~]$ chmod 644 ~ && chmod 644 ~/public_html/
<0> chmod: cannot access `/home/edd/public_html/': Permission denied
<2> That's not good.
<8> spanglesontoast: well, yes, you just disallowed it and locked yourself out of home
<8> spanglesontoast: "chmod u+x ~"
<2> Er, did I mess up there?
<0> ah
<0> as root?
<8> who suggested 644 for directories in the first place?
<3> does /home/danny need to be 755 or something?
<2> Me. My fault, sorry.
<3> cos all my home dirs are currently 700
<5> spanglesontoast: http://pastebin.com/562973
<8> spanglesontoast: whoever you did the first one as
<2> I though 644 was rx
<8> cds: umm, no
<3> it is :s
<3> isn't it
<7> nope
<8> cds: 4 is read, 2 is write, 1 is execute.
<3> justno
<3> thats 5
<8> add them up
<9> how i download the ntfs kernel module from yum?
<10> rw-r--r--
<9> install
<8> now. to access files in a directory or below it you need execute permission
<5> spanglesontoast: you can either run that script or do it by hand (chmod o+x the dirs) then retry it
<3> so i need all + x?
<8> to list the files in a direcotry you need r(ead)



<0> so that's /home/edd aswell?
<8> to delete and make new files in a directory you need w(rite)
<8> and, you have to take into account u(ser) g(roup) o(ther) permissions
<0> well I thought I fixed it ages ago
<0> by dowing chown edd /home/edd
<0> and chmod -R 700
<8> most likely apache falls into the other category and needs +x on the home dir
<7> yes.
<7> it does.
<5> spanglesontoast: --> <0> so that's /home/edd aswell? <-- chmod o+x them
<5> AndyCap: yes .. it does
<5> you can look it up on apache.org .. it's very clear
<0> yea that fixed it
<11> i have both the wifi and eth0 up... can i specify the interface to use while i download
<5> i know.
<0> hmm
<8> Now, for future reference : http://rute.2038bug.com/node17.html.gz
<0> chmod o+x /home/edd is safe to do aswell?
<7> spanglesontoast, that just adds x to (o)ther
<8> spanglesontoast: depends on safe.
<0> I would like the default permissions for a normal user
<0> if you get what I mean
<5> it's fine
<7> I use 700.. but you want to use public_html dir.. you need 755
<8> no. for ~ you need 701
<7> yeah.. sure.
<8> that's the least permissions you can get away with for /home/edd to allow others to access public_html
<12> hey, I've got a strange problem with yum-update, I wondered if anybody had any ideas what's wrong
<10> Henshaw: no, sorry, no idea
<3> right
<8> vimman: not unless you can specify source address for the download or mess with the routing table metrics.
<12> the problem is that updates i could see a couple of days ago i can't now
<3> on /home/danny the perms are 701
<12> and i'm sure i haven't made the updates
<3> is that right?
<6> Maybe you're hitting a different mirror this time.
<0> hmm
<8> Tinned_Tuna: that's the minimum permissions, 755 is default. do any other users need to access your home?
<0> I may learn about permissions
<3> no, i just want apache to be able to read /home/danny/public_html
<0> lol
<5> spanglesontoast: i'd set the perms to 751
<5> that way normal users cannot read the base dir
<8> Tinned_Tuna: ok. and then you need to set the correct perms on public_html
<12> hmm, how would i tell what mirror i'm getting?
<8> spanglesontoast: see the 2038bug link furter up
<3> right
<5> but they can execute files from links etc in a web browser
<0> ah ty
<5> it's best .. then they can't see what files you have there ..
<3> /home/danny and /home/danny/public_html is 751
<3> *are 751
<5> they can only access what you link to
<0> oh I see what you mean
<5> yep
<0> so no one can wget -r dir owned :P
<5> better security if they don't even know what's there
<5> exactly
<3> hmm
<3> still 403s :s
<3> i need a 1337 error! lol ;)
<8> Tinned_Tuna: do you have an index.html there? Userdir enabled in selinux and apache?
<3> in apache, yes
<3> in selinux, i have no idea how to
<13> how do I turn off ipv6??
<5> open system-config-securitylevel
<3> i've poked around with system_config_securitylevel
<3> but to no avail
<5> it's clearly in httpd
<8> aroman: less /usr/share/doc/initscripts-8.11.1/sysconfig.txt should be a parameter in /etc/sysconfig/network I don't remember if it is exposed in system-config-network
<3> what do i change in system_config_securitylevel?
<5> allow HTTPD to read home directories
<5> make sure that's checked
<3> i'm sure i've done that


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #fedora
or
Go to some related logs:

iptables --state ESTABLISHED,RELATED -j ACCEPT
#css
#linuxhelp
familly
loading forced eth
#perl
mailscripts in linux
snobbinn
linux26 nolapic ubuntu
Ubuntu + Kconsole



Home  |  disclaimer  |  contact  |  submit quotes