> If local disks have filesystem that don't support linux permission (like ntfs > or fat) they > should be mounted with uid and gid options, so that the user who mount it is > the owner > of all files and directories.
Yes, this seems reasonable. I currently do not have any such machines to test, I had assumed that such drives would be mounted at boot. > If filesystem supports linux permissions (ext,reiserfs,xfs,jfs etc) files > keep the previous > owner and permissions, apart the home directory and its content (that will be > chowned > to user). While in general I agree with this statement, and it is correct assuming that they drives in question came from a Debian-derived distro with similar configuration, there are flaws in this approach. If the drive came from a single-user Debian-derived distro then the files would presumably belong to UID 1000, the same user in a single-user Ubuntu install. However, if the drive comes from a multiple-user Debian system then the UID of the files may or may not (depending on coincidence only) match that of the current user. Furthermore, if the drive cam from a Red Hat based system, with UID 500, then the files would be unaccessible. I think that any drive explicitly accessed by the user should be umasked to the current UID. The user did, after all, explicitly request to access the drive. A solution may be to mount the drive read-only, with write access granted upon proving the root (or sudo, as is the case with Ubuntu) password. > Please explain better what type of filesystem you are talking about and why > this > behaviour should be considered a bug. I am referring to Linux-associated file systems such as ext[2-4] and jfs. I feel that this behaviour is a bug because the user explicitly attempts to access a drive, and cannot without getting the CLI involved. For the target Ubuntu user (see bug #1) this is not an option, so a GUI option (umasking on password prompt) is a solution. I am removing the Incomplete status as the question was answered. If you feel that this should remain Incomplete and that I should not alter the status, then please revert the status and state that is your wish. Thanks. ** Changed in: ubuntu Status: Incomplete => New ** Also affects: hundredpapercuts Importance: Undecided Status: New -- chown all local drives to current user https://bugs.launchpad.net/bugs/388943 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs