Posts: 913
Joined: May 2007
Reputation:
3
Using filezilla to sftp into the live distro, I can't seem to be able to write a file to it (or overwrite existing files). This is probably a permission issue, but I don't know how to overcome this. What am I missing? Thx muchly.
ZOTAC IONITX-D-E Intel Atom N330 Dual Core 1.6 GHz NVIDIA ION with LIVE on SSD (now updated to Nvidia Shield Pro (P2897)
Posts: 143
Joined: Jan 2010
Reputation:
0
are you using the root account?
Posts: 2,064
Joined: Jan 2009
Reputation:
34
prae5
Team-XBMC Forum Moderator
Posts: 2,064
What files are you trying to change and what user account are you connecting with?
Posts: 1,756
Joined: Feb 2006
2010-09-13, 12:43
(This post was last modified: 2010-09-13, 12:55 by X3lectric.)
KidKiwi Wrote:I'm not sure what you mean by this??
I fire up filezilla using the correct ip, username and passwd and all the files appear as it should. But i can't change anything.
Should I be doing something else?
username should be root
password whatever password set for root
to set a root password.
passwd root (then enter same password twice)
Linux by default doesn't enable root login to enable root login type on terminal xbmc by default cant overwrite all files either only within .xbmc
The chown command can also be used say sudo chown username -R / that allows whatever username you using to have write access to everything. But only after running either of these on terminal (may take a while for chown) will your sftp connection have permission to do whatever.
Mind this is not for noobs, editing some unix files in windows will bork the files, e.g. edit fstab will bork fstab that in turn will cause system to become unbootable (it can be fixed but not so easy for noobs)
Posts: 14
Joined: Aug 2010
Reputation:
0
I have the same problem. Can access all files through Filezilla but can't write files. Was planning on transferring a few video files to my hard drive in my Revo this way for ease.
Will the root account solve this?
Posts: 8
Joined: Nov 2010
Reputation:
0
I just made a stupid thing. I use "sudo chown username -R /" to edit a file. I did but now I'm not able to load xbmc. Its asking me for the username and password (both are xbmc of course) Once a type both, nothing happens. Help!!
sincerally... a stupid noob
Posts: 333
Joined: Aug 2010
Reputation:
0
2011-05-18, 13:35
(This post was last modified: 2011-05-18, 13:38 by Mindzai.)
Unfortunately you have set the owner of every file in your system to username. You should be really careful about copying commands directly without understanding them for this reason, because the people posting them don't always know what they're talking about.
I don't really know what you can do to fix this. You could try assuming that the owner of all files outside of home directories was root and set them all back, then set your home directory back to the correct user. Otherwise you could back up your home directory and reinstall.
Posts: 8
Joined: Nov 2010
Reputation:
0
Mindzai and Prae5, thank you, I will re install and I'll be more careful next time. best regards from Mexico
Posts: 1,756
Joined: Feb 2006
and enable root login and setup a root password on install to prevent this from happening.