permissions

Charlie Kravetz cjk at teamcharliesangels.com
Sat Sep 6 00:00:53 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, 05 Sep 2008 19:42:17 -0400
Doug Pollard <dougpol1 at verizon.net> 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 default 
> >> 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 first user should be the name of your home directory; is
it /home/doug, maybe?

The second and third user are the user name you login with.

Also, file_to_change_permissions_of needs to be the actual file name.

Using your example,
> >> lrwxrwxrwx  1 foo foo    1 2008-09-05 12:04 ubuntu -> .

this would be changed to you being owner if you use:

sudo chown /home/doug/ubuntu doug.doug

This changes the file owner, not the file permissions.

To change the permissions, use:

chmod 644 /home/doug/ubuntu

- -- 
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)

iD8DBQFIwchJ535p7ZS+ALgRAiFJAKC3BUAv+vmNqlsmqaUz0hY3BM18/QCfYmQ7
twHK39p9x0XD2eIRWOBJ/10=
=xKjD
-----END PGP SIGNATURE-----




More information about the ubuntu-users mailing list