Find the answer to your Linux question:
Results 1 to 2 of 2
Hello, i have a samba server set up on ubuntu 8.10. I have the share set to the user "ftpuser" home dir. I also have an sftp server set to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2010
    Posts
    80

    Samba/file permissions


    Hello, i have a samba server set up on ubuntu 8.10. I have the share set to the user "ftpuser" home dir. I also have an sftp server set to the same "ftpuser" home directory. I want to beable to upload/download files and beable to make/del files and folders in this dir from the share or the ftp server.

    Does anyone know how i can check or change these permission settings so that i can do this?

  2. #2
    Linux User
    Join Date
    Dec 2009
    Posts
    262
    If you have problems with two users you can put them in the same group and use these lines in the smb.conf to give ftp the right to access samba files:

    create mask = 0660
    directory mask = 0770

    Don't know what ftp you use.

    If you wanna check it you can create a new file via ftp or samba and look with ls -al what rights are set.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •