Hi, On Sat, 2009-07-25 at 15:55 +0400, Evgeniy Polyakov wrote: > Hi. > > On Fri, Jul 24, 2009 at 12:14:16PM +0200, Kwaaitaal, J.J.B. > ([email protected]) wrote: > > Is it possible to synchronise file permissions and ownership between > > client and server? Whenever I do a chmod/chown on the server or client > > this isn't synchronised with the other side. > > > > However, when I remount the client side, the latest permissions/ > > ownerships are taken from the server. > > > > New files or file copies created on the client-side with specific > > user/group ownerships are created on the server with root/root > > ownerships. > > Objects modified on the server have to be invalidated on the client > side, you can do this by flushing cache or remounting of the client > or using 'flush' utility on the server. I have used this on the server: # flush -a 127.0.0.1 -p 1025 -f "/"
Nothing happens. (Even a file copied in the root directory of the server is not becoming available at the client's mount) And used this on the client: # sync The newly created file in the server directory is still not available at the client-side, but a file copied into the mounted dir on the client-side is now synced to the server (but with the wrong uid/gid) > Also object metadata changes are updated on the server when cache > coherency protocol forces client to flush its content, otherwise it will > stay the same as server's UID. I'm using Debian Lenny distribution with kernel 2.6.30-bpo.1-amd64 from backports for mounting the file system and used the latest git code for the server and utils. Best regards, Jacco Kwaaitaal _______________________________________________ Pohmelfs mailing list [email protected] http://www.ioremap.net/cgi-bin/mailman/listinfo/pohmelfs
