Sharing a folder
Bret Busby
bret at busby.net
Sun Nov 26 21:30:51 UTC 2023
On 27/11/23 04:55, Bret Busby wrote:
> On 27/11/23 04:32, Bill wrote:
>> Hi
>>
>> I am using Mint 21.2 - Mate.
>>
>> On my computer, I have a folder that should be a folder that ALL users
>> should have read, write, create and delete permission. The problem is
>> that the folder called /home/common and should not be associated with
>> any single user. (There never was a user called "common".) The user
>> that created this folder had their user account deleted but the folder
>> _as intended_ persists.
>>
>> The problem is that the owner of some of the files is the deleted user
>> and access to these files are not accessible to everyone. How can I
>> change the permissions of all the files in /home/common so that
>>
>> 1. Allow all other users full access to all the files in the "common"
>> folder.
>>
>> 2. the owner of all the files in this folder is the administrator (or
>> root?) of the computer. (Maybe this step is not necessary.)
>>
>> This should not be too difficult but, at the moment, I don't know how
>> to proceed.
>>
>> Best wishes,
>>
>> Bill Stanley
>>
>>
> I suggest trying
> sudo chmod 666 /home/common
>
> At the command prompt, type
> man chmod
> to find more about setting permissions
>
> ....
> Bret Busby
> Armadale
> Western Australia
> (UTC+0800)
> .................
>
>
Also, I suggest that (and, I believe that some people vehemently
disagree with me on this) it is far better to instead, take data that is
to be shared, outside the home directory or partition (and, /home should
be a separate partition, outside the / partition), and, create a
separate partition (I use /data<nn> ; eg, data01, data02, etc), and,
when that partition is created, set the permissions for the partition,
to 666, to allow for reading and writing of files within the partition,
from any Linux distribution and version that may be installed on the
computer; eg, if you have UbuntuMate 22.04, UbuntuMate 24.04, Xubuntu
22.04, Debian 12 (and, the best Debian version, ever; 3.1 :) ), Linux
Mint Mate 21.1, Linux Mint Mate 21.2, etc, etc, installed, then, the
files within the /data partition, so configured, should be readable and
writeable, by any user, from within any of the Linux installations.
....
Bret Busby
Armadale
Western Australia
(UTC+0800)
.................
More information about the ubuntu-users
mailing list