Comment 1 for bug 95988

Revision history for this message
didier (did447-deactivatedaccount) wrote :

Move to hal,

cf. tools/hal-storage-mount.c handle_mount()
around line 727

                /* don't consider uid= on vfat, iso9660, udf change-uid for the purpose of policy
                 * (since these doesn't contain uid/gid bits)
                 */
                if (strcmp (libhal_volume_get_fstype (volume), "vfat") != 0 &&
                    strcmp (libhal_volume_get_fstype (volume), "iso9660") != 0 &&
                    strcmp (libhal_volume_get_fstype (volume), "udf") != 0) {
                        pol_change_uid = wants_to_change_uid;
                }
                 /* don't consider uid= on vfat, iso9660, udf change-uid for the purpose of policy
                 * (since these doesn't contain uid/gid bits)
                 */
                if (strcmp (libhal_volume_get_fstype (volume), "vfat") != 0 &&
                    strcmp (libhal_volume_get_fstype (volume), "iso9660") != 0 &&
                    strcmp (libhal_volume_get_fstype (volume), "udf") != 0) {
                        pol_change_uid = wants_to_change_uid;
                }
                 /* don't consider uid= on vfat, iso9660, udf change-uid for the purpose of policy
                 * (since these doesn't contain uid/gid bits)
                 */
                if (strcmp (libhal_volume_get_fstype (volume), "vfat") != 0 &&
                    strcmp (libhal_volume_get_fstype (volume), "iso9660") != 0 &&
                    strcmp (libhal_volume_get_fstype (volume), "udf") != 0) {
                        pol_change_uid = wants_to_change_uid;
                }