Root unable to change ownership and modify permissions
Basil Chupin
blchupin at iinet.net.au
Sat Apr 24 06:19:13 UTC 2010
On 21/04/10 01:26, Nils Kassube wrote:
> Basil Chupin wrote:
>
>> On 20/04/10 15:06, I Am Me wrote:
>>
>>> root at thishost:~# chown -R iamme /media/Andrew/Protected/Projects/
>>>
>
>>> root at thishost:~# chmod 755 /media/Andrew/Protected/Projects/
>>>
>
>> Am I missing something here (and everywhere for that matter) but
>> aren't the commands for chown and chmod should read:
>>
>> chown -R<login-name/owner-name>.<group-name>
>> <directory-path-and-name> <<<==Note the 'period'!
>>
> You _can_ use that form of the command but the originally used command
> works as well. It just doesn't change the group but only the user. And
> BTW, the period is obsolete, nowadays we use a colon (see man chown).
>
>
Thanks for this. Been using this command(s) for years since I saw them
in a Linux reference book. "If it isn't broken don't change it" - but I
may replace the '.' with ':' :-) .
BC
--
"I do not feel obliged to believe that the same God who has endowed us with sense, reason and intellect has intended us to forgo their use."
Galileo Galilei
More information about the kubuntu-users
mailing list