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 10-07-2005, 08:44 AM   #1
KurtMStraker
LQ Newbie
 
Registered: Oct 2005
Distribution: Mandriva Linux 2006 RC2
Posts: 4

Rep: Reputation: 0
Cannot share directories in 2006 RC2


I am trying to share user/home/shared and although I have setup "configure file sharing" I still get the "You need to be authorized to share directories". I have tried in Gnome and in KDE. I tried it from right-clicking the folder and properties, I tried it from "Configure your computer". I tried "Allow all users", the "Custom" per user granularity.. no luck.
I then edited my user id to make myself a member of the "fileshare" group that didn't work either. I then made fileshare my primary group. And no that didnt work either.
Can anyone help with this?

Kurt
 
Old 10-08-2005, 02:54 AM   #2
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
it may be obvious to you but did you try this with root powers?

as /usr/ folder is owned by root and not by a normal user

there is nothing wrong with created groups.......again you need to do so with root powers
 
Old 10-09-2005, 04:35 AM   #3
KurtMStraker
LQ Newbie
 
Registered: Oct 2005
Distribution: Mandriva Linux 2006 RC2
Posts: 4

Original Poster
Rep: Reputation: 0
When I said user I actually meant username i.e kurt/home/shared.
I'll try logging in as root cause even with root authentication it wont allow me to set up shares.
In 10.1 I just right-clicked and configured to allow users to share directories and away I went.
I'll try logging in as root and see if that works.
I get the impression though that part of the problem is that users who are allowed to share directories are added to the fileshare group. Somehow it seems that group doesnt have the rights to share directories.
Thanks for replying I'm going to try right now!

Oh when I use userdrake to edit users the fileshare group is not listed under groups, can I edit that group or is it disallowed. I cant even see its properties or permissions

Last edited by KurtMStraker; 10-09-2005 at 04:39 AM.
 
Old 10-09-2005, 05:58 AM   #4
KurtMStraker
LQ Newbie
 
Registered: Oct 2005
Distribution: Mandriva Linux 2006 RC2
Posts: 4

Original Poster
Rep: Reputation: 0
I tried sharing as root but I could ony share stuff in root's home directory. I could share when I was logged as root but I dont really want to share root's folders. It seems to me that although i have said "Allow all users to share" it's not saving the changes to configuration. Usually when I log out it asks if to save the changes in a check box which I never check. Could this be the issue? I hate to think it might be something so silly but it doesnt seem anyone else has this problem.
 
Old 11-03-2005, 05:15 AM   #5
svetr
LQ Newbie
 
Registered: Nov 2005
Distribution: mandriva
Posts: 2

Rep: Reputation: 0
Same problem here (with 2006.0). As user I run:
/usr/sbin/fileshareset --add /some/valid/path/to/folder/in/my/homefolder
with result:
"Can't do setuid (cannot exec sperl)"
As root It's allright (script returns list of shared folders with newly added folder included, folders show up in konqueror (but not Nautilus) with new symbol tagged to icon)
BUT:right-clicking on shared folder shows folder not shared ....
 
Old 11-04-2005, 05:13 AM   #6
KurtMStraker
LQ Newbie
 
Registered: Oct 2005
Distribution: Mandriva Linux 2006 RC2
Posts: 4

Original Poster
Rep: Reputation: 0
I was hoping that they had fixed it in the 2006 release as opposed to RC2 which is what I was using. This is why linux can be so fustrating.
 
Old 11-29-2005, 09:58 AM   #7
tamex
LQ Newbie
 
Registered: Nov 2005
Posts: 1

Rep: Reputation: 0
Quote:
Originally posted by svetr
Same problem here (with 2006.0). As user I run:
/usr/sbin/fileshareset --add /some/valid/path/to/folder/in/my/homefolder
with result:
"Can't do setuid (cannot exec sperl)"
As root It's allright (script returns list of shared folders with newly added folder included, folders show up in konqueror (but not Nautilus) with new symbol tagged to icon)
BUT:right-clicking on shared folder shows folder not shared ....
I made it work, not easy but...

you need to install perl-suid : urpmi perl-suid as root
then still as root do a chmod a+s /usr/bin/sperl*

then it worked, at least for me on mandriva 2006.0

HTH
 
Old 11-30-2005, 03:24 AM   #8
svetr
LQ Newbie
 
Registered: Nov 2005
Distribution: mandriva
Posts: 2

Rep: Reputation: 0
Terrific! Problem solved - thanks a lot!
 
  


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
Mandriva 2006 RC2 - can't find proftpd yee_har Linux - Newbie 7 10-12-2005 05:45 PM
Mandriva 2006 RC2 is out! JockeTF Mandriva 14 10-02-2005 06:34 AM
Mandriva 2006 RC2 & ndiswrapper spider194 Linux - Wireless Networking 1 10-01-2005 04:43 PM
Mandriva 2006 rc2 & ATI X700 driver 1inxs Linux - Hardware 0 09-30-2005 11:07 PM
Removable media on 2006 RC2 Talyz Mandriva 0 09-29-2005 11:00 AM

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

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