Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

WinSCP cannot change the config.txt file
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
WinSCP cannot change the config.txt file
27th Apr, 2014, 08:59 PM
Post: #1
forumarbeit Offline
Registered
Posts: 2
Joined: Apr 2014
Reputation: 1
WinSCP cannot change the config.txt file
Hi,

I want replace the changed file /boot/config.txt on my raspberry pi with WinSCP.
I get always the message Error code: 3, Error Message from Server : Permission denied.
My login is the standard xbian login.
It is possible, i have no rights for this action? If yes, how can I this rights?

Many thanks.
Find all posts by this user
Quote this message in a reply
27th Apr, 2014, 11:17 PM
Post: #2
forumarbeit Offline
Registered
Posts: 2
Joined: Apr 2014
Reputation: 1
RE: WinSCP cannot change the config.txt file
(27th Apr, 2014 08:59 PM)forumarbeit Wrote:  Hi,

I want replace the changed file /boot/config.txt on my raspberry pi with WinSCP.
I get always the message Error code: 3, Error Message from Server : Permission denied.
My login is the standard xbian login.
It is possible, i have no rights for this action? If yes, how can I this rights?

Many thanks.

Ok I have set a new root password on XBIAN-OS and make in WinSCP a root - Login Profil user:root and new changed passwort.

Now I could replaced the file.
Find all posts by this user
Quote this message in a reply
14th May, 2014, 05:51 AM
Post: #3
Skywatch Offline
Registered
Posts: 1,018
Joined: Mar 2013
Reputation: 28
RE: WinSCP cannot change the config.txt file
Thanks for posting the solution.....

I will try on my pi soon, had same problem before......

Thanks

Skywatch
Find all posts by this user
Quote this message in a reply
2nd Jul, 2014, 07:24 AM
Post: #4
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: WinSCP cannot change the config.txt file
it is not "problem" in means of bug. the chain of events leading to that is fact that /boot partition is fat. fat has no ACLs and by default is mounted with "fake" ownership = owner root.

it can be changed via mountoptions in /etc/fstab for /boot to xbian, which would allow xbian RW access to /boot. it is "uid=value and gid=value".

but probably better solution is to set "umask=0". (just add it into /etc/fstab line which starts /dev/mmcblk0p1. change rw,noatime to rw,noatime,umask=0.

umount /boot && mount /boot .
now anyone should be able to RW into /boot

(umask=0 will not change owner - this stays root. but will allow RWX permissions for owner also owner group and also - our case - other users).

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Possibly Related Threads...
Thread: Author Replies Views: Last Post
  [solved] xbian-config: backup to file runs two times Groormat 4 15,277 5th May, 2014 08:03 PM
Last Post: Groormat

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 9th May, 2025, 05:40 AM Powered By MyBB, © 2002-2025 MyBB Group.