A
A
Anton Piskunov2012-04-19 14:18:08
SSHFS
Anton Piskunov, 2012-04-19 14:18:08

Rights and ownership of SSHFS?

From the file server to the web server, a partition is mounted from where certain content is taken. And everything would be fine, but there is one problem: the web server has apache-mpm-itk configured, that is, the local disk is written with the owner% username%, but if you write to the SSHFS partition, you get dissonance, on the web server owner = %username%, and on SSHFS owner = root.
Are there network file systems that have the same rights / owners on all nodes where they are mounted? Or how can this be achieved on SSHFS?
Who knows what about GlusterFS? How about the rights \ owners of it?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
R
Riateche, 2012-04-19
@Riateche

I'm not sure if I understood the problem correctly, but I think you need to specify the uid and gid in the mount options.

E
Eddy_Em, 2012-04-19
@Eddy_Em

NFS did not use?

V
Vlad Zhivotnev, 2012-04-19
@inkvizitor68sl

NFS latest + ldap (well, or a copy of /etc/passwd+/etc/shadow+/etc/group and others)

R
rPman, 2012-04-19
@rPman

samba above 3 definitely has mechanisms for mapping windows users to unix rights, even the standard windows rights editor works in the directory properties.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question