-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Apps
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


Sponsoring


-
- Content .- Fans (1) .- Knowledge Base  . 

Lock It (File Locker/Unlocker)

   1.1.0  

KDE Service Menu

Score 58%
Lock It (File Locker/Unlocker)
zoom


Lock It (File Locker/Unlocker)
zoom


Downloads:  400
Submitted:  Jan 9 2012
Updated:  Feb 8 2012

Description:

This service menu uses the file system attributes to prevent user for delete very important files and folders, such as music, video, school works, company databases, etc..
It depends on the \"chattr\" command provided by the \"e2fsprogs\", and works only with ext2, ext3 and ext4 file system.
Only the root user can lock or unlock the files, and when a file is locked, not even root can delete it.
The use is pretty simple. Lock the files that you want to protect, when you need to modify a protected file or add a new file to a protected folder, just unlock it, when you finish working with it, lock it again.

- Installation

Just uncompress the file to:

~/.kde4/share/kde4/services/ServiceMenus/

And restart Dolphin and Konqueror.




LicenseGPL
(Lock It (File/Folder Locker/Unlocker))
Send to a friend
Subscribe
Other  Apps  from hipersayanx
Report inappropriate content



-

 suggestion

 
 by kdekda on: Jan 10 2012
 
Score 50%

Add trailing semicolon at the end of Actions array in both files


Reply to this

-
.

 Re: suggestion

 
 by hipersayanx on: Jan 10 2012
 
Score 50%

Fixed, thank you.


Reply to this

-
.

 dosnt work

 
 by masterdany88 on: Jan 10 2012
 
Score 50%

It dosnt work... :(
after I look my katalog in ~
I can normally access it!!!


Reply to this

-
.

 Re: dosnt work

 
 by hipersayanx on: Jan 10 2012
 
Score 50%

What do you mean with "normally"?
Once a file is locked you can access it for view and read, but you can't access it for edit, write or delete, not even root can do it, not even from a LiveCD.
But this work only on files and folders located in ext2, ext3 and ext4 partitions.


Reply to this

-

 Re: Re: dosnt work

 
 by gnagnibu on: Jan 14 2012
 
Score 50%

After locking a file or folder with non privileged user, I can delete it.
You said the plugin works only with root permissions: I think it will ask me for sudo password, but isn't it.


Reply to this

-
.

 Re: Re: Re: dosnt work

 
 by hipersayanx on: Jan 14 2012
 
Score 50%

What file system are you using?
If you run this command:

sudo chattr +i -R folderToLock

or

sudo chattr +i fileToLock

What is the error message?


Reply to this

-

 Re: Re: Re: Re: dosnt work

 
 by gnagnibu on: Jan 14 2012
 
Score 50%

Problem solved.
The problem is exec option into file .desktop; the solution is:

...
Exec=kdesudo "chattr +i -R %U" && notify-send 'Folders Locked'
...
Exec=kdesudo "chattr -i -R %U" && notify-send 'Folders Unlocked'

and

...
Exec=kdesudo "chattr +i %U" && notify-send 'Files Locked'
...
Exec=kdesudo "chattr -i %U" && notify-send 'Files Unlocked'

I'm running Kubuntu 11.10


Reply to this

-
.

 Re: Re: Re: Re: Re: dosnt work

 
 by hipersayanx on: Jan 14 2012
 
Score 50%

Fixed thank you!


Reply to this

-
.

 Functions in locked and no in unlocked!

 
 by aimeylie on: Apr 13 2012
 
Score 50%

Hello, my machine : debian 6.0.4 kernel 2.6.32.5-686 et KDE 3.5.10.

Functions in locked and no in unlocked! Why?

Thank you.


Reply to this

-

 Re: Functions in locked and no in unlocked!

 
 by hipersayanx on: Apr 13 2012
 
Score 50%

I not tested this service in KDE 3.5, just in KDE 4, I have no idea if this is a problem related to your desktop, sorry.
If you have a folder that is still locked, you can unlock it with:

su -c 'chattr -i -R /path/to/folder'

For files, just remove the -R parameter.


Reply to this

-
.

 This does not work in "unlocked" on KDE 4

 
 by aimeylie on: Apr 14 2012
 
Score 50%

Bonjour,

Cela ne fonctionne pas en "unlocked" sur une Debian, Madriva et Ubuntu avec KDE 4 !? En regardant votre code, je me suis apperçu de beaucoup d'erreurs ! Cela ne peut fonctionner chez vous. NULL --> 0/10

Hello ,

This does not work in "unlocked" on Debian , and Ubuntu with KDE Madriva 4 ! ? Looking at your code , I preview a lot of mistakes ! This can work for you . NULL - > 0/10


Reply to this

-
.

 Are you using the last version?

 
 by hipersayanx on: Apr 14 2012
 
Score 50%

On Arch Linux it works well, I use it day-by-day. I don't know what do you meant with "errors", I tested the code in Bash before and give no errors.
Are you using the last version?


Reply to this

-
.

 work !!!

 
 by xrooters on: Dec 19 2012
 
Score 50%

on kubuntu 12.10 x64


Reply to this

Add commentBack






-
-
Do you like or dislike Ubuntu Unity?
 Yes, unity is alien technology!
 It is less confusing than Gnome 3 default, shell.
 Granny thinks it is much more usable than Gnome 2
 Canonical is embarrasing itself with this split project
 Gnome 3 default shell is much better
 I dislike Unity, Gnome 3 default shell is alien technology!
 None of the above, I like the 2Gb for free and Apple alike behavior. Will post a comment instead

resultmore
 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
Events RSS   

Participate
Groups
Forum
Add App
Public API
About KDE-Apps.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2003-2014 KDE-Apps.org Team  
All rights reserved. KDE-Apps.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
KDE and K Desktop Environment are trademarks of KDE e.V.