since you opened 3 tickets on this, I guess I'll try to help.
Since we're only talking about 2 users, you could just make /etc/fstab mount the partitions with user1 as the owner.
do:
Code:
cat /etc/passwd |grep [user1 name]
then ammend the options in /etc/fstab to include uid=[3rd value from line returned above]
remember that your /etc/fstab options are comma-delimited, and you're probably looking for a value like 1001 or 1002
man mount:
Quote:
Mount options for fat
(Note: fat is not a separate filesystem, but a common part of the msdos, umsdos and
vfat filesystems.)
blocksize=512 / blocksize=1024 / blocksize=2048
Set blocksize (default 512).
uid=value and gid=value
Set the owner and group of all files. (Default: the uid and gid of the current
process.)
...
Mount options for ntfs
iocharset=name
Character set to use when returning file names. Unlike VFAT, NTFS suppresses
names that contain unconvertible characters. Deprecated.
nls=name
New name for the option earlier called iocharset.
utf8 Use UTF-8 for converting file names.
uni_xlate=[0|1|2]
For 0 (or ‘no’ or ‘false’), do not use escape sequences for unknown Unicode
characters. For 1 (or ‘yes’ or ‘true’) or 2, use vfat-style 4-byte escape
sequences starting with ":". Here 2 give a little-endian encoding and 1 a
byteswapped bigendian encoding.
posix=[0|1]
If enabled (posix=1), the file system distinguishes between upper and lower
case. The 8.3 alias names are presented as hard links instead of being sup‐
pressed.
uid=value, gid=value and umask=value
Set the file permission on the filesystem. The umask value is given in octal.
By default, the files are owned by root and not readable by somebody else.
|