Topic: Group directory

Hi there,

how can I configure a group directory, to that every user has read-access.

/home/download (group directory)

/home/user1
/home/user2

In the home directories of user1 and user2 should be a subdirectory download that points to /home/download.
Should look like this

/home/user1
              |- download
/home/user2
              |- download

Then adding the directory as symbolic link I get an error "file or directory not found".

Any help would be appreciated.

Regards

<Default>
        GlobalDownload          0       #total speed download for all clients
                                        # o -> bytes   k -> kilo bytes   m -> mega bytes
        GlobalUpload            0       #total speed download for all clients (0 for unlimited)
        Download                0       #limit speed download for each connection
        Upload                  0       #unlimit speed upload for each connection
        StayAtHome              true    #limit client to his home
        VirtualChroot           true    #fake a chroot to the home account
        LimitConnection         20      #max connection for the server sftp
        LimitConnectionByUser   5       #max connection for the account
        LimitConnectionByIP     5       #max connection by ip for the account
        Home                    /home/$USER     #overrite home of the user but if you want you can use
                                                #       environment variable (ie: Home /home/$USER)
        IdleTimeOut             300     #(in second) deconnect client is idle too long time
        ResolveIP               true    #resolve ip to dns
#       IgnoreHidden            true    #treat all hidden files as if they don't exist
#       DirFakeUser             true    #Hide real file/directory owner (just change displayed permissions)
#       DirFakeGroup            true    #Hide real file/directory group (just change displayed permissions)
#       DirFakeMode             0400    #Hide real file/directory rights (just change displayed permissions)
                                        #Add execution right for directory if read right is set
#       HideFiles               "^(lost\+found|public_html)$"   #Hide file/directory which match
                                                                #this extented POSIX regex
        HideNoAccess            true    #Hide file/directory which user has no access
#       MaxOpenFilesForUser     20      #limit user to open x files on same time
#       MaxWriteFilesForUser    10      #limit user to x upload on same time
#       MaxReadFilesForUser     10      #limit user to x download on same time
        DefaultRights                   0664 0775       #Set default rights for new file and new directory

#       PathDenyFilter          "^\."   #deny upload of directory/file which match this extented POSIX regex

        ShowLinksAsLinks        true   #show links as their destinations
#       ConnectionMaxLife       1d      #limits connection lifetime to 1 day

        Charset                 "ISO-8859-1"   #set charset of computer
#       GMTTime                 +1      #set GMT Time (change if necessary)
</Default>

Re: Group directory

Hi,

Please read this page: http://mysecureshell.sourceforge.net/en … #question2

Thank you smile

3 (edited by orca72 2009-10-18 14:38:04)

Re: Group directory

Hi Teka,

thank you. It's always usful to read FAQ  wink

Just another thing that I didn't find in the FAQ  sad  Any ideas why uploaded files have size '0' on the server?


EDIT:
Maybe you should add an FAQ entry to check if the hardisk is full  smile

Re: Group directory

Hi,


I think it's a good idea  big_smile