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

Re: Permissions for /tmp




>On Tue, May 25, 1999 at 09:32:36PM +0200, moron wrote:
>> I'm trying to find my way around Debian (hamm) and see that a user cannot
>> use man, which is refused permission to create a /tmp file.  Changing
>> permissions with >chmod a+w /tmp< from root solves the problem.  (I tried
>> creating a /tmp directory in my home directory but it didn't work.)   It
>> makes me wonder:
>> a: If it's safe to do this, why is this not the default permission?
>> b: If not, how does a user on a multi-user system (mine isn't) get to man
>> without root rights?
>> c: Should I do it another way?
>>
>

Ben Collins wrote:

>chmod 1777 is the default. If your system changed somehow, then either
>a) there is a package somewhere that is screwed up (doubtful), b) you
>accidentally change it to the wrong perms, c) some other program you
>installed (from source or tar ball) has changed it.

I haven't used chmod this time round, so it can't be that.  All installation
was with dselect from a pair of debian CDs.  Anyway, it's reassuring that I
haven't done anything wrong.  Thanks for your help.

Pollywog wrote:

<Do you have the sticky bit set? Try it.

Pardon my ignorance, but what the hell is the sticky bit?  Sounds disgusting
:<)

David




Reply to: