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 <firstname.lastname@example.org> 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), \
THis is what i have for "id":
uid=1000(anv) gid=1000(anv) groups=1000(anv),24(cdrom),100(users)
> - What does "umask" say?
> - What does "mount" say?
> /dev/hda7 on /home type ext2 (rw,errors=remount-ro)
/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.
> > 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 email@example.com
> with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org