[haiku-bugs] Re: [Haiku] #10796: Copying files from read-only USB stick to writeable disk leaves them read-only

  • From: "KapiX" <trac@xxxxxxxxxxxx>
  • Date: Tue, 29 Apr 2014 08:24:31 -0000

#10796: Copying files from read-only USB stick to writeable disk leaves them 
read-
only
------------------------------------+----------------------------
   Reporter:  KapiX                 |      Owner:  axeld
       Type:  bug                   |     Status:  new
   Priority:  normal                |  Milestone:  R1
  Component:  Applications/Tracker  |    Version:  R1/Development
 Resolution:                        |   Keywords:
 Blocked By:                        |   Blocking:
Has a Patch:  0                     |   Platform:  All
------------------------------------+----------------------------

Comment (by KapiX):

 USB stick filesystem = FAT32
 hrev47169
 Disks = Hard disks, but I need to elaborate further here.
 The issue here seems to be that Tracker copies files preserving all of
 their permissions.
 If the file's owner is root (on BFS volume that's most of the files) if I
 copy it, I can edit it without further modifications. On ext4 volumes
 owner in my case is "1000", which means, if the file doesn't have write
 permission set to others, I need to modify it in order to edit it.
 What is happening with FAT32 USB stick is, I think, the driver just sets
 the permissions depending on the mode user selected it to mount (since
 FAT32 doesn't support them IIRC).

 I would expect Tracker to change those permissions for me, because when
 I'm copying files from read-only volume to a writeable one, I probably
 want to edit them.

--
Ticket URL: <https://dev.haiku-os.org/ticket/10796#comment:2>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: