[Abandoned] Setting permissions for folder contents.

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
Hopestation
Level 1
Level 1
Posts: 43
Joined: Sun Oct 18, 2015 11:47 am

[Abandoned] Setting permissions for folder contents.

Post by Hopestation » Mon Aug 13, 2018 4:57 am

Hi.

I am using Mint_17.3.

Using Nemo as root I have copied a folder from a USB stick to /vaw/www/html. When I look at the folder's Properties/permissions it is owned by root.
I change the Owner to myself, set File Access to Read & Write and click the Apply Permissions to Enclosed Files button and click the Close button.

When I recheck the folder's permissions its Owner is now me.

Now I check the permissions of any of the enclosed files and their Owner is still root.

What is going wrong?
Last edited by Hopestation on Fri Aug 17, 2018 2:38 pm, edited 2 times in total.

User avatar
catweazel
Level 16
Level 16
Posts: 6983
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: Setting permissions for folder contents.

Post by catweazel » Mon Aug 13, 2018 5:01 am

Hopestation wrote:
Mon Aug 13, 2018 4:57 am
What is going wrong?

Code: Select all

man chown
[...]
-R, --recursive

man chmod
[...]
-R, --recursive
Caution: Dancing Wu Li Master and Official curmudgeon-in-chief

Hopestation
Level 1
Level 1
Posts: 43
Joined: Sun Oct 18, 2015 11:47 am

Re: Setting permissions for folder contents.

Post by Hopestation » Mon Aug 13, 2018 5:09 am

Hi Catweazel.

Thanks for your reply, but I can't see how it explains why a standard Mint form doesn't do what it say's on the button.

Should it apply the changes I made in the boxes to all enclosed files?

If it shouldn't, what's it there for?

User avatar
Flemur
Level 16
Level 16
Posts: 6049
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: Setting permissions for folder contents.

Post by Flemur » Mon Aug 13, 2018 9:22 am

Hopestation wrote:
Mon Aug 13, 2018 5:09 am
Thanks for your reply, but I can't see how it explains why a standard Mint form doesn't do what it say's on the button.
Apparently it's been a bug for about 10 years.

https://github.com/mate-desktop/caja/issues/547
https://bugs.launchpad.net/ubuntu/+sour ... bug/165113
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Mint 18.3 Xfce/fluxbox/pulse-less
Xubuntu 17.10/fluxbox/pulse-less

gm10
Level 9
Level 9
Posts: 2645
Joined: Thu Jun 21, 2018 5:11 pm

Re: Setting permissions for folder contents.

Post by gm10 » Mon Aug 13, 2018 9:38 am

Hopestation wrote:
Mon Aug 13, 2018 5:09 am
Thanks for your reply, but I can't see how it explains why a standard Mint form doesn't do what it say's on the button.
Actually it does exactly what it says on the button. The button says (emphasis mine): "Apply Permissions to Enclosed Files".

There is no button to recursively change ownership (without a doubt there should be one, but there isn't). If you're using MATE/caja, then you can add a custom action for this using the caja-actions plugin, I have one to "Take Ownership" of whatever I point it at. For Cinnamon/nemo I believe you'd have to write an extension.

Hopestation
Level 1
Level 1
Posts: 43
Joined: Sun Oct 18, 2015 11:47 am

Re: Setting permissions for folder contents.

Post by Hopestation » Fri Aug 17, 2018 2:37 pm

Thanks for your answers.

Post Reply

Return to “Newbie Questions”