Root unable to change ownership and modify permissions
Tom H
tomh0665 at gmail.com
Wed Apr 21 12:56:49 UTC 2010
On Wed, Apr 21, 2010 at 8:08 AM, I Am Me <theunknownandrew at gmail.com> wrote:
> /**
> * Replying to - Re: Root unable to change ownership and modify permissions
> * from : William Hamra <w.hamra1987 at gmail.com> sent on Tuesday 20 Apr 2010 @ 1:11:06 pm
> */
>> he would have to mount it, while in "iamme":
>>
>> sudo mount /dev/sdb5 /media/Andrew -t ntfs-3g -o rw,uid=`id -u`,gid=`id -g`
>>
>
> Here is my attempt to try your suggestion ?
>
> iamme at thishost\~ >sudo mount /dev/sdb5 /media/Andrew -t ntfs-3g -o rw,uid=`1001`,gid=`1001`
> 1001: command not found
> 1001: command not found
Why are you using backticks around the uid and gid?
You do not need back ticks (or single or double quotes for that
matter). They were in William's post because he does not know the uid
and gid that you need and the id commands were there to extract them
(but I think that he is wrong and that you would just end up with
root's id and gid).
More information about the ubuntu-users
mailing list