Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am using chown because folders/files I download via Firefox are being saved as being owned by root instead of my own user...

when I used:

sudo chown -R -v username:username path/path/path 

I see logs that show that the relevant files/folders have been changed to be owned by the giver username - yet when I view the files in a file manager they remain 'owned' by root..

does anyone know why this is?

share|improve this question
2  
"I am using chown because folders/files I download via Firefox are being saved as being owned by root instead of my own user..." Sounds really suspicious. Instead of dealing with the symptoms, I'd fix the cause instead. How are you running Firefox and how did you install it? –  gertvdijk May 25 '13 at 19:44
1  
Apart from what @gertvdijk just said, it will be helpful if you don't show us a "generic" command but the real one you executed. –  guntbert May 25 '13 at 20:09
    
I'm having this exact problem on 12.04 –  Chaos Jan 2 at 3:16
    
i never received the reply notifications for this thread until today - or i missed them. since i started this thread i have stopped using ubuntu; so am not able to offer direct exploratory assistance here. –  tunist Jan 3 at 12:31
add comment

1 Answer 1

sudo chown -R -v $USER:$USER path/

if you are using -R --recursive then you do not need to add a bunch of paths just make sure that you are in the correct working path. the $USER is the varible for the username that one is using.

share|improve this answer
4  
How does your command differ from what the OP wrote? –  guntbert May 25 '13 at 21:06
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.