The Official Computer Tech Support Thread - Music Banter Music Banter

Go Back   Music Banter > Community Center > The Lounge
Register Blogging Today's Posts
Welcome to Music Banter Forum! Make sure to register - it's free and very quick! You have to register before you can post and participate in our discussions with over 70,000 other registered members. After you create your free account, you will be able to customize many options, you will have the full access to over 1,100,000 posts.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 08-07-2021, 09:15 PM   #10 (permalink)
I sleep in your hat
 
Stephen's Avatar
 
Join Date: Mar 2011
Location: Melbourne, Vic. Aus.
Posts: 1,850
Default

Quote:
Originally Posted by SoundgardenRocks View Post
Are you trying to copy the file from a Windows machine to a disparate Linux machine (VM or otherwise)? In that case, I'm guessing you're using something like pscp to do the copy?

have you tried making the path that you're writing to completely open in terms of permissions? e.g. chmod 777 /path/to/folder - it's possible that the issue could be coming from permissions on the folders that are parents to your target directory.

Have you messed around with the setuid/setgid bits?

This isn't an NFS share you're writing to, is it?

What kind of process do you have that's writing to this location? Is it a program? PHP? Python or something? Bash script set up as a cron job? For some reason, I remember having an issue very similar to this, with a PHP program doing a SFTP transfer using PHPSECLIB - not sure if it's at all related (I think it was a permissions issue), but if you haven't figured it out by now, I'll try to dig through my notes for ya. Let me know.
It’s a rather convoluted process. We have a Windows service that queues print uploads for preflighting. That launches a bat file which passes everything to a command line exe I wrote in C# that uses renci ssh to talk to a Linux box running cli preflighting software which outputs the results to a Windows network folder (the part I was having trouble with).

Anyway we managed to get it working by using smb instead of nfs to write the files to the Windows network. Thanks for the input.
Stephen is offline   Reply With Quote
 


Similar Threads



© 2003-2025 Advameg, Inc.