I have a multiboot system with three operating systems:

A) Windows XP SP3
B) Windows 7
C) Ubuntu 9.10

On every OS I have created a user. These three users have to be mapped
to one *identity* (me), so that the security features work flawlessly.
If, for example, I restrict read access to one directory in any
operating system to "me" only, this change shall be reflected in all
operating systems.

System A and B use Session Identifiers (SIDs), whereas system C uses a
User ID (UID). I do not know if it is possible from Linux side to
determine the usernames of all SIDs which exist on all WIndows system
partitions. The Ubuntu installer knows the username of the user who
installs the OS. This username can then be compared to all usernames
existing on Windows partitions so that a mapping file can be created
automatically. So Ubuntu "just works" (see Bug #1).

We need a new User Interface for creating this mapping later on, so that
the user can edit it easily.

The first step would be full POSIX compliance of the ntfs-3g filesystem.
This can be achieved by providing an update of ntfs-3g to 2009.11.14.
For testing, a user mapping can then be created in a file:

/etc/ntfs3g-usermapping:

1000::S-1-5-21-4120741282-3245112264-2965135236-1000

The User ID 1000 is created for the first user by the Ubuntu installer.
The SID needs to be read out, I have given an example only. Windows
regedit shows the SIDs in the registry key HKEY_USERS. Normally, after
installation of Windows - if given exactly one username during
installation - only one full SID exists which has a pattern like the one
above.

The options line in /etc/fstab needs to be expanded, I am not sure about
how to do that. My suggestion:

/dev/mapper/isw_bfacafefej_Volume07 /data           ntfs
defaults,nls=utf8,umask=007,gid=46,usermapping=/etc/ntfs3g-usermapping 0
0

/dev/mapper/... is a virtual device, because I use a RAID 0 system
(Intel fakeraid). The option line which is important here begins with
'defaults'.

Andre

-- 
New timestamp when copying to NTFS partition
https://bugs.launchpad.net/bugs/314860
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

Reply via email to