Red Hat / Fedora :: Where Is The Directory That The Root Trash Goes To
Feb 8, 2010
I deleted a bunch of things with root (old home folders) but now I can't empty the trash....where is the directory that the root trash goes to? I'll do a terminal delete from there but I can't seem to find it.
.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)
So I transfered a few folders with videos in them to the public folder on an Ubuntu 10.04 laptop I have from my Ubuntu 10.04 64bit laptop. When I wanted to delete the folder I didn't have permission so I ran "gksudo nautilus" so I could delete it as root. So I deleted the folder but I did not get the space back!
I went to /.local/Shared/Trash and one of the folders I deleted was there but deleting it didn't get that space back either.
I did some searching but most of what I find doesn't help or tells me to look in the folder /.local/Shared/Trash folder but that didn't help any.
I work in a compagny and i encounter a problem with the samba trash.When i delete a file from our network directory, the file don't move to the samba trash directory. But, the server create the same samba tree like the orginal file. It's more simple with a example.This is the file i delete to my samba tree S:departementgestion_informatiqueinformatiquecommut est.txt.This is the samba tree that the server create at the moment when i delete my file : @IPcorbeilledepartementgestion_informatiqueinformatiquecommun
The problem is here : We want the file test.txt into this trash tree and it isn't.This is the Samba trash configuration :
Tell me how I can I login as root?I want to get root privileges in www directory because I have a web server and I want to put there my site and I can not do that
I am using fedora 12. I got "no space in root directory" warning from the system. When I went through it, I found many of the space has been occupied by /var/log/httpd/error-log file. So I just deleted the file but when I check the space with "df -h" command. It shows 0% availability. The same problem occurred before but it solved when I restarted the system. But how to regain the space without restarting the system?
I just wanted to post this in case it helps anyone else. I have all my personal files (photos, documents, etc.) saved on a separate ext3 partition (so I don't have to worry about them on new installs, etc.). When I tried to delete files, however, I always received the message: "Cannot move file to trash, do you want to delete immediately?".
After much searching and failed fix attempts (mostly unnecessary messing with fstab), I found this post, which is now archived (or I would have replied there):ttp://ubuntuforums.org/showthread.php?t=759544. And frediE's solution, with a couple tiny modifications, finally solved the problem! (So huge thanks to frediE! ). irst, I found my user id, which is 1000, by going to the System > Administration > Users and Groups menu, selecting my user name (e.g. jnewm), clicking "Properties", andselecting "Advanced".
Second, I created a folder on the root of my partition called ".Trash-1000". (I may have needed to use "gksu nautilus" from a terminal to create the folder, I don't recall.)Third and last, I navigated to the root of the partition in my terminal and ran: sudo chown -R jnewm:jnewm .Trash-1000. Followed by: sudo chmod -R jnewm .Trash-1000 (I doubt this second step was necessary, but I'm listing it just in case). (confirmed unnecessary)
I am trying to get apache to start at boot in Fedora 10 but I am getting "Document root must be a directory", I tried to change the Selinux settings with: chcon -R -h -t httpd_sys_content_t /www
I checked the new settings with ls -aZ and the changes apear to be fine. apache apache unconfined_u:object_r:httpd_sys_content_t:s0 But I still get the same message on my boot.log file.
I did a fresh fedora install and have overwritten the root user directory ( /root) with a backup of a previous install. Now I cannot log on through the login screen with the root user password. I can login su - as root on the command line with the password OK.
I have configured apache on my Centos 5.2 and it is working well. I want to have a sym link of my docs directory in /root/ in the apache root directory. I used ln -s command to create this sym link. But when I tried to access this I get the following error:
You don't have permission to access /docs on this server. Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
How can I access this directory in apache. i use apache 2.0.63.
Why do I always need to write "su" then my password to extract or copy any file in fedora 11. How to configure so that I always be in my root directory.
I no longer have access to my root desktop. On a session I attempted to change the root username but i apparently assigned it a wrong directory that does not exist. When I rebooted with my new root username, i was instead recognised as a simple user (no root privileges). I tried the console to change to "old" root but root password is not accepted and there is no way to access to sudoer files. it seems that inserting a new username requires root privileges and i am back to square one. Simply logging with old root username and password after restart gives me a blank screen with nothing on it and cannot even reboot.
I run ProFTPd with TLS authentication on my Debian Lenny server. My problem is that despite of the fact that my users connect chrooted, one of my friends had root privileges after logging in form a Macintosh and could browse the root directory, too.
Making a script. This is for my linux class. Basically when you run it, whatever directory it is in, zips everything, backs it up to the folder its in, and also makes a copy of it in the root directory. Here is what I have, but its not running right.
Code: #!/bin/bash echo echo echo "Automate Backups" echo -n "Would you like to backup? Y or N:" read answer1 if [$answer1 = "y"] then if [$USER = "root"] then echo tar -cPvzf "$USER"_backup.tar.gz.`date +%F` /"$USER"/* cp "$USER"_backup.tar.gz.`date +%F` /backups/"$USER"_backup.tar.gz.`date +%F` echo "Successful Backup" fi echo tar -cPvzf "$USER"_backup.tar.gz.`date +%F` ~/"$USER"/* cp "root"_backup.tar.gz.`date +%F` /backups/"$root"_backup.tar.gz.`date +%F` echo "Successful Backup"
1. yum install vsftpd 2. service vsftpd start [ok] 3. nmap from outside verifies tcp 21 is open for business 4. ftp myipaddress.com results in login failed for user root.
I want to login as root and have access to '/' as my home directory. What do I have to do to get this to work?
When I move something to Trash it doesn't show the option of "Empty Trash". I can use "move to Trash" and it just moving there like some ordinary folder, but shift+del give me an option for deleting the files. Using OpenSUSE 11.3 32bit.
I have a machine which has only /opt with some decent amount of space where I can install a software. /opt belongs to root:root. The software I want to install cannot be installed as root user.
So lets say I create a directory called /opt/install1 and then chown -R install1 to belong to user1. And now I install the software under /opt/install1 with user as user1.
Is this a best practice violation? There could potentially be just /opt/install1 belong to user1 and in future everything else created under /opt belonging to root..
I messed up the first installation of Fedora on my server. My setup is as follows: Fedora and Gnome - NFS system, No dual boot (Windows or anything) Fedora ISO DVD downloaded No kickstart or other tools. how to set this up, from the time I insert the disk and have it boot up (configged already to boot from it). I know how to wipe it clean at intall time. Is that the root directory? And, is /boot the actual boot directory? I'm just having a hard time uderstanding that. As I said, I just want a quick itemized list, step 1, step 2, etc, from partitioning, creating file system, mounting, etc. in the right order.
I have just created an 11.3 64 bit image using susestudio. All seems well but would like to customize the desktop via my script that I have added. My question is how do I remove the home directory and the trash icon from the desktop? Or better said what is the path to removing the symbolic link, I cannot find the symbolic links in the desktop directory. It is empty, I do not see any symbolic links under /home/test/Desktop?
I have a problem with a couple of folders in the Trash. If I click on the Trash icon, 2 foldersare there, and when I try to delete them, it just says "Failed to delete the item from the trash"
But when I go to .local/share/Trash there are no files there! Anyway, I tried using the command "sudo rm -rf .local/share/Trash", it shows no error, but the files continue when I click in the trash icon.
root user won't be able to read the "active" xguest home directory (ll /home/xguest will only show an almost empty folder with content from /etc/skel). How can a root user list the folder of an the xguest home directory (while xguest is logged in)?
When I delete things from my home directory, or from my desktop,my trash can on the desktop stays empty, and the Empty Trash in the right-click menu stays disabled.The files disappear from view, but the disk space remains labeled as used.The only way I can empty my trash is through the trash on the panel. Weird
I'm trying to move certain files to Trash using File Browser. I continually get this message:"Cannot move file to trash, do you want to delete immediately?"I am logged in under my user name; I (my user name) am the owner of these files; ALL permissions are on (rwx for owner, group, and other); and Trash is empty. Still I get this message.
Can Trash be configured differently than default ?
I use 4 different partitions (dual boot FC13 and XP) and when deleting a file on an ntfs, it leaves a .Trash-500 directory. I would like to immediately delete stuff on ntfs (bypassing trash), AND leave the linux partitions defaulted to go into Trash.
Having .Trash-500 directory on the ntfs causes problems with windows that I have to resolve each time I forget and move files and directories between the systems.