Could not make folder /home/theif519/.local/share/Trash ; Arch Linux
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Could not make folder /home/theif519/.local/share/Trash ; Arch Linux
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?
user/group/uid/gid anything changed? I've this habit of changing default uid from 500 to 1000 on my Fedora installs (and therefore sometimes get into trouble. :-)
user/group/uid/gid anything changed? I've this habit of changing default uid from 500 to 1000 on my Fedora installs (and therefore sometimes get into trouble. :-)
Code:
[theif519@theif519 Documents]$ /user/group/uid/gid
bash: /user/group/uid/gid: No such file or directory
[theif519@theif519 Documents]$ /usr/group/uid/gid
bash: /usr/group/uid/gid: No such file or directory
[theif519@theif519 Documents]$ nano /user/group/uid/gid
[theif519@theif519 Documents]$ Nothing...
I'm sorry that was not a command. I meant to ask if the ownership of your home directory or your username's (theif519) userid or groupid changed. Since you are inside your 'Documents' directory (outputs above) and you said you changed permission to 755, that does not seem to be problem. I've no clue.
I'm assuming you lost even read permissions to those directories (in fact, it looks like you lose read permissions to ALL directories!).
Su into root and see if everything is ok. If it is, check permissions. If permissions are ok, then you probably accidentally changed your uid. In which case, you'll have to change it.
If permissions were not ok, give your username rw permissions again.
I'm assuming you lost even read permissions to those directories (in fact, it looks like you lose read permissions to ALL directories!).
Su into root and see if everything is ok. If it is, check permissions. If permissions are ok, then you probably accidentally changed your uid. In which case, you'll have to change it.
If permissions were not ok, give your username rw permissions again.
If this will help, I tried to upload a picture of what I see in the file browser, Konqueror.
It appears that you were trying to create the "info" directory in your Trash sub-directory??
Do all the directories above "info" exist?
If so, what are the permissions? run ls -al on each directory and sub-directory to get them. Your owner should be the user "theif519"? and you should have write permissions.
I'm not really clear on what the problem is. Did you somehow remove these Trash related directories? or are you just not able to delete? or both??
hi,
launch 'konsole' program and post the output of the following commands?
Code:
cat /etc/passwd | grep theif519
Code:
ls -la /home
Code:
ls -la /home/theif519
Also, as suggested above (and also in your screenshot), check if all the directories do exits. i.e., share inside .local, Trash inside share,...
Just to remind, Linux is case sensitive. It may be 'trash' not 'Trash', or other way.
Before I do, I have something to report. I deleted the Documents directory and it's default directory is ~/ now, but whenever I add the directory "Documents" it sets it as it's default. If I make something like "Docs" it doesn't set it to default. That's strange...
Code:
[theif519@theif519 ~]$ cat /etc/passwd | grep theif519
theif519:x:1000:100::/home/theif519:/bin/bash
[theif519@theif519 ~]$ ls -la /home/
total 28
drwxr-xr-x 4 root root 4096 Jun 2 19:41 .
drwxr-xr-x 22 root root 4096 Jun 5 12:59 ..
drwx------ 2 root root 16384 Jun 2 17:54 lost+found
drwx------ 31 theif519 users 4096 Jun 7 15:29 theif519
[theif519@theif519 ~]$ ls -la /home/theif519
total 288
drwx------ 31 theif519 users 4096 Jun 7 15:29 .
drwxr-xr-x 4 root root 4096 Jun 2 19:41 ..
drwx------ 3 theif519 users 4096 Jun 2 21:02 .adobe
-rw-r--r-- 1 theif519 users 843 Jun 6 22:11 .alunn.conf
-rw------- 1 theif519 users 3652 Jun 7 15:31 .bash_history
-rw-r--r-- 1 theif519 users 21 May 7 21:42 .bash_logout
-rw-r--r-- 1 theif519 users 57 May 7 21:42 .bash_profile
-rw-r--r-- 1 theif519 users 141 May 7 21:42 .bashrc
drwx------ 7 root root 4096 Jun 2 20:46 .cache
drwxr-xr-x 9 root root 4096 Jun 2 20:38 .config
drwx------ 3 theif519 users 4096 Jun 2 20:18 .dbus
drwxr-xr-x 2 theif519 users 4096 Jun 5 13:32 Desktop
drwxr-xr-x 3 theif519 users 4096 Jun 2 19:53 devel
-rw------- 1 theif519 users 26 Jun 5 12:58 .dmrc
drwxr-xr-x 2 theif519 users 4096 Jun 7 15:29 Doc
drwxr-xr-x 2 theif519 users 4096 Jun 2 20:48 Downloads
-rw------- 1 theif519 users 16 Jun 2 21:22 .esd_auth
drwxr-xr-x 2 theif519 users 4096 Jun 2 20:48 Games
drwx------ 3 theif519 users 4096 Jun 7 15:23 .gconf
drwx------ 2 theif519 users 4096 Jun 7 15:27 .gconfd
drwx------ 6 theif519 users 4096 Jun 5 22:23 .gnome2
drwx------ 2 theif519 users 4096 Jun 2 20:52 .gnome2_private
drwx------ 3 theif519 users 4096 Jun 2 20:46 .gnupg
drwxr-xr-x 2 theif519 users 4096 Jun 3 17:47 .gstreamer-0.10
-rw------- 1 theif519 users 0 Jun 2 20:47 .gtk-bookmarks
dr-x------ 2 theif519 users 0 Jun 7 15:28 .gvfs
-rw------- 1 theif519 users 5550 Jun 5 12:30 .ICEauthority
drwx------ 4 theif519 users 4096 Jun 5 12:59 .kde4
drwxr-xr-x 3 root root 4096 Jun 2 20:14 .local
drwx------ 3 theif519 users 4096 Jun 2 21:02 .macromedia
drwx------ 3 theif519 users 4096 Jun 2 20:18 .mission-control
drwx------ 4 theif519 users 4096 Jun 2 20:52 .mozilla
-rw-r--r-- 1 theif519 users 1186 Jun 5 22:04 .nvidia-settings-rc
drwxr-xr-x 3 theif519 users 4096 Jun 3 18:52 Packages
drwxr-xr-x 2 theif519 users 4096 Jun 6 22:31 Pictures
drwx------ 3 theif519 users 4096 Jun 3 17:34 .pki
drwx------ 2 theif519 users 4096 Jun 7 15:23 .pulse
-rw------- 1 theif519 users 256 Jun 2 20:18 .pulse-cookie
drwx------ 6 theif519 users 4096 Jun 3 18:13 .purple
drwxr-xr-x 3 theif519 users 4096 Jun 2 21:30 .thumbnails
drwx------ 4 theif519 users 4096 Jun 7 15:28 Trash
-rw------- 1 theif519 users 102 Jun 7 15:23 .Xauthority
drwx------ 4 theif519 users 4096 Jun 3 18:13 .xchat2
-rw------- 1 theif519 users 121958 Jun 7 15:33 .xsession-errors
Also, I was very reluctant at first to use the cat /etc/passwd command though, until I saw that it didn't show my password.
Also, the "Trash" thing is the Trash sub-directory I tried adding after I found out I couldn't delete files. It didn't work, and I hope it didn't make it worse or cause any confusion.
Before I do, I have something to report. I deleted the Documents directory and it's default directory is ~/ now, but whenever I add the directory "Documents" it sets it as it's default. If I make something like "Docs" it doesn't set it to default. That's strange...
How is that strange? Computers have no clue that "Docs" is short for "Documents". They just check whether the characters match.
Also, I was very reluctant at first to use the cat /etc/passwd command though, until I saw that it didn't show my password.
Sorry if I scared you. ;-)
Code:
[theif519@theif519 ~]$ ls -la /home/theif519
drwx------ 7 root root 4096 Jun 2 20:46 .cache
drwxr-xr-x 9 root root 4096 Jun 2 20:38 .config
drwxr-xr-x 3 root root 4096 Jun 2 20:14 .local
This is why you are not able to create folders in .local. Its owned by root (administrator) account. All sub-directories inside our home directory should be owned by us. Try (as root),
Code:
chown -R 1000:100 /home/theif519
Quote:
Originally Posted by theif519
Before I do, I have something to report. I deleted the Documents directory and it's default directory is ~/ now, but whenever I add the directory "Documents" it sets it as it's default. If I make something like "Docs" it doesn't set it to default. That's strange...
I'm confused with these many 'it'. Which program are you referring. Still not sure what your actual question was/is.
[theif519@theif519 ~]$ ls -la /home/theif519
drwx------ 7 root root 4096 Jun 2 20:46 .cache
drwxr-xr-x 9 root root 4096 Jun 2 20:38 .config
drwxr-xr-x 3 root root 4096 Jun 2 20:14 .local
This is why you are not able to create folders in .local. Its owned by root (administrator) account. All sub-directories inside our home directory should be owned by us. Try (as root),
Code:
chown -R 1000:100 /home/theif519
I'm confused with these many 'it'. Which program are you referring. Still not sure what your actual question was/is.
Thank you very much, and I'll assume that chown -R 1000:100 /home/theif519 gives me added permissions. Thank you for helping me.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.