Fedora :: Allow User To Save/edit/delete Documents In A Folder But Not Delete That Folder?
Sep 6, 2011
Recently 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
ADVERTISEMENT
May 9, 2010
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 Related
Jun 24, 2011
I want to limit delete of a particular folder in the user's home folder and to restrict any add/change/delete on files in that restricted directory.
/home/myuser
/home/myuser/_protected //no delete
/home/myuser/_protected/1.txt //only read
How can I do that on Ubuntu server?
View 1 Replies
View Related
Apr 24, 2010
I'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]///
View 1 Replies
View Related
Jun 8, 2011
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?
View 5 Replies
View Related
Jun 13, 2011
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 Related
Sep 2, 2010
I have a folder "scratchbox" created by a user "hari" (which is cross-compilation toolkit, and creates soft-links if it might ). Now I deleted the user "hari" by using userdel command. I didn't uninstall scratchbox from "hari" account. Now even when i login by root, i am unable to remove the "scratchbox" folder.
[harsh@ubuntu] lsattr -d /scratchbox/
-----------------e- /scratchbox/
I have created new user (harsh) and want to install the "scratchbox" again, but it won't allow.
harsh@ubuntu:~$ sudo rm -rf /scratchbox/
rm: cannot remove `/scratchbox/users/hari/proc/asound/Intel': Operation not permitted
rm: cannot remove `/scratchbox/users/hari/proc/asound/card0/oss_mixer': Operation not permitted
[code]....
View 4 Replies
View Related
Apr 23, 2009
I have a system in which I do not have root access to. On that system, I have my own directory which I share with other users. I am trying to clean it up when I noticed that there was a subdirectory created by another users in my group that I cannot delete. It has all the permissions set besides global write. How can I delete this folder without root permission? I can't even chmod or chown it.
View 3 Replies
View Related
Apr 17, 2010
I have installed Fedora 12 x86_64 and vsftpd. I would like to set up an user for FTP so that he/she could only view/edit files in one certain folder (the one that I set up). How would I go about doing that?
View 2 Replies
View Related
Jan 8, 2010
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 Related
Jun 19, 2010
I'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.
View 1 Replies
View Related
Aug 19, 2010
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 Related
Sep 24, 2010
I 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?
View 8 Replies
View Related
Nov 14, 2010
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]....
View 4 Replies
View Related
Feb 28, 2011
I am a newbie to ubuntu. I just have a simple question: I used wubi to install ubuntu and the installation procedure was perfect. One problem arose after installation, the c:/ubuntu becomes almost 30G! Can I delete it?
View 7 Replies
View Related
May 19, 2011
I installed a program in /usr/share on Ubuntu 10.04, but the program was actually bigger than there was room on that partition. It gave me some trouble, because when I tried to delete the folder, it said it couldn't move it to the Trash. When I restarted, it won't let me log in Ubuntu again...
Is it possible to delete this folder (/usr/share/IDE_SE) from Windows? or some other workaround to delete this folder in Ubuntu?
View 5 Replies
View Related
Oct 3, 2009
I have accidentally created a very large folder that contains probably more than a million files. I have tried to delete it using all of these methods:(1) rm -rf myfolder/(2) Using midnight commander trying to delete the folder(3) find myfolder/ -type f | while read -r; do rm -v "$REPLY"; sleep 0.2; done(4) find myfolder/ -type f -print0 | xargs -0 rm -fThe find command would give an out of memory error, and other methods would just freeze the computer. I knew a few of the file names, but even if I tried to do ls myfolder/filename0, it hangs.
View 4 Replies
View Related
Dec 23, 2010
Is there any function to delete a folder which has few files in it ?I tried rimdir() bit it can only delete empty folders; unlink() can not delete directory entries. any other function ?
View 7 Replies
View Related
Dec 5, 2009
I'm using rmdir(), and everything goes ok if the directory is empty, ?how can I remove the entire tree when i have other files or directories in the folder that I want to delete?I've read about using "system(rm....)" but i REALLY want to do this without it, is it possible?
View 4 Replies
View Related
Mar 25, 2011
i have just shifted from Windows to openSuse 11.4 it superb really love it.. Mounted all my drives onto openSuse. I am not planning on going back to windows soon, but may dual-boot with Windows 7 after 8 months.So, in the drives there are some folders in each partition
1) $RECYCLE.BIN2) RECYCLER3) System Volume Information4) The File pagefile.sysPlease tell me deletion of which will cause what problems in
View 3 Replies
View Related
Mar 7, 2010
time using OpenSUSE.When I mounted an ntfs drive, I did it 2 times, and create 2 different folders in root/windows (C and E).Is there anyway to remove 1 of them?
View 6 Replies
View Related
Feb 5, 2010
I've been organizing my pictures (i.e. deleting the bad ones). However, I've recently got hold of those same pictures on a higher resolution and I'd like to delete the same pictures of the higher resolutions.This means that I'll have two folders, High Res and Low Res. I'd go through all files in the High Res folder and I'll check if there's a file with the same name in the Low Res folder. If there is, the file in the High Res folder will be kept. Otherwise, I'll delete it.So I wanted some quick way to delete PIC1.JPG, PIC3.JPG and PIC4.JPG from the High Res folder.
View 9 Replies
View Related
Jul 29, 2010
A friend running Evolution on Ubuntu 9.10 lost her "Sent" folder. I soon discovered that she must have accidentally dragged it to "Templates", because inside that folder was another "Sent" folder containing all her sent e-mails. The main "Sent" folder was still there, but empty.
I moved all her sent e-mails back to the main "Sent" folder, and then tried to delete Templates-Sent, but Evolution just says it can't do that.
View 4 Replies
View Related
Sep 9, 2010
I backed up my information from 10.4 to an external hard drive before I switched to pinguy using sbackup. Once I installed pinguy, I made sure to download sbackup and hit restore. So far, all fine and dandy, except when it restored my information, it extracted all the information to a new folder in /home, which is root-restricted, so I can't even access it normally. I got annoyed, and just manually extracted the music and documents (which were the only things I really cared about anyway), and now I'd like to delete the 15 or so gigabytes just sitting on my computer, taking up space. The folder being root, I couldn't just drag it to the wastebasket. so I started terminal, entered root, typed rm /home/tmpuWiQlI (the folder in question), only to be told it's a directory and can't delete it! What gives?
View 5 Replies
View Related
Jul 4, 2011
I copied a folder from /media/memory_stick into a folder /opt/openerp/server/bin/addons.
Trying to open the copied folder I discovered that it is impossible because it is owned by root.I should like to delete the copied folder.To avoid this ownership I copied the folder in /home/cristian/Downloads and I will copy it with:sudo cp -R folder_name /opt/openerp/server/bin/addonsMaybe in this way the folder will be not more owned by root.I tried already but because in the destination folder already exist one owned by root nothing is happening.
View 7 Replies
View Related
Jan 29, 2010
I have tried to empty the root /tmp folder but instead to empty it I , as it seems, deleted it with rm -rf /tmp as su. Now SUSE does not start anymore.
1. how to repair that and
2. how to empty the tmp fplder.
View 5 Replies
View Related
May 11, 2010
When I installed Lucid and first switched language/locale settings, a window popped up asking me if I wanted to change the name of the Documents, Music, Video etc folders into the new language.
Originally I was worried that this might be some irreversible operation and said no and ticked the don't ask me again box.
It seems though that this is just a cosmetic operation and I'd quite like to use this function now. Does anyone know where I can change the setting to accomplish this?
View 3 Replies
View Related
May 5, 2010
Straight to the problem on my [Ubuntu 9.10].I cannot delete or empty my .Trash-1000 folder on my flash drive. I tried changing permission with chmod but no way, I cannot empty the folder via the Ubuntu main trash option 'Empty Trash'. I read a bunch of threads but no way.Do you know a solution that works to this problem?Even further. Do you know a way to tell nautilus to avoid using that folder in my USB devices and use instead the normal trash folder on my system?
View 5 Replies
View Related
Oct 7, 2010
Im assuming there is a simple answer for this but I have yet to find it in forums. I have 2 partitions mounted on my ubuntu desktop, one is Windows C: drive labeled "Core" and the other is D: drive labeled "Reserve" but for some reason I have a second Windows folder on my desktop, when I attempted to delete it it began to delete the Windows files as well, one forum said to right click and "remove from desktop" but this option isnt in the menu. How can I just delete the folder?
View 2 Replies
View Related
Nov 24, 2010
i'm confronting atm. I need to create a folder where ppl can copy files and i need to be sure that those files cannot be deleted after they are copied there. The folder will be accessed over network, and i need to be sure no one will delete somebody else's files.Also i need to tell you that i'm working with regular users, so creating a folder for each user and chown/chmod-ing it won't do the trick(allready tried and ended up with a whole lot of files in the parent directory).I also tried chattr +a but that doesn't allow them to write new files in the folder.
View 2 Replies
View Related