WD Community

Rebuild access rights (ssh?)

Hi,
I somehow cannot change files or create new folders etc. in folders where I should have access to regarding the admin panel.

Accessing via ssh I can see the problem, the rights are not correctly set.

Is there a way via admin panel or ssh to set the correct rights?

Thank you!

Hi Mjoelk,
1.
in Panel I’ve read and write access.
ssh:
drwxr-sr-x 12 <2nd user> share 4096 Sep 1 2020 .

2a.
I cannot write. So there seems to be some rights not correct.
2b.
yes, it’s only me.

So for the owner of a directory/share, who is that normally, if multiple users have write access to that folder??

I’ve had a site which required the comment (Launchpad ?) , so you need to MyGiftCardSite edit This is useful when the SSH key is stored on a smart card (and access to the private key file is not possible).

Thank you, maybe it comes from a rsync or copying from external HDD. Don’t know…

What kind of “infection” will do THAT?? :wink:

edit:
setgid was NOT the cause.
Cause was the missing write permission to group. Can be solved with that command:
(within affected directory)
find . -type d -exec chmod g+w ‘{}’ ;

Support for Western Digital Hard Drives | Western Digital

Still Need Help?

Reach out to Support for more assistance.

Sign in to Your Support Account

Get up-to-date information about your products.

Western Digital Business Portal

Unlock benefits and tools for your business such as enterprise support, pricing and rebate tools, marketing, loyalty, rewards, and more.