LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 01-04-2006, 11:48 PM   #16
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52

Quote:
It worked for a few minutes, but now I can't access that directory from the Mandriva machine. It says I don't have permission.
Is it still accessible from the Windows machine? How are you trying to access it on the Mandriva machine and what user are you logged in as? What permissions are on that directory?

Quote:
is it possible to have a home directory shared?
Yes
http://ccfaq.valar.co.uk/modules.php...rticle&sid=159

Quote:
If so, would each person's homedir be shared all the time, or just when they log into X?
It would be shared anytime that samba was running, it doesn't matter wether or not the user is logged into the machine doing the sharing.
 
Old 01-05-2006, 11:50 AM   #17
Snump
Member
 
Registered: Sep 2004
Location: Pennsylvania, USA
Distribution: Trying to decide
Posts: 229

Original Poster
Rep: Reputation: 30
I'm logged on under justin, and I can't access the share from my normal KDE desktop.
Code:
cd samba
[justin@blahblah]$ ls
ls: .: Permission denied
I want everyh account able to access this samba "dump" as I like to call it.
 
Old 01-05-2006, 03:47 PM   #18
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
Code:
find /home/samba -type d -exec chmod g+rwx {} \;
 
Old 01-05-2006, 09:26 PM   #19
Snump
Member
 
Registered: Sep 2004
Location: Pennsylvania, USA
Distribution: Trying to decide
Posts: 229

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by tkedwards
Code:
find /home/samba -type d -exec chmod g+rwx {} \;

I just ran that command.
From Windows:

http://img436.imageshack.us/img436/6708/doh1gj.jpg
 
Old 01-05-2006, 10:02 PM   #20
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
On the Linux box can you go into that directory as justin and create/see files? On Windows when you try to enter that share does it prompt for a username and password?
 
Old 01-05-2006, 10:19 PM   #21
Snump
Member
 
Registered: Sep 2004
Location: Pennsylvania, USA
Distribution: Trying to decide
Posts: 229

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by tkedwards
On the Linux box can you go into that directory as justin and create/see files? On Windows when you try to enter that share does it prompt for a username and password?
Its those security checks. It worked for a second I left to watch a special on Afghanistan and it made a fool of me.

From Linux.
http://img492.imageshack.us/img492/4...hot27ii.th.jpg

on Windows when I double click, it does not ask for a username and password.
 
Old 01-05-2006, 10:48 PM   #22
thorn168
Member
 
Registered: Oct 2004
Location: USA
Distribution: Vector Linux 5.1 Std., Vector Linux 5.8 Std., Win2k, XP, OS X (10.4 & 10.5)
Posts: 344

Rep: Reputation: 42
If you go to the samba website the lastest revision is a bugfix relating to security. Read the changelog to find out if it will help with your problem. If not then continue one with the version that you have.
 
Old 01-05-2006, 10:59 PM   #23
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
Quote:
If you go to the samba website the lastest revision is a bugfix relating to security. Read the changelog to find out if it will help with your problem. If not then continue one with the version that you have.
There's no harm in checking but like most distros Mandriva backports all the relevant security fixes into their Samba version 3.whatever_version_it_was_when_the_distro_was_released RPM. So far it looks more like a problem with Mandriva's 'msec' security thingo than Samba anyway.

Quote:
Snump: Its those security checks. It worked for a second I left to watch a special on Afghanistan and it made a fool of me.
You can disable them as I described in a previous post and see if that helps. It seems strange that it would break the permissions on that directory - what permissions is it setting it to? Does samba still have group ownership of that directory and files and folders in it after the permissions have gone wrong? The user justin definately is part of that samba group?
 
Old 01-07-2006, 10:54 AM   #24
Snump
Member
 
Registered: Sep 2004
Location: Pennsylvania, USA
Distribution: Trying to decide
Posts: 229

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by tkedwards
There's no harm in checking but like most distros Mandriva backports all the relevant security fixes into their Samba version 3.whatever_version_it_was_when_the_distro_was_released RPM. So far it looks more like a problem with Mandriva's 'msec' security thingo than Samba anyway.



You can disable them as I described in a previous post and see if that helps. It seems strange that it would break the permissions on that directory - what permissions is it setting it to? Does samba still have group ownership of that directory and files and folders in it after the permissions have gone wrong? The user justin definately is part of that samba group?

Here are the current permissions on the directory
drwx--x--x 2 nobody samba 4096 Jan 4 23:51 samba/

then I try do get a listing...
[]$ ls
ls: .: Permission denied
 
Old 01-08-2006, 02:56 AM   #25
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
Disable the checking of home directories option as I described before. It definitely looks like that is what's stuffing it up.
 
Old 01-09-2006, 09:18 AM   #26
steve1972
Member
 
Registered: Jan 2005
Posts: 62

Rep: Reputation: 15
Have you tried ESP Print Pro https://www.easysw.com/printpro/? This comes with a free Windows client driver and makes network set-up a snap.
 
Old 01-10-2006, 03:19 PM   #27
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Why, when the answer already seems to have been given, would the OP pay 49USD or 245USD or 995USD or 2495USD? And this is a printing solution when the OP wants to be able to access directories. And another thing, this is the third answer you have given which refers to ESP as the answer.

Are we on commission or are they just your employer - enquiring minds need to know.
 
Old 01-10-2006, 05:26 PM   #28
steve1972
Member
 
Registered: Jan 2005
Posts: 62

Rep: Reputation: 15
No, when you like something you try to tell as many people as you can. Being a newbie, I didn't think of Samba as anything but a printing solution, which it isn't. That's why I'm here, to learn. Obviously, I need to pay a little more attention to the whole thread.
 
Old 01-10-2006, 11:56 PM   #29
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
Quote:
No, when you like something you try to tell as many people as you can
Yes but when you post promoting a commercial product to a completely unrelated thread it just looks like spam.

Quote:
Being a newbie, I didn't think of Samba as anything but a printing solution, which it isn't.
That Print Pro looks more like a CUPS replacement than a Samba replacement anyway.

Quote:
Obviously, I need to pay a little more attention to the whole thread.
Try suggesting it in threads where people are having trouble with CUPS, especially if there is no good CUPS driver for their printer.
 
Old 04-02-2006, 11:48 PM   #30
Snump
Member
 
Registered: Sep 2004
Location: Pennsylvania, USA
Distribution: Trying to decide
Posts: 229

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by tkedwards
There's no harm in checking but like most distros Mandriva backports all the relevant security fixes into their Samba version 3.whatever_version_it_was_when_the_distro_was_released RPM. So far it looks more like a problem with Mandriva's 'msec' security thingo than Samba anyway.



You can disable them as I described in a previous post and see if that helps. It seems strange that it would break the permissions on that directory - what permissions is it setting it to? Does samba still have group ownership of that directory and files and folders in it after the permissions have gone wrong? The user justin definately is part of that samba group?

Hi there, I'm back again. Heh...

how can I disable those security checks? I must be missing somethig because I don't see how to do it in this thread.
 
  


Reply



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
What if 'kill -9' fails to kill a task? chii-chan Linux - Newbie 15 03-27-2013 03:47 PM
how to use kill to kill a batch of processes with same name? dr_zayus69 Linux - Software 2 09-03-2005 06:35 PM
Kill command could not kill Kanaflloric Linux - General 11 08-22-2005 07:18 AM
cannot kill process (kill -9 does not work) mazer13a Linux - General 1 05-27-2005 02:32 PM
kill X = kill computer! jd243 Slackware 3 07-01-2003 11:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 06:43 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