[Midnight Commander] #72: savannah: "preserve Attributes" unchecked, but chmod errors still there

Ticket System tickets at midnight-commander.org
Tue Feb 3 02:38:04 UTC 2009


#72: savannah: "preserve Attributes" unchecked, but chmod errors still there
-------------------------+--------------------------------------------------
  Reporter:  slavazanko  |       Owner:  metux   
      Type:  defect      |      Status:  accepted
  Priority:  major       |   Milestone:  4.6.3   
 Component:  vfs         |     Version:          
Resolution:              |    Keywords:  review  
  Blocking:              |   Blockedby:          
-------------------------+--------------------------------------------------
Changes (by metux):

  * owner:  guanx => metux


Old description:

> Original: http://savannah.gnu.org/bugs/?21030
>
> ||Submitted by:||Martin Petricek <bilboq>||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 <ptsekov>||Open/Closed:||Open||
> ||Release:||current (CVS or snapshot)||Operating System:||GNU/Linux||
>
> Discussion:
> {{{
> Mon 17 Sep 2007 07:03:46 PM UTC, comment #4:
>
> 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.
>         Pavel Tsekov <ptsekov>
> Project AdministratorIn charge of this item.
> Thu 13 Sep 2007 02:34:33 PM UTC, comment #3:
>
> 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.
>         Martin Petricek <bilboq>
> Thu 13 Sep 2007 12:49:30 PM UTC, comment #2:
>
> Please, test the attached patch.
>
> (file #13935)
>         Pavel Tsekov <ptsekov>
> Project AdministratorIn charge of this item.
> Thu 13 Sep 2007 09:35:30 AM UTC, comment #1:
>
> 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.
>         Pavel Tsekov <ptsekov>
> Project AdministratorIn charge of this item.
> Tue 11 Sep 2007 09:38:08 AM UTC, 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.
> }}}

New description:

 Original: http://savannah.gnu.org/bugs/?21030

 ||Submitted by:||Martin Petricek <bilboq>||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 <ptsekov>||Open/Closed:||Open||
 ||Release:||current (CVS or snapshot)||Operating System:||GNU/Linux||

 Discussion:
 {{{
 Mon 17 Sep 2007 07:03:46 PM UTC, comment #4:

 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.
         Pavel Tsekov <ptsekov>
 Project AdministratorIn charge of this item.
 Thu 13 Sep 2007 02:34:33 PM UTC, comment #3:

 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.
         Martin Petricek <bilboq>
 Thu 13 Sep 2007 12:49:30 PM UTC, comment #2:

 Please, test the attached patch.

 (file #13935)
         Pavel Tsekov <ptsekov>
 Project AdministratorIn charge of this item.
 Thu 13 Sep 2007 09:35:30 AM UTC, comment #1:

 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.
         Pavel Tsekov <ptsekov>
 Project AdministratorIn charge of this item.
 Tue 11 Sep 2007 09:38:08 AM UTC, 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.
 }}}


 branch:72_preserve_attributes
 changeset:5097e9b62ed28ada175a4cfc27eee3f823d7345b

--

-- 
Ticket URL: <www.midnight-commander.org/ticket/72#comment:4>
Midnight Commander <www.midnight-commander.org>
Midnight Development Center


More information about the mc-devel mailing list