Dear Scott,

thank you. That was the solution.

Just change the

/usr/sbin/lbus_event_handler.sh
file and add the word
allow_root
at the end of the ltspf command:
------------------------------


      case "${DEVTYPE}" in
          block)  mkdir "${HOME}/${DRIVEDIR}/${SHARENAME}"
             /usr/sbin/ltspfs ${WS}:/tmp/drives/${SHARENAME} \
              "${HOME}/${DRIVEDIR}/${SHARENAME}" allow_root

------------------


Maybe someone can put that into the Wiki ?

Thank you !!!
Jens




Scott Balneaves wrote:
> On Tue, Nov 28, 2006 at 08:03:11PM +0100, Jens Korth wrote:
> 
>>Hello,
>>
>>I use ltsp 4.2 and local devices.
>>
>>Works fine with an external USB drive.
>>
>>BUT:
>>
>>If I become root on a console, I can not access the
>>/home/user/Drives/externaldevicename/
>>directory.
>>
>>I get an "no permission error".
>>
>>(And I want to backup some files . So I need to get root permissions to
>>get file access...)
>>
>>The same works fine if I am the "normal" user.
>>
>>Any ideas?
> 
> 
> Yup.  Fuse, by default, won't allow any different user to access the
> mount.  Including root!  So, you'll have to include user_allow_root and
> modify the event handler script to include -o allow_root, etc etc etc.
> 
> Or, you could just tarball up what you need to back up, drop it in the
> directory, and then copy it as a user :)
> 
> Cheers,
> Scott
> 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to