Monday, October 24, 2016

Re: [LINUX_Newbies] Problem to directory sftp directory

 

On Mon, Oct 24, 2016 at 03:15:06PM +1100, cs@zip.com.au [LINUX_Newbies] wrote:
> 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

Also, the parent directory for sftp is usually owned by root. Then, inside
that directory, put a directory owned by the sftp user.

https://www.centos.org/forums/viewtopic.php?t=46666#p198688

is a good post on setting up sftp.

--
Scott Robbins
PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6

__._,_.___

Posted by: Scott <scottro@nyc.rr.com>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (3)

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.

.

__,_._,___

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.

.

__,_._,___

Re: [LINUX_Newbies] Problem to directory sftp directory

 

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>

__._,_.___

Posted by: cs@zip.com.au
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (2)

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.

.

__,_._,___

[LINUX_Newbies] Problem to directory sftp directory

 

Good NIght,

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?

Thank you very much.

--
Atenciosamente
 
David William Freitas Ferreira Bandeira
   

__._,_.___

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 (1)

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.

.

__,_._,___

Wednesday, October 12, 2016

Re: [LINUX_Newbies] LUbuntu and Thunderbird.

 

On Wed, Oct 12, 2016 at 01:05:33PM -0400, Hal halinux@frontier.com [LINUX_Newbies] wrote:
> On Mon, Oct 10, 2016 at 05:54:56PM -0400, Scott scottro@nyc.rr.com [LINUX_Newbies] wrote:
> > I have a
> > page that some have found useful, at
>
> https://srobb.net/mutt.html
>
> A must fetch and read for anyone interested in first class eMail..
>
> Spot on, Scott..

Well, thank you very much for the kind words.

--
Scott Robbins
PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6

__._,_.___

Posted by: Scott <scottro@nyc.rr.com>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (10)

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.

.

__,_._,___

Re: [LINUX_Newbies] LUbuntu and Thunderbird.

 

On Mon, Oct 10, 2016 at 05:54:56PM -0400, Scott scottro@nyc.rr.com [LINUX_Newbies] wrote:
> I have a
> page that some have found useful, at

https://srobb.net/mutt.html

A must fetch and read for anyone interested in first class eMail..

Spot on, Scott..

--

Hal..

GNU-Linux/UNIX - Slackware 14.1 JFS X86

__._,_.___

Posted by: Hal <halinux@frontier.com>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (9)

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.

.

__,_._,___

Monday, October 10, 2016

Re: [LINUX_Newbies] LUbuntu and Thunderbird.

 

On Mon, Oct 10, 2016 at 04:21:25PM -0400, dlmS solitude33@frontier.com [LINUX_Newbies] wrote:

> When I used Slackware I used Mutt and loved it. It was so easy to
> delete a line (ctrl Y) was all it took...........So easy. However no
> one here in our very small town knows anything about Slackware, so
> my husband put Lubuntu on my computer so I could get help if I
> needed it. He is the only one who can help me with slackware. Anyway
> Mutt wouldn't work with Lubuntu as they seem incompatible. I have no
> clue why, but it has something to do with the fact that we do not
> write in the clouds. We use pop3 mail queue and nullmailer.

Mutt will work with Lubuntu. Definitely.

>
> Hal. (Husband) is really brilliant about all this geekish stuff and
> he is trying to work something out so I have the gooey and a decent
> mailer. BTW, Hal is also in this group and at the age of 94 he has
> all these unix/linux commands firmly embedded in his head! He
> dislikes systems like Ubuntu and is unfamiliar with them so he is
> struggling with me to work this out.

Yup, there are reasons the more experienced dislike them--there's a saying
Unix doesn't stop you from doing stupid things because that would also stop
you from doing clever things. Fedora, Lubuntu, and similar systems tend to
stop you from doing stupid things, and while doing it, get in your way.

Install mutt and just set up your .muttrc as you did with Slack. There
really shouldn't be a problem. I use getmail and msmtp with mutt. I have a
page that some have found useful, at https://srobb.net/mutt.html

--
Scott Robbins
PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6

__._,_.___

Posted by: Scott <scottro@nyc.rr.com>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (8)

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.

.

__,_._,___