Sharing a folder
Jon LaBadie
ubu at labadie.us
Mon Nov 27 03:20:36 UTC 2023
On Sun, Nov 26, 2023 at 05:19:26PM -0500, Bill wrote:
>
>On 11/26/23 16:41, Colin Law wrote:
>> On Sun, 26 Nov 2023 at 20:57, Bret Busby <bret at busby.net> wrote:
>>> I suggest trying
>>> sudo chmod 666 /home/common
>> If you want to change the permissions on all the files it must be
>> called recursively.
>>
>> sudo chmod -R 666 /home/common
>>
That will also change permissions on all directories, including
/home/common. For full access directories need 777 permissions.
sudo find /home/common -type d -exec chmod 777 {} \;
>Thanks! I was looking how to do it recursively and this seems to work.
>Is there any way to recursively change the name of the deleted user on
>all files having his name while leaving the other the other files as is?
>
sudo find /home/common -user "old user name or id num" -exec chown "new name or num" {} \;
--
Jon H. LaBadie ubu at labadie.us
More information about the ubuntu-users
mailing list