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

Re: FTP/User access, was: Re: [users] Re: Why can't I?



On Wed, Jun 13, 2001 at 11:23:36AM -0700, Dave Carrigan wrote:
| D-Man <dsh8290@rit.edu> writes:
| 
| > Home dirs should have "711" as the permissions (owner
| > read-write-execute group and world execute only).  I just checked on
| > my system (I am really the only user right now) and the perms are 755
| > (actually I'm not sure what the 's' in the 010 column is (group
| > execute)).
| 
| The s in the group execute means that the sgid bit is set on the
| directory. That means that all files created under that directory will
| be owned by the same group that owns the directory. Without the sgid
| bit, the files would be owned by your primary group.

Ahh, ok thanks.  I don't need to find the manpage now :-).

| > I think this is a bug in adduser/useradd (whichever one is the
| > Debian-specific) and should be fixed.

BTW, martin, I was calling the "world readable" the bug, not the
"sgid".

|  $ sudo dpkg-reconfigure --frontend=text adduser
|  Adduser
|  -------
...
|  Do you want system wide readable home directories? yes

Cool.  It is already fixed.

(a moment later)
# dpkg-reconfigure --frontend=text adduser
debconf: package "adduser" is not installed or does not use debconf

|  $ dpkg --status adduser | grep -i version
|  Version: 3.37

# dpkg --status adduser | grep -i version
Version: 3.11.1


Guess I'll have to wait a while for that (I have a potato system).

-D



Reply to: