LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-21-2004, 12:05 PM   #1
adaptor
LQ Newbie
 
Registered: Sep 2004
Location: Vancouver, BC
Distribution: Slackware, SuSE
Posts: 5

Rep: Reputation: 0
privoxy/samba problems


So, I'm developing a webapp for work and I've been working on it from many different computers, both windows and linux. I set up a webserver, greebo, and set up a samba share on it so I could compile directly to it from the workstations. Now, this is all working fine except yesterday I tried to mount the share from my main workstation, wintermute, for the first time and got some very weird results. On the webserver the are some softlinks that as far as samba's concerned I'm allowed to follow, and this works from every computer except my workstation (btw, both greebo and wintermute are running 32-bit suse 9.1, fully updated). Unable to cd into my work directory I did ls -al and saw that the links were owned by privoxy.users and the other files were owned by privoxy.privoxy! I'd never heard of privoxy (www . privoxy . org) before so I called over my officemate who explained what it was, though couldn't explain how it came to be installed on wintermute and owning my samba shares. So, I uninstalled it to no avail. I removed the privoxy user and the privoxy group. There is no privoxy user/group on the webserver and it doesn't have that software installed. This is what I get now:
Code:
wintermute:/mnt # mount -t smbfs -o username=xxx //greebo/tomcat /mnt/tomcat
wintermute:/mnt # cd tomcat/
wintermute:/mnt/tomcat # l
total 4
drwxr-xr-x  1 root root  4096 2004-09-15 08:37 ./
drwxr-xr-x  5 root root   120 2004-09-08 12:23 ../
drwxr-xr-x  1  100   101    0 2004-09-01 09:41 balancer/
lrwxrwxrwx  1  100 users   33 2004-09-14 09:10 catalina.out -> /var/log/tomcat/base/catalina.out
lrwxrwxrwx  1  100 users   12 2004-09-02 09:58 qci -> /storage/qci
drwxr-xr-x  1  100   101    0 2004-08-31 09:32 ROOT/
So, why is this a problem? Because (which, btw, is what happened before I uninstalled privoxy):
Code:
wintermute:/mnt/tomcat # more catalina.out
catalina.out: No such file or directory
wintermute:/mnt/tomcat # cd qci
bash: cd: qci: No such file or directory
Now, I can repeat all these steps from another suse 9.1 (or RH, slack, etc) box and everything works fine.
Code:
luggage:/ # mount -t smbfs -o username=xxx //greebo/tomcat /mnt/
luggage:/ # l /mnt
total 731
drwxr-xr-x    1 root     root         4096 Sep 14 09:10 ./
drwxr-xr-x   24 root     root          576 Sep  7 13:26 ../
drwxr-xr-x    1 root     root         4096 Aug 31 09:32 ROOT/
drwxr-xr-x    1 root     root         4096 Sep  1 09:41 balancer/
-rwxr-xr-x    1 root     root       731116 Sep 14 09:05 catalina.out*
drwxr-xr-x    1 root     root         4096 Sep 14 09:09 qci/
Same is true with windows. I'm pretty confident that the problem is with wintermute, but any ideas on how to remedy this problem? Why it happened in the first place? I'm out of ideas and am ready to give up as it's taking away from my development time and I do have other machines to work from. Having said that, I hate to walk away not knowing why and how to fix it as I'm sure this won't be the last time I want to do this...
Thanks,
m

ps: 100 was user privoxy and 101 was group privoxy...
pps: I tried mounting another computers samba share and that worked fine, no privoxy user/group.... Of course, this is after I uninstalled privoxy and removed the user/group so maybe samba has a memory or something? I did uninstall and reinstall samba as well. No difference...
 
Old 09-21-2004, 12:29 PM   #2
secesh
Senior Member
 
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
you have colorized readouts -- the red means the symbolic link is bad.

--check your permissions, starting from the top, check each directory, and then the actual
file to insure the permissions are correct, and that you should have access.

do this on the real file, not the syn link.
 
Old 09-21-2004, 12:59 PM   #3
adaptor
LQ Newbie
 
Registered: Sep 2004
Location: Vancouver, BC
Distribution: Slackware, SuSE
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by secesh
you have colorized readouts -- the red means the symbolic link is bad.
Thanks, but I knew that... It also isn't bad, only from this one machine.

Quote:
--check your permissions, starting from the top, check each directory, and then the actual
file to insure the permissions are correct, and that you should have access.

do this on the real file, not the syn link.
I've done that previously. All relevant files/directories are owned by tomcat.users with permissions set to 775.
Thanks,
m

Last edited by adaptor; 09-21-2004 at 02:00 PM.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Privoxy and tor z3nith Linux - Software 2 10-01-2005 09:31 PM
Privoxy???????? jason.rohde Linux - Networking 0 08-26-2005 09:11 AM
Privoxy Mortified Pengu Linux - Software 3 11-28-2004 12:11 PM
Privoxy? BajaNick Linux - General 2 07-06-2003 07:48 PM
Privoxy BajaNick Linux - Software 5 07-04-2003 03:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:58 AM.

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
Open Source Consulting | Domain Registration