[NTLUG:Discuss] ftp permissions issue

Rusty Haddock rusty at fe2o3.lonestar.org
Tue Dec 9 11:37:05 CST 2003


fredjame wrote:
    >From one *nix box to another...
    >ftp connects, and login is accepted.
    >can navigate directory structure and view directory list
    >can "put" file to home directory
    >cannot "put" file to another user's directory even though we both belong 
    >to the same primary group.
    >permissions are drwxr-xrwx and the files belong to
    > - owner: otheruser
    > - group: commongroup
    >Any clues would be greatly appreciated.

Add group write permissions for that directory:

	chmod g+w directory_name

Oddly(?) enough, if your user's group id matches the group for
the file/directory and write permission is denied, you don't
get a second chance at 'other' permissions.  Maybe take off the
'others' write permission too but that's optional.

For example:

    A directory

	drwxr-xrwx   2 rusty    users        1024 Dec  9 11:32 Junque

A user, joeblow, who's in the 'users' group, tries to copy a
file of his to the Junque directory above.  He will be denied
permission to do so.

	-Rusty-
-- 
   _____        Rusty Haddock  =  KD4WLZ  =  rusty at fe2o3.lonestar.org
|\/   o \   o  **Out yonder in the Van Alstyne (TX) Metropolitan Area**
|   (  -<  O o              Microsoft is to software what
|/\__V__/                  McDonalds is to gourmet cooking



More information about the Discuss mailing list