Sunday, October 23, 2016

Re: [LINUX_Newbies] Problem to directory sftp directory

 

Good Morning Cameron,

My problem is in a directory monted how a sftpd directory , I needed to map
a sftpd how a directory in linux to move files to these directory and get
files too, i saw the permission of directory is 700, I created a user with
uid 300 and i did a test , but it occorrued the same error, I don t know if
when i mounted directory its necessary to change a parameter.

[image: Imagem inline 1]

[image: Imagem inline 2]

Thank you very mush

Best regards,
David William

2016-10-24 2:15 GMT-02:00 cs@zip.com.au [LINUX_Newbies] <
LINUX_Newbies@yahoogroups.com>:

>
>
> On 23Oct2016 20:37, DAVID Bandeira <davidcmdsbandeira@gmail.com> wrote:
> >This week i take a job having the need to map um sftp as a directory in a
> >linux server, I did a sshfs -o allow_other username@server:/directory
> >/mountpoint but when i need to move/copy in server to share appear error:
> >('cannot create regular file 'directory/file.txt':No such file or
> >directory) but if I create one folder in shared directory or if a move a
> >file of shared folder to server its ok, someone know what can i do?
>
> It sounds like the "/directory" on "server" lacks execute (== "search" for
> directories) permission, for the user "username". Maybe. For example:
>
> server% ls -ld /directory
> drw-rw-r-- 288 cameron cameron 9792 24 Oct 12:11 /directory
>
> Directories need "x" permission for someone to create or otheriwse access
> items
> in them; "x" means "search". With just "r" you can see the list of names
> of
> things in the directory, but not access them.
>
> This may not be precisely what is happening for you. Can you be a bit more
> explicit about what actions work and what actions do not?
>
> Also, what are the ownerships and permissions on "/directory"? Feel free
> to
> obfuscate the actual user and group names as you're already doing.
>
> Cheers,
> Cameron Simpson <cs@zip.com.au>
>
>

--
Atenciosamente

David William Freitas Ferreira Bandeira

[Non-text portions of this message have been removed]

__._,_.___

Posted by: DAVID Bandeira <davidcmdsbandeira@gmail.com>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (4)

Have you tried the highest rated email app?
With 4.5 stars in iTunes, the Yahoo Mail app is the highest rated email app on the market. What are you waiting for? Now you can access all your inboxes (Gmail, Outlook, AOL and more) in one place. Never delete an email again with 1000GB of free cloud storage.

To unsubscribe from this list, please email LINUX_Newbies-unsubscribe@yahoogroups.com & you will be removed.

.

__,_._,___

No comments:

Post a Comment