Mounting home directories on both windows and linux
I'm trying to work out the best way to mount a share which is accessible to both windows and linux and retains the correct permissions.
I looked into using pam_mount on linux which will allow CIFS/SMBFS shares.
I found the following issues with pam_mount tho:
• “su” to a user with a home directory on a share will fail to mount the home directory unless you know the user’s password. This would cause issues for cronjobs.
• ssh’ing into a server as a user with a home directory on a share will prompt for a password to mount the home directory even with passphraseless ssh keys. This would cause issues with any automated login scripts
• You can force the ownerships of the files/directories to be owned correctly from windows to linux, but they may not be correct the other way around.
Does anyone have any better solutions?
|