[GELÖST] Re: AW: Wie macht man Änderungen in /etc/fstab wirksam?
Lieber Alex
Vielen Dank für deinen Tipp. Es hat sich jedoch als ein recht triviales
Problem herausgestellt. :-)
Hier die Lösung:
Die Datei /etc/fstab muss am Ende eine Leerzeile enthalten. Die war bei
mir nicht vorhanden. Nachdem ich sie ergänzt hatte, funktionierte alles,
wie es sollte :-)
LG Freddy
Am Dienstag, den 13.01.2015, 14:48 +0100 schrieb alex.bachmer:
> Hallo
>
>
> Heisst glaub ich nur pumount statt punmount.....
>
>
> Schon mal in deiner fstab folgendes probiert:
> (rwxrwxrwx 1 root root 10 Jan 13 12:14 SanDisk -> ../../sdc1)
>
>
>
>
> /dev/sdc1 /media/wo_auch_immer ntfs(oder wie du es formatiert hast)
> uid=deine_uid,gid=deine_gid,auto,rw,users,sync 0 0
>
>
> Dann:
> "mount -a"
>
>
> Hoffe es hilft...grüße
> Alex
> Von Samsung Mobile gesendet
>
>
> -------- Ursprüngliche Nachricht --------
> Von: "alex.bachmer" <alex.bachmer@t-online.de>
> Datum:13.01.2015 14:20 (GMT+01:00)
> An: debian-user-german@lists.debian.org
> Cc:
> Betreff: AW: Wie macht man Änderungen in /etc/fstab wirksam?
>
>
> Hi
>
>
> Installiere dir einfach pmount...siehe wiki:
>
>
> Mount removable devices as normal user
> pmount is a wrapper around the standard mount program which permits
> normal users to mount removable devices without a
> matching /etc/fstab entry. This provides a robust basis for
> automounting frameworks like GNOME's Utopia project and confines the
> amount of code that runs as root to a minimum.
>
> This package also contains a wrapper pmount-hal which reads some
> information like device labels and mount options from hal and passes
> them to pmount. Install the package hal if you want to use this
> feature.
>
> If a LUKS capable cryptsetup package is installed, pmount is able to
> transparently mount encrypted volumes.
>
> Devices have to be enabled in /etc/pmount.allow adding the following
> lines:
>
> /dev/cdrom
>
> /dev/sdb1
>
>
> Dann mounten:
> "pmount /dev/blau"
>
>
> unmounten:
> "punmount /dev/blah"
>
>
> Sollte dann nach /media mit userrechten gemountet werden. Guck einfach
> mit :
> "sudo blkid -o list"
> nach wo es gemountet wurde...
>
>
> Oder udev...
>
>
> Grüße
> Alex
> Von Samsung Mobile gesendet
>
>
> -------- Ursprüngliche Nachricht --------
> Von: Freddy Hugentobler <freddy.hugentobler@gmail.com>
> Datum:13.01.2015 13:55 (GMT+01:00)
> An: debian-user-german@lists.debian.org
> Cc:
> Betreff: Wie macht man Änderungen in /etc/fstab wirksam?
>
>
> Liebe Liste
>
> Ich habe in /etc/fstab Änderungen vorgenommen. Diese Änderungen haben
> aber nicht den erwünschten bzw. keinen Einfluss auf das System.
> Muss ich etwas tun, um die Änderungen wirksam zu machen?
> Oder waren meine Änderungen falsch? (Dazu mehr unten.)
>
>
> Zum Hintergrund der Änderungen:
>
> Vor einiger Zeit habe ich das Problem beschrieben, dass ich nur mit
> root-Rechten auf USB-Sticks schreiben kann. Ich habe nun den Ursprung
> des Problems gefunden und - eigentlich - auch die Lösung dazu:
> http://forums.debian.net/viewtopic.php?t=107470
>
> Ich habe also die beiden Zeilen in /etc/fstab gelöscht, reboot. Keine
> Änderung.
> Immernoch werden alle USB-Sticks als root gemountet, als user habe ich
> lediglich read-Rechte.
>
> Kann mir jemand weiterhelfen?
>
> Zur Ansicht habe ich zwei USB-Sticks gemountet und ein paar Befehle
> ausgeführt. Die Ausgaben habe ich ans Ende der Mail angehängt. Es
> handelt sich um den "SanDisk" und um den "Debian\x20jessie-DI-b2
> \x20amd64\x201".
> Braucht ihr noch Infos?
>
> LG Freddy
> Debian jessie
>
>
>
>
> -----
> Meine bearbeitete /etc/fstab:
>
> # /etc/fstab: static file system information.
> #
> # Use 'blkid' to print the universally unique identifier for a
> # device; this may be used with UUID= as a more robust way to name
> devices
> # that works even if disks are added and removed. See fstab(5).
> #
> # <file system> <mount point> <type> <options> <dump> <pass>
> /dev/mapper/System-Root / ext4 errors=remount-ro 0
> 1
> # /boot was on /dev/sda1 during installation
> UUID=c549c229-8e70-4072-ab7e-434e1714ef03 /boot ext4
> defaults 0 2
> /dev/mapper/System-Home /home ext4 defaults 0
> 2
> /dev/mapper/System-Swap none swap sw 0
> 0
>
>
>
> Ausgabe von $ ls /dev/disk/by-label -lah:
>
> insgesamt 0
> drwxr-xr-x 2 root root 140 Jan 13 12:48 .
> drwxr-xr-x 6 root root 120 Jan 13 12:14 ..
> lrwxrwxrwx 1 root root 10 Jan 13 00:08 Boot -> ../../sda1
> lrwxrwxrwx 1 root root 10 Jan 13 12:48 Debian\x20jessie-DI-b2
> \x20amd64
> \x201 -> ../../sdd1
> lrwxrwxrwx 1 root root 10 Jan 13 00:08 Home -> ../../dm-3
> lrwxrwxrwx 1 root root 10 Jan 13 00:08 Root -> ../../dm-2
> lrwxrwxrwx 1 root root 10 Jan 13 12:14 SanDisk -> ../../sdc1
>
>
>
> Ausgabe von mount:
>
> sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
> proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
> udev on /dev type devtmpfs
> (rw,relatime,size=10240k,nr_inodes=2046192,mode=755)
> devpts on /dev/pts type devpts
> (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
> tmpfs on /run type tmpfs (rw,nosuid,relatime,size=3277612k,mode=755)
> /dev/mapper/System-Root on / type ext4
> (rw,relatime,errors=remount-ro,data=ordered)
> securityfs on /sys/kernel/security type securityfs
> (rw,nosuid,nodev,noexec,relatime)
> tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
> tmpfs on /run/lock type tmpfs
> (rw,nosuid,nodev,noexec,relatime,size=5120k)
> tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
> cgroup on /sys/fs/cgroup/systemd type cgroup
> (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
> pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
> cgroup on /sys/fs/cgroup/cpuset type cgroup
> (rw,nosuid,nodev,noexec,relatime,cpuset)
> cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup
> (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
> cgroup on /sys/fs/cgroup/devices type cgroup
> (rw,nosuid,nodev,noexec,relatime,devices)
> cgroup on /sys/fs/cgroup/freezer type cgroup
> (rw,nosuid,nodev,noexec,relatime,freezer)
> cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup
> (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
> cgroup on /sys/fs/cgroup/blkio type cgroup
> (rw,nosuid,nodev,noexec,relatime,blkio)
> cgroup on /sys/fs/cgroup/perf_event type cgroup
> (rw,nosuid,nodev,noexec,relatime,perf_event)
> systemd-1 on /proc/sys/fs/binfmt_misc type autofs
> (rw,relatime,fd=22,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
> debugfs on /sys/kernel/debug type debugfs (rw,relatime)
> hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
> mqueue on /dev/mqueue type mqueue (rw,relatime)
> fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
> /dev/mapper/System-Home on /home type ext4 (rw,relatime,data=ordered)
> /dev/sda1 on /boot type ext4 (rw,relatime,data=ordered)
> rpc_pipefs on /run/rpc_pipefs type rpc_pipefs (rw,relatime)
> binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime)
> tmpfs on /run/user/119 type tmpfs
> (rw,nosuid,nodev,relatime,size=1638808k,mode=700,uid=119,gid=126)
> tmpfs on /run/user/1000 type tmpfs
> (rw,nosuid,nodev,relatime,size=1638808k,mode=700,uid=1000,gid=1000)
> gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse
> (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
> /dev/sdc1 on /media/andy/SanDisk type vfat
> (rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0077,codepage=437,iocharset=utf8,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2)
> /dev/sdd1 on /media/andy/Debian jessie-DI-b2 amd64 1 type iso9660
> (ro,nosuid,nodev,relatime,uid=1000,gid=1000,iocharset=utf8,mode=0400,dmode=0500,uhelper=udisks2)
>
>
> --
> Zum AUSTRAGEN schicken Sie eine Mail an
> debian-user-german-REQUEST@lists.debian.org
> mit dem Subject "unsubscribe". Probleme? Mail an
> listmaster@lists.debian.org (engl)
> Archive: [🔎] 1421153746.5142.19.camel@gmail.com">https://lists.debian.org/[🔎] 1421153746.5142.19.camel@gmail.com
>
--
LG Freddy
Reply to: