This forum has been archived. All content is frozen. Please use KDE Discuss instead.

File Permissions and Owner Changed by Firefox Plugin - Adobe

Tags: None
(comma "," separated)
aaa237pw
Registered Member
Posts
18
Karma
0
OS
Hello

Some background info: I recently downloaded Firefox10 on my Debian Wheezy KDE 4.6.5 system and installed it. When I open Firefox10 I usually get the Adobe Acrobat splash screen. I declined the privilege of using their plugin until I needed it. When I closed Firefox10 a ~/.adobe and ~/.macromedia directories were created (after a decline!!!). The reason I do not want Adobe folders present on my system outside of me using their app is that I do not trust Adobe especially with flash cookies et al. I even disabled the Adobe plugin and I still got the message.

I deleted and recreated the folders as totally forbidden to anyone. After another decline, I checked the folders and the permissions were modified to allow entry and files were now populating the folders.

I deleted the folders and as ROOT I recreated the folders again in my home directory forbidden to everyone. Would you believe that when I checked my home directory after closing Firefox10 and declining Adobe the ownership of the directories in question was changed to my user and files were populating the folders. Firefox constantly runs as a user and not root.

I need to know how as a user I can delete forbidden root folders? and more important how can I prevent entry into the folders?

Any help appreciated . . .

Thanks
aaa237pw
Registered Member
Posts
18
Karma
0
OS
SOAB!

I figured out one way to do it!

As a user rename the root folder which is apparently allowed and that leaves a space for the new user folder.

i.e.
as root ~/.adobe created with forbidden permissions
as user rename to ~/.adobe.old
as user ~/.adobe created with new permissions
User avatar
google01103
Manager
Posts
6668
Karma
25
I have a cron (Kalarm actually) that every 4 hrs removes these folders, you of course could do this more frequently

Another option would be to change the ownership of these folders to a different user and make sure the user, group and other permissions are not writable or executable (ie forbidden). I wouldn't use root (security reasons) for this but create a new account just for the purpose.


OpenSuse Leap 42.1 x64, Plasma 5.x

aaa237pw
Registered Member
Posts
18
Karma
0
OS
Appreciate the reply.

I have a system incremental backup that runs hourly. I will load some extra code to take out the trash.

Still the problem about the chnaging root permissions.

Thank You
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
I will note that even if a file of folder is not writable by a given user, if they are the owner of the folder that contains that file/folder then they can delete or move it as they wish.

If your $HOME was owned by root, then that might stop it, but that would be totally inpractical. A cronjob is probably the best way here.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
aaa237pw
Registered Member
Posts
18
Karma
0
OS
Thanks for the reply.

I have done just that.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]