Re: Setting permissions
Thanks for the email. The user directory is a simple debian
filesystem. Here are the results of the commands you suggested:
s. keeling <keeling@spots.ab.ca> wrote:
> This sounds very odd. Is this user directory a simple Debian
> filesystem or is there something like samba or NFS going on?
> Try these:
> - What does "ls -ld $HOME" say? Here's mine:
>
> drwxr-xr-x 56 keeling keeling 4096 Feb 29 22:16 /home/keeling
drwxr-xr-x 28 anv anv 4096 Mar 1 18:45 /home/anv
That looks similar to what you have.
> - In your $HOME, do "touch blah", now what does "ls -l blah" say?
>
> -rw-r--r-- 1 keeling keeling 0 Feb 29 22:18 blah
-rw-r--r-- 1 anv anv 0 Mar 1 18:48 blah
> - What does "id" say?
>
> uid=1000(keeling) gid=1000(keeling) groups=1000(keeling),4(adm), \
> 20(dialout),24(cdrom),25(floppy),29(audio),30(dip),50(staff), \
> 100(users)
THis is what i have for "id":
uid=1000(anv) gid=1000(anv) groups=1000(anv),24(cdrom),100(users)
> - What does "umask" say?
>
> 0022
0022
> - What does "mount" say?
>
> [snip]
> /dev/hda7 on /home type ext2 (rw,errors=remount-ro)
> [snip]
/dev/hda3 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/hda6 on /tmp type ext3 (rw)
/dev/hda7 on /var type ext3 (rw)
/dev/hda8 on /usr type ext3 (rw)
/dev/hda9 on /home type ext3 (rw)
I can't really tell whats wrong. Any ideas?. Thanks.
Aswin
>
> > backup my files while i edit them, i have to use sudo. This seems a
> > little weird to me because the user(me) has ownership permissions for
> > all files in the directory. Is there a way that i can modify some
> > setup file so that i can avoid having to use sudo?.
>
>
> --
> Any technology distinguishable from magic is insufficiently advanced.
> (*) http://www.spots.ab.ca/~keeling
> - -
>
>
> --
> To UNSUBSCRIBE, email to debian-laptop-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: