[opensuse] kdeDevs - Why does ksnapshot now save everything via sftp with 0600 permissions??
KDE Dev, I need to solve this problem. Starting with kde 44beta, every time I take a snapshot with ksnapshot and save it to my webserver by saving to: sftp://nirvana:5341/srv/www/dl/..... the file is saved with 0600 permissions?? I have used this same server and same laptop for 2 years and my saving process has always been the same. In every version of kde (or any other desktop), the files are saved with the normal 0644 permissions. Now with kde44, they are all 0600. Why?? The only thing it gets partially right is where I have the permissions set to 7755, kde44 will assign the correct group ownership, but still stores the file as 0600 (not much help to other group members) What kind of bug is this? Is this a ksnapshot bug? Is this a sftp kio bug? Is it some kind of umask change? Where's the break and how do we fix it? Thanks. -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
David C. Rankin said the following on 02/24/2010 05:47 PM:
KDE Dev,
I need to solve this problem. Starting with kde 44beta, every time I take a snapshot with ksnapshot and save it to my webserver by saving to:
sftp://nirvana:5341/srv/www/dl/.....
the file is saved with 0600 permissions?? I have used this same server and same laptop for 2 years and my saving process has always been the same. In every version of kde (or any other desktop), the files are saved with the normal 0644 permissions. Now with kde44, they are all 0600. Why??
The only thing it gets partially right is where I have the permissions set to 7755, kde44 will assign the correct group ownership, but still stores the file as 0600 (not much help to other group members)
What kind of bug is this? Is this a ksnapshot bug? Is this a sftp kio bug? Is it some kind of umask change? Where's the break and how do we fix it? Thanks.
What happens when you store the file locally - NOT using sftp? In ~/, ~/Desktop, ~/tmp, /tmp .... ? What happens when you use KGrab instead of KSnapshot? Locally and via sftp -- We must believe in free will. We have no choice. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 02/24/2010 04:55 PM, Anton Aylward wrote:
David C. Rankin said the following on 02/24/2010 05:47 PM:
KDE Dev,
I need to solve this problem. Starting with kde 44beta, every time I take a snapshot with ksnapshot and save it to my webserver by saving to:
sftp://nirvana:5341/srv/www/dl/.....
the file is saved with 0600 permissions?? I have used this same server and same laptop for 2 years and my saving process has always been the same. In every version of kde (or any other desktop), the files are saved with the normal 0644 permissions. Now with kde44, they are all 0600. Why??
The only thing it gets partially right is where I have the permissions set to 7755, kde44 will assign the correct group ownership, but still stores the file as 0600 (not much help to other group members)
What kind of bug is this? Is this a ksnapshot bug? Is this a sftp kio bug? Is it some kind of umask change? Where's the break and how do we fix it? Thanks.
What happens when you store the file locally - NOT using sftp? In ~/, ~/Desktop, ~/tmp, /tmp .... ? What happens when you use KGrab instead of KSnapshot? Locally and via sftp
Ooh, good thinking.... Local saves w/ksnapshot: 0644 sftp saves w/kgrab: 0600 :( Looks like a kde44 issue... -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
David C. Rankin said the following on 02/24/2010 06:47 PM:
What happens when you store the file locally - NOT using sftp? In ~/, ~/Desktop, ~/tmp, /tmp .... ? What happens when you use KGrab instead of KSnapshot? Locally and via sftp
Ooh, good thinking....
Local saves w/ksnapshot: 0644 sftp saves w/kgrab: 0600 :(
Looks like a kde44 issue...
One other test just to eliminate a ew issues: sftp of a file to the same path from the command line. -- The author who benefits you most is not the one who tells you something you did not know before, but the one who gives expression to the truth that has been dumbly struggling in you for utterance." -- Oswald Chambers -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wednesday 24 February 2010 23:47:46 David C. Rankin wrote:
KDE Dev,
I need to solve this problem. Starting with kde 44beta, every time I take a snapshot with ksnapshot and save it to my webserver by saving to:
sftp://nirvana:5341/srv/www/dl/.....
the file is saved with 0600 permissions?? I have used this same server and same laptop for 2 years and my saving process has always been the same. In every version of kde (or any other desktop), the files are saved with the normal 0644 permissions. Now with kde44, they are all 0600. Why??
I'm working this out with the sftp developer. The change in behaviour happens because the developer picked 0600 as the default mode when creating a new file, to correspond to what other ioslaves do. I'm not yet sure how he should make it 'create the new file with the permissions resulting from the user's umask on the remote machine' which I think should be the correct behaviour - comments? Will Will Stephenson, KDE Developer, openSUSE Boosters Team SUSE LINUX Products GmbH - Nürnberg - AG Nürnberg - HRB 16746 - GF: Markus Rex -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
Anton Aylward
-
David C. Rankin
-
Will Stephenson