Ubuntu :: Protect A File Or Folder From Unauthorized Delete?
Aug 13, 2011How can I protect a file or folder from unauthorized delete.
View 9 RepliesHow can I protect a file or folder from unauthorized delete.
View 9 Repliesactually i upload a password protect folder software, but unfortunately it was a trial version which i didn't know . now i am unable to recover my files from that.
View 2 Replies View RelatedRecently I setup a system for a non-technical user. He is only using Firefox, Pidgin and OpenOffice for about 2 hours a day. I have created a folder "/home/jim/myFiles" where he can save his document files. But Jim has accidentally deleted his myFiles folder on 2 occasions. He had intended to delete a file in that folder. Is there a way to lock the folder so that the user and create/read/write documents in that folder but not delete the folder itself?
View 14 Replies View RelatedI am running the latest version of Ubuntu (Ubuntu 11.04) which i setup as a dual boot OS with Windows XP SP3. I was listening to my MP3s using the Banshee music player on Ubuntu. My MP3s reside on an NTFS drive (which I mounted in Ubuntu to hear the MP3s). Via the Banshee player I deleted all songs from a particular folder and thought nothing of it until I later booted into Windows.
I saw the folder that had the songs I had deleted the songs and and thought I'd delete the folder as well except that I couldn't. It said the file might be corrupted. I logged backed into Ubuntu (Windows XP was shutdown not hibernated as I remember hearing that on Hibernating, you can't properly delete/copy files on Windows partitions). In Ubuntu too, I wasn't able to delete this folder - either via the Folder explorer or via terminal. I see a file named ".fuse_hidden0000041b00000017" along with some other files I had deleted (in Turquoise colour). I didn't see any posts in this forum with a help on resolving this issue
i will protect my folder so if someone want to copy that folder include container, he must enter right password first oh yeah i will store it in ntfs partition and backup in exsternal hardisk anywants how to do it in both of them, please share here because i already try to use permission but it's failed
View 1 Replies View RelatedIs there any way to password protect a whole folder?
View 3 Replies View RelatedI want to protect one of the folders in my VPS which is running under Ubuntu server 10.04 LTS I've tried doing this using .htaccess and I am being prompted for a user name and a password but when i enter the user name and the password I get the same window again but I am sure that I am entering the correct information. this is the .htaccess file code...
this file is located in the same folder that I want to protect. code...
how to delete a file or folder via apt-get remove but my written any rates and stops also tried rm and the file name again failed some sort of ideas otherwise I'm with Nokia n900
View 10 Replies View RelatedI am trying to add a command to my backup script to delete the oldest file in the destination folder before adding a new .tar.gz file.I found this information at .html which I thought would work fine and added the following line to my backup script:ls -t -r -l /backups/Scalix_Backup* | head --lines 1 | xargs rmHowever when I tried this I get an error:rm: invalid option -- wTry `rm --help' for more information
View 7 Replies View RelatedI have a folder on my flash drive where I keep sensitive info (important numbers, passwords, etc.) and would like to protect this info in the event that someone gets a hold of this drive.
I figured the best method was encryption so I started experimenting with gpg, but I encountered problems as mentioned here:
[URL]
I still haven't found a solution so I'm looking into possible alternatives. As shown in the above thread, someone recommended using eCryptfs or an encfs directory. Before I spend anymore time researching this stuff, has anyone tried using these before? Do they work well and do you think these would suit my needs?
The only other alternative I can think is just compressing the folder into a password protected rar file. Would this work well or would I be leaving my data vulnerable?
ALSO, I would a prefer a solution that would still allow me to backup this folder using rsync. I like to keep and up-to-date backup of my entire flash drive by syncing it to another flash drive using rsync.
is there a way to password protect a file or folder from the terminal? i wanted to do this because I may have several friends depositing files on my ssh server that they don't want each other to see. Or i might have a file i don't want them to see.I installed cryptkeeper,but it can't take commands from the terminal. Anything else I can try?
View 1 Replies View RelatedIm running apache2 on a debian webserver and i was wondering how i can password protect a folder in my www directory when someone try to access it from the web.
View 1 Replies View RelatedI've got apache running a webdav folder, I would like to implement mod_clamav to protect this folder - however I'm not having much success. Here's a copy of the relevant bits of code:
Code:
ClamavMode local
ClamavTmpdir /tmp/clamav
ClamavDbdir /var/clamav
ClamavExtendedLogging on
[Code].....
Logs are empty and the www.myserver.com/clamav page displays lots of statistics (all with 0 in them), I can run scans locally without any problems.
SO after using Testdisk to recover some images, the folders recup_dir.1 & 2 have saved in my FIle System area, when ever I try to press delete noting happens. I have also tried rm -f -rrm -f -fIt still dont delete, I have also deleted my user account and made a new one, but the files are still there.
View 4 Replies View Relatedim currently trying to configure SE Linux policy for a folder so that only my user with root privileges can access it and not just root but i don't know the commend to run on the folder to change its permissions
View 4 Replies View RelatedI would usually just root the permissions to 000 but I need to password protect a folder on a usb drive and then open it on windows.
View 1 Replies View RelatedI'm using ubuntu server 9.10 for a home build NAS. Everything is working great just have one more thing to figure out. I have Samba set up to access my files and I set up a recycle feature so anything deleted will get moved to a Recycled folder. (I learned this the hard way after hitting delete key by accident while browsing the shares in windows. Lost 100 GB of data)
Now it is for the most part working but the permissions on folders isn't getting set right. If I delete a file in a share I can go to Recycle bin folder and delete the file for good. But if I delete a folder I can not access that folder to delete or restore from the Recycle bin folder. I have to chmod the folder before I can do anything with it. Anything I can change to get folders deleted via windows to have the right permissions when it is moved to the Recycle bin folder?
[Code]///
upon browsing the home folder in my ubuntu system, i came across a hidden cache folder..
it occupied around 700 mb of space..and im falling short of space..
can i delete the contents in the folder? are they safe to delete?
I have Ubuntu Jaunty 9.04 updated to 9.10 and have downloaded Remaster from Remastersys. I followed all of the instructions, which were simple enough. However, there must be some instructions missing as the process failed. Working with Remaster through Synaptic Manager, the iso was downloaded into my "home" folder into its own Remaster folder. It was not the iso, like you get when downloading a distro from the Internet, which downloads just an iso onto the Desktop. Inside the folder were a bunch of empty files (I know, because I opened them) and an iso . At this point the Remaster instruction stop. They do not say what to do with the other files, or what they have to do with the iso of my Ubuntu layout. So, like any other iso (once I knew which one was the iso of my setup), I double clicked on it and it ran me through the process of accessing the DVD to burn it. Which I did. I tested it and it failed with some kind of message to the effect that certain files were missing or it could not read it. So, I thought, I would have to do the 'hunt and peck' method and experiment a few times like I did with the ordinary distro downloads until I get it right. But first, I would have to dump the Remaster folder in the "home" folder since it took up so much space on my hard drive. Wrong! I come to find out it is in something called "root" and that I do not have permission to do anything with it but "copy" it. Great. Just great! Now what do I do. I tried to change permissions, but was not allowed to do that either. The only thing I could think of - and dread - was the idea of having to wipe my hard drive and go through the whole reinstall procedures, which takes me days, just because Remaster has locked itself into my system - and there is no 'back door' to get out of it.
View 9 Replies View Relatedtell me a way to password protect the HOSTS file in ubuntu so that when i block certain websites the other person cannot unblock them.
IMP: i donot want the HOSTS file to be protected by 'root' password as the other person knows it.
Why is there no Delete when I right click like there is with Windows in ubuntu? Pretty much everything else is there like new folder and so on Is there some way to add it? Also why when i delete something does it not ask me if I am sure that i want to delete that file?
View 6 Replies View RelatedI create the file mytest.txt. Since this process is using this file. if I run this code in background and simply run "rm -rf mytest.txt" than file gets delete. Here is my code
int main()
{
FILE *fp;
fp = fopen ("mytest.txt","wb");
if (NULL == fp)
{
[Code]....
I was wondering how to password protect certain file folders?
View 6 Replies View RelatedThis might sound really stupid, so you'll all have to excuse my lacking knowledge. I read that USB attacks get more and more common, like putting in an USB stick with a malicious autorun script on it, and it's game over. Can AppArmor protect devices and limit their access to the file system?
View 5 Replies View Relatedhas my Ubuntu machine been cracked?
machine on home lan
192.168.0.102
it is the DMZ from router
ufw on (ports open for aMule)
sshd installed
[Code].....
I have a Windows Network folder in my places under Network and it will not delete. How can i delete this?
View 1 Replies View RelatedI'm using my free 2Gb of Ubuntu One space to back up some stuff and synch files between a laptop and desktop.
I synched a folder ok to try it out. Then I used the FAQ at
[URL]
to manually unsynchronise the folder as the right click option was greyed out.
But now I want to delete that folder from Ubuntu One using the Web site. The 'top level' folder does not have a 'delete' option. I've deleted everything under it but just want to get rid of the husk.
I've got a folder on my disk that I simply cannot interact with at all. It was created while extracting an archive. It has a special character in its name: "�". But all those other characters work fine. Can anyone give me a hint on how to delete the folder?Tried in terminal with rm -r which gives me an error:Code:rm: cannot remove `03 - Und die unertr_glichen Schmuggler/': No such file or directory
View 1 Replies View RelatedI have a 500GB iomega portable HD. I used Gparted to split the drive into two partitions, a fat32 of roughly 400GB and an EXT4 partition of roughly 100GB.
On my EXT4 partition, there is a folder called lost+found. I can't delete it because I need to be root, yet my account has administrator priviliges (but I CAN rename the folder). I can't create other folders on this partition, nor can I copy-paste and files on there either.
Basically, that partition is unuseable. In the properties of the folder, it says that I am not the owner so I cannot change the permissions. (It is definitely MY hard drive)
All options are greyed out.
How do I give myself permission to use this EXT4 partition?
I accidently selected the wrong folder to sync with ubuntu one. It has now added .u1conflict to all my files (around 8000 of them ) and now I can't stop the folder syncing. I've followed these instructions This just returns an error:
Code:
FolderDeleteError: DOES_NOT_EXIST (subscribed=, suggested_path=~/Music, generation=,
node_id=dc8be355-c4dc-4111-9650-b4744aeae2a4, volume_id=1897e926-212b-424e-87ee-
[code]....