permissions

Doug Pollard dougpol1 at verizon.net
Sat Sep 6 01:12:28 UTC 2008


Charlie Kravetz wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Fri, 5 Sep 2008 20:03:17 -0400
> William Witt <william at witt-family.net> wrote:
>
>   
>> On Friday 05 September 2008 19:42:17 Doug Pollard wrote:
>>     
>>> Charlie Kravetz wrote:
>>>       
>>>> -----BEGIN PGP SIGNED MESSAGE-----
>>>> Hash: SHA1
>>>>
>>>> On Fri, 05 Sep 2008 17:58:06 -0400
>>>>
>>>> Doug Pollard <dougpol1 at verizon.net> wrote:
>>>>         
>>>>> Gettig this error message on after log in
>>>>> Users home $
>>>>> user$home / dmrc file is being ignored. This prevents the 
>>>>>           
>> defaultcur/1218496046.21933.UFy9L:2,S
>>     
>>>>> session and language from being saved. File should be owned by user and
>>>>> have 644 permissions.Users$Home directory must be owned by user writeble
>>>>> by other users.
>>>>>
>>>>>
>>>>> I have moved files from and external usb drive they are files saved by
>>>>> windows  I want to store them in my user home  drive.  I then want to
>>>>> reformat and partition  the usb drive and move clips back into it again
>>>>> so that I can work and use video clips in it to be used in Cinelerra.
>>>>>     What I really need is the comands to change the permissions in user
>>>>> home.  If this doesn't make sense I will try to rewrite for more
>>>>> clarity.
>>>>>
>>>>> This below I think is what I need to change ??
>>>>>
>>>>> lrwxrwxrwx  1 foo foo    1 2008-09-05 12:04 ubuntu -> .
>>>>>                 Thanks Doug
>>>>>           
>>>> Try this:
>>>>
>>>> sudo chown /home/USER/file_to_change_permissions_of USER.USER
>>>>
>>>> Replace USER with your user name. This will change the above foo foo to
>>>> your user name
>>>>
>>>> - --
>>>> Charlie Kravetz
>>>> Linux Registered User Number 425914          [http://counter.li.org/]
>>>> Never let anyone steal your DREAM.           [http://keepingdreams.com]
>>>> -----BEGIN PGP SIGNATURE-----
>>>> Version: GnuPG v1.4.6 (GNU/Linux)
>>>>
>>>> iD8DBQFIwbkM535p7ZS+ALgRArEXAJ0UE0Xi1OoZUneAzYmI7fBJBBkGsgCdHY5S
>>>> IL5kU2NdVJ9/T7R6ZVGFVsY=
>>>> =Whci
>>>> -----END PGP SIGNATURE-----
>>>>         
>>> Should the first user after /home/  be my user name?  I tried ( usr) as
>>> well. is permissions to be changed to 677 ??  I'm missing something here
>>> !!  Below is bash response.
>>>                                         Doug
>>>
>>>
>>> chown: invalid user: `/home/user/file_to-change_permissions_of'
>>>       
>> The chown syntax was reversed (at least from what I'm used to):
>> sudo chown [username]:[groupname] [filename]
>>
>> you'll want to do these, one of them should fix the issue (replace all 
>> occurrences of [username] with your username):
>>
>> -This will ensure you own your home directory and all of its contents:
>> sudo chown -R [username]:[username] /home/[username]
>>
>> -This will make sure it is not writable by all users:
>> sudo chmod o-w /home/[username]
>>
>> -This resets permissions on the .dmrc file in your home directory:
>> chmod 644 ~/.dmrc
>>
>> Will
>>
>>     
>
> You are right. My apologies, Doug. My brain is asleep, I think, or it
> just didn't work. Next time I will have to check my commands better.
>
> Good luck,
>
> - -- 
> Charlie Kravetz 
> Linux Registered User Number 425914          [http://counter.li.org/]
> Never let anyone steal your DREAM.           [http://keepingdreams.com]
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
>
> iD8DBQFIwc48535p7ZS+ALgRAptPAJ9JfCwisDAovJy1pM7/ZIibMvDafgCeMQ3y
> BKORnsQDR9gDKQr/fV5JbY8=
> =q5JE
> -----END PGP SIGNATURE-----
>
>   
       Thanks much, Charlie.  If I was right anywhere near as much as I 
am wrong I'd be  rich man today. 
                                                                         
      Doug





More information about the ubuntu-users mailing list