You are not logged in.

#1 2017-07-14 18:16:25

kosbar
Member
Registered: 2017-07-02
Posts: 12

Xfce4: Desktop/: Permission denied

I don't understand how it comes, but now I can't change background of my Desktop, can't get into my /home/kosbar/Desktop folder, and lost menu of right click on desktop.
I thought that problem was in changing of owner and group of ~/Desktop, but after "$ chown -hR kosbar:users Desktop/" (user and group have changed) I still can't get into the folder and change my background.

P.S. Have the same problem with ~/Downloads

Last edited by kosbar (2017-07-14 18:19:37)

Offline

#2 2017-07-14 18:26:49

JohnBobSmith
Member
From: Canada
Registered: 2014-11-29
Posts: 804

Re: Xfce4: Desktop/: Permission denied

Why would you want your group to be users? Usually username:username is sufficient. What does

ls -l /home/kosbar/

produce?

EDIT: Thats a lowercase "-L", and not the number one.

Last edited by JohnBobSmith (2017-07-14 18:27:59)


I am diagnosed with bipolar disorder. As it turns out, what I thought was my greatest weakness is now my greatest strength.

Everyday, I make a conscious choice to overcome my challenges and my problems. It's not easy, but its better than the alternative...

Offline

#3 2017-07-14 18:40:39

kosbar
Member
Registered: 2017-07-02
Posts: 12

Re: Xfce4: Desktop/: Permission denied

JohnBobSmith wrote:

Why would you want your group to be users? Usually username:username is sufficient. What does

ls -l /home/kosbar/

produce?

EDIT: Thats a lowercase "-L", and not the number one.

http://savepic.ru/14814722.png

THEY ARE GREEN!!! smile

Mod note: converted oversized image of text to url. Please see the CoC regarding acceptable image sizes. -- WorMzy

Last edited by WorMzy (2017-07-14 20:22:33)

Offline

#4 2017-07-14 18:50:40

JohnBobSmith
Member
From: Canada
Registered: 2014-11-29
Posts: 804

Re: Xfce4: Desktop/: Permission denied

Please paste only the actual text in the future, see here: https://wiki.archlinux.org/index.php/Co … s_and_code. You can use a command line pastebin (I recommend sprunge.us) for this. https://wiki.archlinux.org/index.php/Li … in_clients

You cannot read the directory or its contents because you are missing the execute permission on your folders. Try the following:

chmod +x ~/Downloads/
chmod +x ~/Desktop/

Then try using your directories again. And read up on permissions: https://wiki.archlinux.org/index.php/Fi … attributes


I am diagnosed with bipolar disorder. As it turns out, what I thought was my greatest weakness is now my greatest strength.

Everyday, I make a conscious choice to overcome my challenges and my problems. It's not easy, but its better than the alternative...

Offline

#5 2017-07-14 19:10:31

kosbar
Member
Registered: 2017-07-02
Posts: 12

Re: Xfce4: Desktop/: Permission denied

JohnBobSmith wrote:

Please paste only the actual text in the future, see here: https://wiki.archlinux.org/index.php/Co … s_and_code. You can use a command line pastebin (I recommend sprunge.us) for this. https://wiki.archlinux.org/index.php/Li … in_clients

You cannot read the directory or its contents because you are missing the execute permission on your folders. Try the following:

chmod +x ~/Downloads/
chmod +x ~/Desktop/

Then try using your directories again. And read up on permissions: https://wiki.archlinux.org/index.php/Fi … attributes

Okay, I have changed the attributes for both folders to drwxrwxrwx, kosbar, users, and made reboot, but folders still Green and I still can't change background for the desktop.
I have made even more, after that: chmod -R +x for both folders, still lost menu (don't work right click on desktop) and can't change desktop background.

Last edited by kosbar (2017-07-14 19:20:25)

Offline

#6 2017-07-14 19:20:22

JohnBobSmith
Member
From: Canada
Registered: 2014-11-29
Posts: 804

Re: Xfce4: Desktop/: Permission denied

Changing the background is a separate issue. What desktop environment (DE) are you using, if any? And how are you trying to set the background? As a sanity check, what do the following produce:

file ~/Downloads
file ~/Desktop
cd ~/Downloads/ && pwd
cd ~/Desktop/ && pwd

I am diagnosed with bipolar disorder. As it turns out, what I thought was my greatest weakness is now my greatest strength.

Everyday, I make a conscious choice to overcome my challenges and my problems. It's not easy, but its better than the alternative...

Offline

#7 2017-07-14 19:32:48

kosbar
Member
Registered: 2017-07-02
Posts: 12

Re: Xfce4: Desktop/: Permission denied

JohnBobSmith wrote:

Changing the background is a separate issue. What desktop environment (DE) are you using, if any? And how are you trying to set the background? As a sanity check, what do the following produce:

file ~/Downloads
file ~/Desktop
cd ~/Downloads/ && pwd
cd ~/Desktop/ && pwd

I'm using only xfce4. I don't know what I have done, but I have lost my background and it's becames just gray. Then I was try to change it by standard for xfce4 util "Desktop" and can't, pictures just don't applied.  Then I found that I can't get to the my own folders. That's my output:

[kosbar@kosbar Downloads]$ file ~/Downloads/
/home/kosbar/Downloads/: directory
[kosbar@kosbar Downloads]$ file ~/Desktop/
/home/kosbar/Desktop/: directory

Now I see the problem wasn't in folder rights:

[kosbar@kosbar Downloads]$ pwd
/home/kosbar/Downloads
[kosbar@kosbar Downloads]$ cd ../Desktop/
[kosbar@kosbar Desktop]$ pwd
/home/kosbar/Desktop
[kosbar@kosbar Desktop]$

Last edited by kosbar (2017-07-14 19:34:20)

Offline

#8 2017-07-14 19:49:04

JohnBobSmith
Member
From: Canada
Registered: 2014-11-29
Posts: 804

Re: Xfce4: Desktop/: Permission denied

Excellent. We have confirmed that your directories are now functioning, because you can get into them and presumably you are now able to access their contents. You'll have to do your own research into setting your background, as I do not have XFCE and therefore cannot provide assistance in this area. But I'm happy to have solved at least 1 of 2 issues. smile

Last edited by JohnBobSmith (2017-07-14 19:49:37)


I am diagnosed with bipolar disorder. As it turns out, what I thought was my greatest weakness is now my greatest strength.

Everyday, I make a conscious choice to overcome my challenges and my problems. It's not easy, but its better than the alternative...

Offline

#9 2017-07-14 23:17:21

kosbar
Member
Registered: 2017-07-02
Posts: 12

Re: Xfce4: Desktop/: Permission denied

JohnBobSmith wrote:

Excellent. We have confirmed that your directories are now functioning, because you can get into them and presumably you are now able to access their contents. You'll have to do your own research into setting your background, as I do not have XFCE and therefore cannot provide assistance in this area. But I'm happy to have solved at least 1 of 2 issues. smile

Thank  you for step one!)

Offline

#10 2017-07-15 07:17:15

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,284

Re: Xfce4: Desktop/: Permission denied

You probably screwed up more permissions if you ended up w/ a non-executably Desktop directory.
There's an xfce session log - and "verbose" sounds promising, otherwise look into the journal.

Offline

#11 2017-07-17 12:52:18

kosbar
Member
Registered: 2017-07-02
Posts: 12

Re: Xfce4: Desktop/: Permission denied

seth wrote:

You probably screwed up more permissions if you ended up w/ a non-executably Desktop directory.
There's an xfce session log - and "verbose" sounds promising, otherwise look into the journal.

What I need to find in the log? It's huge and consiste too much information.

Offline

#12 2017-07-17 12:53:26

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,284

Re: Xfce4: Desktop/: Permission denied

Your problem is to set a wallpaper, right?
Well, tried to look for that?

Offline

#13 2017-07-17 14:32:40

kosbar
Member
Registered: 2017-07-02
Posts: 12

Re: Xfce4: Desktop/: Permission denied

seth wrote:

Your problem is to set a wallpaper, right?
Well, tried to look for that?

Need more help, nothing found.

Offline

#14 2017-07-17 14:37:50

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,284

Re: Xfce4: Desktop/: Permission denied

"tail -f" the file, try to set a wallpaper. If there's no update in return, the incident isn't logged (there) but you may be more lucky in the journal.

Offline

Board footer

Powered by FluxBB