salut,
--- Claudiu Tanaselia <[EMAIL PROTECTED]> wrote:
> Am un user obisnuit, membru al grupului wheel si am
> adaugat si
> vfs.usermount=1in /etc/sysctl.conf, dar tot nu pot
> monta partitii,
> nici macar in /home/user, iar de aceea nu pot folosi
> nici device-urile
> din k3b (cu root le vad, am compilat kernelul cu
> optiunea device
> atapicam).
>
> De asemenea, as putea sa montez device-urile
> preferential, adica in
> /home/user/mnt pentru cele montate de user si in
> /mnt pentru cele
> montate de root?
#cd /usr/ports/sysutils/k3b
#less pkg-message5
-----skip-----
3b. - For every user who should be able to use k3b and
for every CD or DVD
device add a directory in the users home
directory. These directories
must be owned by the corresponding user. For
each such directory add a
line in /ect/fstab (see remark 2), like:
/dev/cd0c /usr/home/XXX/cdrom cd9660
ro,noauto,nodev,nosuid 0 0
Furthermore allow user mounts as described in
topic 9.22 of the FAQ:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#USER-FLOPPYMOUNT
To make the chmod's to /dev/cdX permanent, do
the following:
* add 'devd_enable="YES"' to /etc/rc.conf
* add a 'perm cdX 666' to /etc/devfs.conf for
each cd/dvd device. X
is the device number. If you prefer allow
access for a group only,
add a 'perm cdX 660' instead, followed by an
'own cdX root:XXX'
where XXX is the group name.
- or just give mount and umount the suid flag,
which is a security leak.
numai bine,
Ionut
--------------------------
Ionut Vancea
http://www.vioan.ro
http://www.vioan-solutions.com
Timisoara, Romania
--------------------------
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
________________________________________________________
To unsubscribe send a mail to [EMAIL PROTECTED]