[FFmpeg-trac] #1904(avformat:open): image2: cannot open files not readable by owner

FFmpeg trac at avcodec.org
Sun Nov 11 19:20:12 CET 2012


#1904: image2: cannot open files not readable by owner
------------------------------------+------------------------------------
             Reporter:  robert      |                    Owner:
                 Type:  defect      |                   Status:  open
             Priority:  normal      |                Component:  avformat
              Version:  git-master  |               Resolution:
             Keywords:  image2      |               Blocked By:
             Blocking:              |  Reproduced by developer:  1
Analyzed by developer:  1           |
------------------------------------+------------------------------------

Comment (by robert):

 Replying to [comment:3 cehoyos]:
 > Did you test above patch?
 > Isn't open() refusing to open files if the user does not have the
 relevant permission himself?

 Hi cehoyos, I know it's odd but on Android you find those permissions,
 maybe because every app runs on its own sandbox with its own user, so it
 wouldn't make sense to make the files owned by a single user. I don't
 know, it's just an idea...

 Regarding your question about open()... it won't fail if "others" have
 read permission even when the "owner" has no read permissions. If you
 think your patch is better it's ok, I'm mostly a java programmer and I
 don't know much about the C apis.

 Thank your for your fast response.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1904#comment:6>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list