Welcome!

Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Native Development

Reply
Trusted Contributor
Zingam
Posts: 131
Registered: ‎05-09-2012

Re: Changing file ownership programmatically?

[ Edited ]

BGmot,

here is the output:

 

/accounts/1000/shared/videos/Edu/OpenCLCourse$ ls -l /apps | grep 10029
drwxr-x---   4 apps      10029          4096 Jun 05 12:07 sys.perimeterbrowser.gYABgMgpl40MVrFkZvPEXRuQTGE

 

Please use plain text.
Developer
BGmot
Posts: 956
Registered: ‎11-24-2011
My Carrier: x

Re: Changing file ownership programmatically?

Now we have to find out what app perimeterbrowser is, seems like this app created these files, so this app should be  able to remove them.

Anybody from RIM?

Please use plain text.
Trusted Contributor
Zingam
Posts: 131
Registered: ‎05-09-2012

Re: Changing file ownership programmatically?

[ Edited ]

Here is a thread by another user describing the same problem:

http://forums.crackberry.com/blackberry-tablet-os-f228/unable-delete-unzipped-read-only-files-717210...

 

I think I have unziped these file (unwilling) back in may when I selected the zip with the default file manager. If I remember correctly, the file was unziped automatically.

 

I don't want to do a security wipe for now because I am interested in finding a better approach to delete such files.

 

Note: When these files were created, the OS 2.0 was installed. I have updated it to the latest OS 2.1

 

Please use plain text.
Developer
peter9477
Posts: 5,617
Registered: ‎12-08-2010
My Carrier: none

Re: Changing file ownership programmatically?

Interesting... the "perimeterbrowser" thing looks like a good catch. That's likely the browser for the corporate data, which if true would imply you may well be unable to remove the data right now.

What puzzles me (well, one of the things) is that you can even read these files with anything outside the corporate side... I think you said you can, and if that's true this may involve a security bug of some kind too.

Peter Hansen -- (PlayBook and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!
Please use plain text.
Trusted Contributor
Zingam
Posts: 131
Registered: ‎05-09-2012

Re: Changing file ownership programmatically?

Actually I cannot open the files but I can rename the parent directories. I can even change the permissions of the parent directories (the one above system directory "videos") but changing, renaming or opening the files is not allowed.

Please use plain text.