Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am trying to share legal files with through my server. The way I have it set up is my pc has all the stuff and my server is an in between for friends that may need a help file or public domain stuff and my pc. I have it set up so the server is using iptables with firestarter controlling, apache, cifs mounting...my pc is running xp...but I am to a high degree certain that is has nothing to do with this.
I have it set up so as a part of my website, one who knows the address can backdoor to my pc and through their web browser download and public domain things they would like. It worked great with fc 2 but i have upgraded to 6 and am having immense problems. Right now it can be accessed, but when something is downloaded it comes down 0kb...I have iptables set up the same as it was before...i have tried to set up selinux but that might be the problem...i chown -R apache:apache the files I want to share...the most likely candidate to me is cifs and I do not know enough about it to know where to start...
any help would be much appreciated...or if anyone has a better idea how to do what i am doing that would be appreciated also...
I've been having the same problem with RHEL5 for months: using CIFS, I can mount a share and look at it's contents, all of the file permissions look alright, but when I try to copy or write anything it just hangs at 0kbps indefinitely. Using RHEL4, with CIFS, I have no problems whatsoever.
If you find a solution let me know, because as yet I've been unsuccessful.
what I found out is that cifs is not able to do url recognition so it is impossible as far as I have found. I have not been able to find any work arounds either. I am not sure what to do to fix it and i cannot find any information about configuring it...
if you figure out a work around or something like that let me know...
I am no doubt ignorant to the reason you are trying to do this, so bear with me. Whenever I think of transferring files over the Internet, I think ftp or scp, anything but cifs shares. Is there a reason you can't use this method? Is there an additional benefit to using cifs that I am not aware of?
I will try the bugzilla thing...I have tried many things already and had no success, but I will look into that...
You were correct...I have a lot of files that I keep on my pc for ready access. My server is my gateway to the internet and my http server. I am trying to combine the usage of these to minimize disk usage over my network. If I cannot get the download ability with cifs then I have to have a second harddrive on my server and keep an exact copy of everything on that to access and I have to keep it updated every time I download something. It is quite the little pain in the ass doing it that way! Being able to download from a cifs mount allows my to simplify my life and to save disk space...and i feel more cool!
okay, that does indeed work. I am saving a ton of disk space now...I have over a terabyte with no duplication of data...hooray!
I think the second line has very little of an effect...the first one seems to be the key to the issue. it is not a bug though. I understand the issue thoroughly now.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.