id summary reporter owner description type status priority milestone component version resolution keywords cc blockedby blocking branch_state votes 72 "savannah: ""preserve Attributes"" unchecked, but chmod errors still there" bilboq slavazanko "Original: http://savannah.gnu.org/bugs/?21030 ||Submitted by:||Martin Petricek ||Submitted on:||Tue 11 Sep 2007 09:38:08 AM UTC|| ||Category:||Core||Severity:||3 - Normal|| ||Status:||In Progress||Privacy:||Public|| ||Assigned to:||Pavel Tsekov ||Open/Closed:||Open|| ||Release:||current (CVS or snapshot)||Operating System:||GNU/Linux|| Original submission: {{{ I have tried copying files from mounted FAT filesystem (memory card) to a NTFS filesystem (which was mounted using ntfs-3g over FUSE). I unchecked ""preserve Attributes"" (as NTFS does not support chown/chmod) But even with the preserve attributes unchecked I got following error message: Cannot chmod target file ""/m/s/eg/100_4646.jpg"" Operation not permitted (1) on each of the files. I hoped to avoid this when I unchecked ""preserve Attributes"". I am using CVS version of MC, checked out and recompiled just few minutes ago, running on debian unstable, amd64 architecture. }}} Comment 1 by Pavel Tsekov at Thu 13 Sep 2007 09:35:30 AM UTC: {{{ This problem has been discussed already in that thread: http://mail.gnome.org/archives/mc-devel/2007-January/msg00075.html I'll reread the thread and see whether to apply the suggested solution/workaround. }}} Comment 2 by Pavel Tsekov at Thu 13 Sep 2007 12:49:30 PM UTC: {{{ Please, test the attached patch. (file #13935) }}} Comment 3 by Martin Petricek at Thu 13 Sep 2007 02:34:33 PM UTC: {{{ Tried attached patch (file #13935) and it works for me. No more chmod complaints when ""preserve attributes"" unchecked when copying from FAT32 to NTFS partition. I have not observerd any ill effects from the patch. }}} Comment 4 by Pavel Tsekov at Mon 17 Sep 2007 07:03:46 PM UTC: {{{ I just have to think how to handle the EEXIST case from the patch and I'll commit it in CVS - hopefully it will get in 4.6.2. I'll appreciate it of anyone could help me with that and especially with the wording of the error message to be displayed to the user. }}} branch:72_preserve_attributes changeset:5097e9b62ed28ada175a4cfc27eee3f823d7345b " defect closed major 4.7.0-pre1 mc-vfs master fixed merged commited-master