[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Classic Gnubie accident



how to set these permissions?

On 10/30/06, Ron Johnson <ron.l.johnson@cox.net> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10/30/06 06:04, anthony wrote:
> So
>
> from failsafe terminal, after login
>
> anthony@thinking:/$ cd /home/anthony/
> bash: cd: /home/anthony/: Permission denied
> anthony@thinking:/$ pwd
> /
> anthony@thinking:/$ id
> uid=1000(anthony) gid=1000(anthony)
> groups=20(dialout),24(cdrom),25(floppy),$
> anthony@thinking:/$
> anthony@thinking:/$ ls -l /home
> total 60
> drw-r--r-- 69 anthony anthony  4096 2006-10-30 11:31 anthony
> drwx------  2 root    root     4096 2006-07-18 11:20 dyne
> drwxr-xr-x  2 guest   guest    4096 2006-10-27 02:37 guest
> drwxr-xr-x  2 root    root    49152 2006-03-12 21:46 lost+found
>
> appears that I have lost execute permissions for my /home/anthony
>
> so
> chmod u+x /home/anthony
>
> then
> anthony@thinking:/$ ls -l /home
> total 60
> drwxr--r-- 69 anthony anthony  4096 2006-10-30 11:31 anthony
> drwx------  2 root    root     4096 2006-07-18 11:20 dyne
> drwxr-xr-x  2 guest   guest    4096 2006-10-27 02:37 guest
> drwxr-xr-x  2 root    root    49152 2006-03-12 21:46 lost+found
>
> anthony@thinking:/$ cd /home/anthony/
> anthony@thinking:~$ ls
> audio       current_writing  film    mute      Polly             tech
> background  Desktop          images  nicotine  Projects_Archive  use
> com         dl               music   pd        reading           writing
>
> seems ok?

Not really.  I would *definitely* also add g+x on anthony, and
possibly a+x.

Like I said in my previous email, the directory should have 755.
744 is *not* 755.

- --
Ron Johnson, Jr.
Jefferson LA  USA

Is "common sense" really valid?
For example, it is "common sense" to white-power racists that
whites are superior to blacks, and that those with brown skins
are mud people.
However, that "common sense" is obviously wrong.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFRe01S9HxQb37XmcRAnBXAJ9JryyJB9+8YXnEsESSTFzFrReZYACghDEk
wKJr8hq3CTV1GThkNaRatc8=
=phyK
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: