Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cryptsetup / mount Problem
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Neo_0815
l33t
l33t


Joined: 24 Feb 2003
Posts: 815
Location: Leipzig

PostPosted: Sun Aug 29, 2004 5:41 pm    Post subject: cryptsetup / mount Problem Reply with quote

Moin.

Also da wären 2 Probleme, das erste ist irgendwie O_o ... eig. simple aber ich kommt absolut nicht drauf was schief läuft:

Ich habe als root das Cryptdevice erstellt, der Eintrag sieht so aus in der fstab:

Code:

/dev/mapper/secret              /mnt/private    xfs             defaults,noatime,noauto,user


Damit sollte ja jeder ordinary User laut mount das Filesystem mounten können.
Kann mein Standard User auch - nur die Rechte bleiben bei root.root anstatt wie zum Bsp. bei meinen Windowsplatten auf user.usergroup gesetzt zu werden.

Nehmen wir an das ist egal - die Partition ist im rw Mode gemountet wurden, aber trotzdem eben nur ro ... das ist eigentlich das Hauptproblem.

Umask möchte ich nicht ändern, das Verhalten wie beschrieben wre schön.
Angabe von uid/gid läßt xfs ja nicht zu - ist das das Problem?

Wenn der Mountpoint manuell vorher auf die Gruppe users gesetzt wird funktioniert es, somit wäre Problem 1 gelöst.

2tes Problem:

Ist es möglich das Cryptdevice Mapping auch von einem non-root User durchführen zu lassen, derzeit pasiert da folgendes:

Code:
 cryptsetup -c aes -y create secret /dev/main_lv/private
mlockall failed: Die Operation ist nicht erlaubt
WARNING!!! Possibly insecure memory. Are you root?
Command failed: Das Argument ist ungültig


MfG
_________________
[img:76661e22b8]http://www.biersekte.de/biersektebanner.gif[/img:76661e22b8]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum