Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#607 - kde - fileshareset not working correctly as user

Attached to Project: Arch Linux
Opened by Tobias Powalowski (tpowa) - Monday, 22 March 2004, 09:55 GMT
Last edited by Damir Perisa (damir.perisa) - Thursday, 27 May 2004, 00:08 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture not specified
Severity Medium
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

the kde filesharset utility is not working even it is set suid and users can share home files.

the problem is a permission problem:

the fileshareset utility tries to get access to /etc/exports and /etc/samba/smb.conf both files are normally 633
if the files have 663 then it works but i don't think it's a well solution,
for a single user system ok but i don't want that others have access to smb.conf and exports from a editor etc.
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Wednesday, 09 February 2005, 06:23 GMT
Reason for closing:  Fixed
Additional comments about closing:  fixed in new upcoming kde3.4beta2 packages
Comment by Tobias Powalowski (tpowa) - Monday, 22 March 2004, 11:45 GMT
oh i see it's a perl script :-)

i think there is more that is not ok the script paths are wrong etc
i look at it and try to fix it

i am the only one who need this ;-)
Comment by Tobias Powalowski (tpowa) - Monday, 22 March 2004, 23:07 GMT
too much for mee :-(
the permission problem is the same :-(
i don't understand the script it stops at line 252 and says:

can't write /etc/exports at /opt/kde/bin/fileshareset line 252

the same problem with smb.conf only a few lines later

it must be specified for arch it was written for mandrake
Comment by Damir Perisa (damir.perisa) - Monday, 12 April 2004, 01:23 GMT
just wondering, but do you run LISa?
Comment by Tobias Powalowski (tpowa) - Monday, 12 April 2004, 07:00 GMT
I run lisa but that shouldn't be a problem
as root it works but the samba and nfs won't restart because of wrong paths in the script
Comment by Damir Perisa (damir.perisa) - Tuesday, 20 April 2004, 18:09 GMT
does it also happen with kde 3.2.2?
Comment by Tobias Powalowski (tpowa) - Tuesday, 20 April 2004, 19:38 GMT
i'll try on friday
sorry with a 56 k modem no chance
Comment by Damir Perisa (damir.perisa) - Tuesday, 20 April 2004, 19:41 GMT
:-) thanx in advance
Comment by Tobias Powalowski (tpowa) - Friday, 23 April 2004, 15:56 GMT
yes it still exists
here is the console output
[tobias@Wohnung tobias]$ fileshareset --add /home/tobias/tmp
can't write /etc/exports at /opt/kde/bin/fileshareset line 252.
Comment by Tobias Powalowski (tpowa) - Friday, 23 April 2004, 16:00 GMT
the paths in the script are also incorrect
/etc/init.d/samba
/etc/init.d/portmap
/etc/init.d/nfs
doesn't exist in arch
Comment by Jan de Groot (JGC) - Tuesday, 13 July 2004, 17:14 GMT
Hmm, it's a suid perl script?
Archlinux does not have a suidperl binary that handles SUID perl scripts, so the script runs as normal user.
Comment by Tobias Powalowski (tpowa) - Tuesday, 13 July 2004, 19:41 GMT
that means if i set perl as suid it works?
i'll try that
the new kde 3.3 release will have a new fileshare dialog
i hope the trouble is then gone away
Comment by arjan timmerman (blaasvis) - Sunday, 06 February 2005, 14:04 GMT
is this resolved ?
Comment by Tobias Powalowski (tpowa) - Sunday, 06 February 2005, 16:35 GMT
no if you want to help me on this issue, that would be great :)

Loading...