Software :: Libtrash On Server / Running In Bg And Location Of Trash Folder

Dec 1, 2010

I've been looking into libtrash to give me the ability to recover files that users mistakenly delete from Samba/Netatalk/ProFTPD shares.But I have some questions about getting a specific libtrash configuration.We have a RAID6 shared files partition and all our users have full read and write access to /mnt/raid6/shared through Samba/Netatalk/ ProFTPD...Reading through all the docs supplied with libtrash it seems to suggest that the trash folder can only be located in the user's home folder.

This has prompted a couple of questions:

1) Having gone through the docs, I can't find a place to specify the location of the trash folder.I can specify the name of the trash folder, but it seems like it's automatically created under the user's home directory.I'm looking to have the trash folder also stored on the RAID6 partition.Because the boot/OS drive is a smaller 120GB drive, and the RAID6 is 4TB. So if someone deleted 3TB of files, the trash folder wouldn't be able to take them all as the trash folder's on the 120GB boot drive.

Is there a way to specify the absolute location of the trash folder?I'd like to have a single trash folder for all users of the machine.

2) Since this is a server, most of the daemons will be running as user nobody/samba/ whatever. Not an actual interactive user account with a home folder etc.
I have read the note about this in the docs and it seems that user nobody will need write access to the trash folder in order to put files in there.However it will rarely be the case that it's an interactive user removing files from the terminal. I'm only looking for protection if any of the server daemons remove files.

Does libtrash run in the background or is it only active when an interactive user is logged in?Since it seems libtrash is activated by a variable in /etc/profile

Is libtrash suitable for what I'm looking for?Anyone got any alternate suggestions for what I'm trying to do?Is there something I could be doing on the filesystem level? The FS of the RAID 6 array is ext3 but can always change that if there's something better out there!OS is CentOS 5.5 64bit

View 1 Replies


ADVERTISEMENT

Server :: Sended Mail Go To Trash Folder Of Reciver Using Postfix In Smtp Server?

Nov 26, 2010

my postfix to send and recive external emails, but many recive in trash folder.Other programer say me that is need some configurations in postfix with and dovecot to work, but i dont know what!This is my first time configuring a linux server at this week.

my main.conf
sample_directory = /usr/share/doc/postfix-2.3.3/samples
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES

[code]...

View 3 Replies View Related

Ubuntu :: Change To Trash Dir Location?

Jul 15, 2010

I have an SSD and i was wondering if i could change my trash location to an SD card that i always have plugged in, so that i write less to the drive and maybe extend the life of my ssd.

View 9 Replies View Related

General :: Moving The Trash Location?

Mar 17, 2011

I store all my important data on a backed up, shared drive. I'd like to keep my deleted files around, but not have them using space on the share. I have a local drive on this machine which I want to use, but I cannot figure out how to move the location of the trash can. I am using redhat with nautilus.

View 1 Replies View Related

Software :: Trash Can Point To Wrong Location?

Jan 20, 2011

My trashcan is pointing to the "/" directory instead of the "~/.Trash" directory. When I type in "trash:/" in Nautilus, it is also opening the "/" directory.Does somebody know how to change this?I am running RHEL5 and I am using GNOME.

View 3 Replies View Related

OpenSUSE :: Where Is The Trash Folder

Mar 13, 2011

Only one question: Where is located the trash folder ? (in which directory)

View 2 Replies View Related

Ubuntu :: Trash Folder Shows Nothing?

Apr 11, 2010

When I open the trash through the icon in my desktop (trash://) I see 0 items, when actually I have a lot of items in my trash.

View 2 Replies View Related

Ubuntu :: Cannot See The Contents Of The Trash Folder ?

Jul 5, 2010

When try recover a file from thash folder, i cant see the contents, but, when make properties to the folder, show 47 files on the trash folder, and the docklets of docky, also show files (41 files). Ubuntu Lucid 10.04

View 4 Replies View Related

Ubuntu :: 10.04 - Can't Find Trash Folder?

May 13, 2011

I accidentally deleted an important folder from my desktop and now need to get into the trash folder to restore it. I thought that it is und by opening my home folder (nautilus?) and that is shows up in the list in the pane on the left. Now I only see two items listed there - "Home Folder" and "File System," and the trash folder is not in either of them. Not even if I select to view hidden files.I know how to get to it from the command line and view what is inside:

Code:
cd ~/.local/share/Trash/info; ls
But I would prefer to navigate to it in the gui

View 2 Replies View Related

Debian :: How To Expand / Enlarge Trash Folder

Jan 22, 2011

Trying to refresh my diseased memory & tell me how to expand/enlarge trash folder?

View 6 Replies View Related

Fedora :: Unable To Recover Folder From Trash Bin / Fix It?

Apr 19, 2011

I switched from OpenSUSE to Fedora and I moved a folder full of coursework and a backup of that folder (which was pretty outdated) onto a usb. Once I had installed Fedora, I first deleted the outdated backup, intending to make another fresh one but then I realised that somehow the original files hadn't copied from OpenSUSE onto the USB.

The situation I'm in now is that I only have the outdated backup in the trash can so I need that back but I get the following error message when I try and recover it:

Quote:

Error while copying to "desktop". There was an error getting information about the destination.

And then when I select the "Show more details" drop-down:

Quote:

Error stating file '/media/5E7A-32A1/desktop': No such file or directory

View 4 Replies View Related

Ubuntu :: Look Into Trash Folder - Unable Immediate Deletion?

Jan 1, 2010

Where is the Trash folder where deleted files are moved? I found no /dev/null How can I tell Ubuntu: Wipe Trash folder on exit How can I tell Ubuntu: Delete files immediately without moving them first to Trash folder?

View 5 Replies View Related

Ubuntu :: .Trash Folder In The /root Directory?

Feb 26, 2010

.Trash folder in the /root directory. If I'm using gksudo nautilus, where can i access this cause It may have trash I can delete. (Trying to free up space , and I already used wacktomack's guide)

View 3 Replies View Related

Ubuntu :: Can't Move Folder To Trash NTFS?

Jun 20, 2010

I have an NTFS partition automatically mounted in fstab. I have read many forums and have done what they have to try and fix this problem, but it still won't move the files to the NTFS trash folder. What can I do to make this work?Here is my fstab entry:

Code:
# NTFS partition /dev/sda1
UUID=5D924B8408514F71 /media/MediaDrive ntfs rw,auto,users,nosuid,uid=1000,fmask=137,dmask=027,utf8 0 0

View 5 Replies View Related

Ubuntu :: NTFS Trash Folder For More Than One User?

Aug 8, 2010

I recently added another user to my system. My principal user has ID=1000 the new user has ID=1001, they both belong to the group id 1000.

I have an NTFS partition that I am now able to mount for both the users at boot with this line in the fstab:

Code:
UUID=F472BDC372BD8ABE /media/OS ntfs-3g quiet,defaults,uid=1000,rw,utf8 0 0

The point is that if I don't put the option

Code:
uid=1000

I cannot move files to trash but only delete them if I put it I can move files to trash but only if I am logged in as the user with ID=1000 I have tried to change the option and use the groups logic instead of the users (groups are there for this purpose aren't them?) and change the option into

Code:
uid=1000
since both the users belong to group 1000

but the result is that in this way none of them can trash anything (only delete permanently) I have also tried to create a .Trash-1001 folder did not work either

Is there a way to be able to use a Trash folder (or different trash folders I don't mind) and be able to trash files for different users in NTFS?

how the fstab line would look like?

View 2 Replies View Related

General :: Remove .mozilla Folder From Trash Can?

Dec 12, 2010

I have an old hard drive w/XandrOS that I decided to make external storage. I didn't bother wiping it. I figured I could just replace files on it like .mozilla folder.I currently have OSS 11.3 where I chose to copy and paste .mozilla from OSS to external HD. I was denied access to copy over certain files.Then I made the bonehead maneuver of trashing .mozilla from the external HD. Now, my trash can says that my access is denied to "cookperm.txt" and other files. I attempted to restore it, but it can't because the new .mozilla file is the external HD.Wow, did I corner myself. I could really use some help. Just want to eliminate that old

View 10 Replies View Related

Ubuntu :: Cannot Delete Or Empty .Trash-1000 Folder?

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

OpenSUSE :: Add Trash Can To Desktop Folder View \ Icon Change?

Feb 12, 2010

Does anyone know how to add a fully working (icon changes) Trashcan to the Desktop Folder View?I don't want the plasmoid/widget on the Desktop or on the Task Manager Panel.I can right click -> Create New -> Link to Location(URL), but the icon doesn't change.If the Desktop Folder View is a plasmoid, I guess I'm asking can a plasmoid (trash can) run inside another plasmoid (desktop view) %-)

View 5 Replies View Related

Ubuntu :: Unable To Delete Simple Backup Folder From Trash

Jul 17, 2010

I'm a beginner at backing up my Ubuntu system, but I've set Simple Backup to do a backup once a week. I deleted the oldest of these files, but now it's sitting in my Trash and I can't empty it. I get a permission denied error for the folders within the backup folder in the trash, yet I can't restore the folder either - Ubuntu says it 'failed to determine the original path' for the folder. I've just discovered this in Xubuntu Jaunty, but I'm confident the same will happen in any other WM I choose (I have several installed - I like variety ).

It's not a huge file, but it's hanging out there and I'd like to get it either deleted or restored. Possibly I oughtn't to have deleted it in the first place (it usually lives in /var/backup, which I can't access except as root). The files, which I probably deleted /as/ root, show up in my user trash rather than root's trash. I found the trash in ~/.local/share/Trash/files, but I'm not sure if just deleting them as root would be a good.

View 1 Replies View Related

Ubuntu :: Removal Of Individual Items From Trash Folder In Evolution

Oct 17, 2010

Is there a way to remove individual deleted e-mails (as opposed to having to empty the entire contents of the folder) from the trash folder in the Evolution e-mail program? If not, you can do this in Outlook, why would this option not be included in Evolution?

View 3 Replies View Related

Ubuntu :: Is It Safe To Delete Trash-1000 Folder On FAT Pen Drive?

Mar 12, 2011

I formatted an old pen drive and noticed that when I deleted files, the free space was not going down. Then I hit Ctrl+h and saw a folder named .Trash-1000. Is this only needed if someone if using Windows or can it be safely deleted?

View 4 Replies View Related

Fedora :: Remove The Computer, Trash, And Home Folder From The Desktop And Have Them Just In The Panel?

Jan 20, 2011

Is there a way to remove the Computer, Trash, and Home folder from the desktop and have them just in the panel? I like a clean desktop with no icons, and would like to use the top panel as a "dock" of sorts.

View 5 Replies View Related

General :: Could Not Make Folder /home/theif519/.local/share/Trash

Jun 5, 2011

After removing GDM, XFCE4, and the crap-load of dependencies that came with it, something must have gone wrong. I can not place items nor delete items any more. How do I fix this problem of mine? I'm using KDE at the moment.

Code:

Could not make folder /home/theif519/.local/share/Trash

Deletion of files is necessary. I have installed libtrash hoping it'd work, but it didn't, I even did chmod 755 like it suggested I do. What do I do?

View 14 Replies View Related

General :: Copy Jre Folder To Another Location?

Jul 10, 2011

I downloaded the bin file, and installed it but I haven't realized that I made the folder in the current directory. I would like to install in /usr/java.

Can I now just copy paste it there. Or I need to re-install to desired location I installed JRE , is that ok or I need to install sdk

View 1 Replies View Related

Ubuntu :: Nautilus : Location Is Not A Folder?

May 18, 2010

Nautilus : Location is not a folder

View 1 Replies View Related

Fedora :: Location Of FireFox Cache Folder?

Mar 21, 2011

i want to know the location of firefox cache folder..when we watch any video on ..... or any sites firefox buffers the whole video in its cache memory..so i want to copy that whole video from that cache folder directly so that we dont need any third party add-ons to download videos..for that i want to know the exact location of that cache memory folder of firefox browser in linux

View 14 Replies View Related

Ubuntu :: Thunderbird 3.0.3 Email Folder Location?

Mar 4, 2010

I just upgraded to Thunderbird 3.0.3 and want to locate the folder that contains my email.In TB 3.0.1 I used to backup my default folder which was something like Wood.default.Do you know where TB 3.0.3 stores the default email folders and conents?

View 2 Replies View Related

Ubuntu :: Default Home Folder Location?

Jul 11, 2010

I was just wondering , when you create a new user , where are the files that make it ? , like the "default" home folder?

View 7 Replies View Related

Ubuntu :: Change Home Folder Location?

Aug 17, 2010

As a precaution to protect my home folder contents when I reninstall ubuntu if need arises I intend to change my home folder location to a mounted ntfs partition in my HDD. How can I do it the GUI way? Like in windows the "My Documents" location can be changed by going to "My Document" properties and entering the new location.

View 2 Replies View Related

Ubuntu :: Copying All Files In Folder To Another Location?

Feb 21, 2011

suppose I have a tree structure like this:

/home/mahmood/sim/a/b/file1.cpp
/home/mahmood/sim/a/b/file2.h
/home/mahmood/sim/a/c/file3.txt
/home/mahmood/sim/d/file4.txt

How can I copy all of them to /home/mahmood/sim. So that when I run "ls" in /home/mahmood/sim, I see all files:

file1.cpp
file2.h
file3.txt
file4.txt

Can 'cp' search for all file and copy them in another folder?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved