Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now

[BH]boogieman
Posted on: Jul 20 2004, 11:34 PM


Whats this Lie-nix Thing?
*

Group: Members
Posts: 7
Joined: 14-July 04
Member No.: 3,344


Thanks a bunch; that's the second time you've helped me now. Setting the permissions like you suggest worked perfectly.

P.S. Are you really Torvald's twin? wink.gif
  Forum: Technical Support · Post Preview: #15801 · Replies: 2 · Views: 1,915

[BH]boogieman
Posted on: Jul 20 2004, 01:37 AM


Whats this Lie-nix Thing?
*

Group: Members
Posts: 7
Joined: 14-July 04
Member No.: 3,344


So I'm still having trouble with permissions. It's not a hard concept to grasp, it's just that there seem to be a few quirks I'm unfamiliar with. Anyway, here's the problem:

I worked on a server once before where I had CGI files that generated various output files, from saved settings to actual HTML. However, on my own server, I'm having a bit of trouble. The CGI files aren't actually saving the settings or re-writing the HTML like they're supposed to, and the obvious reason is that the files don't have world-write permissions set. And who in their right mind would set them that way? blink.gif

But I know that on the server I worked on before, I had no problems with this; the files didn't have world-write permissions, but I could still write out to them with CGI. It was as if the CGI files had write permissions or something, but I'm not sure how to set that up. Any ideas?

Thanks a lot!
  Forum: Technical Support · Post Preview: #15767 · Replies: 2 · Views: 1,915

[BH]boogieman
Posted on: Jul 20 2004, 01:17 AM


Whats this Lie-nix Thing?
*

Group: Members
Posts: 7
Joined: 14-July 04
Member No.: 3,344


Thank you much; your help is most appreciated.

I used kind of a variation of your suggestions. I made user directories under /var/www/html. So for user acraft, the directory is /var/www/html/acraft. Then, I made a symbolic link to the newly created directory from the user's home directory (that's /home/acraft) called public_html. Kind of a weird way of doing it, and I'll probably modify it as I go along. I also had to mess with the .conf files.

Anyway, now I've got another problem, which is unrelated, so I'll list it in a different thread.

Thanks again!
  Forum: Technical Support · Post Preview: #15766 · Replies: 2 · Views: 1,749

[BH]boogieman
Posted on: Jul 18 2004, 01:13 PM


Whats this Lie-nix Thing?
*

Group: Members
Posts: 7
Joined: 14-July 04
Member No.: 3,344


I'm new to Linux, and having a bit of trouble with some things. I can't seem to find any documentation to help me with my problems, so once again I'm asking my peers for help.

So I created a public_html in my home directory, but I couldn't access anything in it from my browser. I soon realized that the permissions on my user's home directory were set to drwx------. So I changed them to drwxr-xr-x (no, drwxr--r-- didn't work), and then I could access with my browser just fine.

The problem I'm having is that (seemingly) randomly, my home directory permissions are resetting to drwx------, apparently without me doing anything. I've tried setting these permissions as both the user and as root, and neither seems to keep it that way. Are there any ideas of what I can do about this? Has anyone else had/heard of this problem?

I'm using MandrakeLinux 9.2, if that helps. If I had to do it all over again, I would go with something else... seems like Mandrake's default settings have caused me more of a headache than the installation altogether.

Thanks a lot everyone.
  Forum: Technical Support · Post Preview: #15688 · Replies: 2 · Views: 1,749

[BH]boogieman
Posted on: Jul 16 2004, 10:04 PM


Whats this Lie-nix Thing?
*

Group: Members
Posts: 7
Joined: 14-July 04
Member No.: 3,344


Really? I've used other servers before and had html files under cgi-bin that would load. Perhaps that web server ran cgi files not by what directory they were in but by their extensions. I haven't tried that method, as I've read it's less secure. Plus, if it's really a standard/default that html files don't come up under cgi-bin, I would rather stick to the standard.

Thanks for the help guys, I appreciate it.
  Forum: Technical Support · Post Preview: #15647 · Replies: 4 · Views: 3,499

[BH]boogieman
Posted on: Jul 16 2004, 06:11 PM


Whats this Lie-nix Thing?
*

Group: Members
Posts: 7
Joined: 14-July 04
Member No.: 3,344


No, executable bit isn't set. Good thought though.

I created a test.html file in my home directory, which I can access just fine. I copied it (permissions included) directly under cgi-bin, and then my browser says it's empty.

Could it be part of my Apache configuration or something?
  Forum: Technical Support · Post Preview: #15641 · Replies: 4 · Views: 3,499

[BH]boogieman
Posted on: Jul 14 2004, 08:56 PM


Whats this Lie-nix Thing?
*

Group: Members
Posts: 7
Joined: 14-July 04
Member No.: 3,344


I'm new to Linux (installed it just days ago) and I'm having a rather confusing problem, among others.

So I'm using my computer for web development, and set it up as a web server. The problem is that HTML files aren't visible (to a browser) under my cgi-bin directory. I can view them outside of that directory, and my CGI scripts in the directory work just fine. But whenever I try to access HTML under cgi-bin, I get an empty file in my browser. I even made a file that was visible in the public_html directory, but wouldn't load when copied under cgi-bin.

I'm sure it's probably something little I need to change, probably in a configuration file, but I haven't had any success with that yet. Any help would be appreciated.

-boogieman
  Forum: Technical Support · Post Preview: #15577 · Replies: 4 · Views: 3,499


New Posts  New Replies
No New Posts  No New Replies
Hot topic  Hot Topic (New)
No new  Hot Topic (No New)
Poll  Poll (New)
No new votes  Poll (No New)
Closed  Locked Topic
Moved  Moved Topic
 

RSS Lo-Fi Version Time is now: 19th November 2017 - 12:06 AM