On Thu, 8 Feb 2007 [EMAIL PROTECTED] wrote:
> Quoting Szakacsits Szabolcs <[EMAIL PROTECTED]>:
>
> Courtesy of Florent Mertens, I have been getting regular NTFS-3g updates on my
> Ubuntu Edgy system. This update, which I installed last night, appears
> to have
> caused a regression with respect to using NTFS-3g to hold a local CVS tree.
> When I backed off to 0.20070118-BETA, but left the latest FUSE release
> (fusermount version: 2.6.3) unchanged, the problem disappeared.
>
> What I was seeing was intermittent problems reported by "cvs update":
> RCS file: /repo/x/foo.h,v
> retrieving revision 1.1
> retrieving revision 1.3
> Merging differences between 1.1 and 1.3 into foo.h
> cvs update: cannot change mode of x/foo.h: Operation not permitted
> x/foo.h already contains the differences between 1.1 and 1.3
>
> Since the problem was intermittent I didn't get a chance to really
> investigate.
>
> > The default_permissions FUSE option is transparently used from now if any
> > of the uid, gid, umask, fmask, or dmask mount option is used. This means
> > that probably many user will complain about "permission denied" errors. If
> > you want full access to everybody by default then don't use any of these
> > mount options. Otherwise you must configure them correctly.
>
> Could this be related? Since the problem was intermittent, I assume not.
Yes, it's because you use the umask and gid mount options, so the
default_permissions option gets turned on.
Do you run ntfs-3g as root or setuid root?
Szaka
> But maybe there is some second order effect?
>
> Here is what mount says:
> /dev/disk/by-uuid/0440226A402262A2 on /media/sda1 type fuseblk
> (rw,nosuid,nodev,noatime,allow_other,blksize=4096)
> However, in /etc/fstab we see:
> # /dev/sda1
> UUID=0440226A402262A2 /media/sda1 ntfs-3g
> defaults,nls=utf8,umask=007,gid=46,show_sys_files 0 1
>
> % /bin/ls -dl CVS/Entries
> -rwxrwx--- 1 root plugdev 1232 2007-02-08 17:08 CVS/Entries
> % grep plug /etc/group
> plugdev:x:46:haldaemon,ota
> % echo $user
> ota
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
ntfs-3g-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ntfs-3g-devel