2014-01-31 Tomas Bzatek <tbza...@redhat.com>:
> On Fri, 2014-01-31 at 10:15 +0100, Prunk Dump wrote:
>> Hello,
>>
>> I am the network administrator of a French high school where all the
>> user's directories are mounted from a CIFS server with pam_mount.
>>
>> Mounting the "Home" directory is not a problem, but I have two
>> "ExchangeTeachers" and "ExchangeStudents" shares that need to by
>> accessed by the users and mounted by pam_mount.
>>
>> -> If I mount them in the "/media/" directory, the mount appear in the
>> "Devices" section of nautilus with a "removable" icon. If the users
>> click on the unmount arrow they are prompted for the root password.
>> This is not very clean...
>>
>> -> If I mount them in the "/mnt/" directory, the mount does not appear
>> anymore in nautilus.
>>
>> How can I create a "place" icon for my networks shares so they appears
>> as "static" drives ?
>> Is this possible to disable the mount/unmount root prompt in nautilus ?
>> Is this possible to force a bookmarks for all my users ?
>>
>> Thank you !
>>
>> Baptiste.
>
> Have a look at
> https://git.gnome.org/browse/gvfs/plain/monitor/udisks2/what-is-shown.txt
>
> The x-gvfs-show/x-gvfs-hide fstab option is what you're looking for. By
> default, mounts in /mnt are hidden, mounts in /media, homedir
> and /run/media are shown.
>
> --
> Tomas Bzatek <tbza...@redhat.com>
>
> --
> nautilus-list mailing list
> nautilus-list@gnome.org
> https://mail.gnome.org/mailman/listinfo/nautilus-list

Hi Tomas !

My problem is not really to show or hide the drive. I want to remove
the "umount" arrow on the device. I first thought that monting it on
/mnt/ will remove this possibility but it is not the case.

Is this a way to disable the unmount root password prompt ?

Thanks !
-- 
nautilus-list mailing list
nautilus-list@gnome.org
https://mail.gnome.org/mailman/listinfo/nautilus-list

Reply via email to