This forum uses cookies. Click X button to hide this message. What is stored? / Privacy
Total Commander Forum Index Total Commander
Forum - Public Discussion and Support
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Error copying file to /system partition
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Total Commander Forum Index -> Total Commander for Android Printable version
View previous topic :: View next topic  
Author Message
revanmj
New Member
New Member


Joined: 29 Jan 2008
Posts: 1

PostPosted: Fri Dec 06, 2013 5:15 am    Post subject: Error copying file to /system partition Reply with quote

Anytime I want to copy some file to the /system partition I get an error saying "su error: could not open source file". Other file managers (for example ES File Manager) don't have this issue.

I'm running an unofficial build of CyanogenMod 11 (Android 4.4) on a Galaxy Nexus and using its default Superuser app.
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 35761
Location: Switzerland

PostPosted: Fri Dec 06, 2013 10:23 am    Post subject: Reply with quote

I'm surprised that ES can do it under these conditions - to my knowledge, "Superuser" is NOT supporting Android 4.3 and 4.4 yet.

Total Commander currently works with SuperSU. I have no idea what I need to change to make it work with Superuser. I simply call the "su" binary, and SuperSU does the rest.

If anyone has an idea what could be done, please let me know.
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
spamkuba
Junior Member
Junior Member


Joined: 07 Dec 2013
Posts: 2

PostPosted: Sat Dec 07, 2013 5:14 am    Post subject: Reply with quote

Hi, I love you program but I have problem too. I use stock 4.4 with supersu. When I copy file from sd to /system file I loose icons and file is not working.
It's a problem with permission?
Back to top
View user's profile Send private message
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 35761
Location: Switzerland

PostPosted: Sun Dec 08, 2013 5:13 am    Post subject: Reply with quote

2revanmj
Which build of Cyanogenmod 11 do you use? I have just installed Cyanogenmod 11 "M Snapshot" dated 2013-12-05 on my Nexus 7 (2012), and I can mount partitions as read/write without any problems. I can also copy to /system without problems. Please make sure that you use the latest Total Commander from the Play Store or ghisler.com.

2spamkuba
This is normal - when you copy a file to /system, it inherits the user rights of that folder. Therefore it's probably limited to root now. To view and change the permissions and user/group, please make a long tap on the file and choose "Properties". There you can tap on "rwx" for the permissions, or "UID" for user/group name.
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
spamkuba
Junior Member
Junior Member


Joined: 07 Dec 2013
Posts: 2

PostPosted: Mon Dec 09, 2013 2:24 pm    Post subject: Reply with quote

both files have RWX: -rw-r--r-- and UID:0 root
I can send screenshot how it looks
Back to top
View user's profile Send private message
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 35761
Location: Switzerland

PostPosted: Tue Dec 10, 2013 10:38 am    Post subject: Reply with quote

This means that the file should be readable by everyone, but cannot be changed except by the root user.
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 35761
Location: Switzerland

PostPosted: Sun Dec 22, 2013 10:38 am    Post subject: Reply with quote

This is a bug of Cyanogenmod 11! While the user has access to /storage/emulated/0, the root user does NOT have access to it!

Beta 2 therefore redirects to /storage/emulated/legacy if it cannot access /storage/emulated/0.

Please try it!
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
siealex
Senior Member
Senior Member


Joined: 22 Mar 2009
Posts: 221

PostPosted: Mon Dec 23, 2013 8:59 am    Post subject: Reply with quote

It's a bug of Android 4.3 and 4.4, not only cyan.
_________________
We are not so S.M.A.R.T. as we imagine...
Back to top
View user's profile Send private message Send e-mail
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 35761
Location: Switzerland

PostPosted: Tue Dec 24, 2013 7:35 am    Post subject: Reply with quote

No it's not. I have a Nexus 7 (2012) with the official 4.4 release from Google, and it does NOT have this bug - the root user does have read and write access to /storage/emulated/0
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Hurdet
Senior Member
Senior Member


Joined: 10 May 2003
Posts: 419

PostPosted: Tue Apr 03, 2018 9:00 am    Post subject: Reply with quote

Also i have this problem.
"could not open source file error:2"
4.4.2
do it have a solution.
changed rw /system and file.
remount rw.
Back to top
View user's profile Send private message
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 35761
Location: Switzerland

PostPosted: Thu Apr 05, 2018 4:19 am    Post subject: Reply with quote

Sorry, I don't understand. Please be more specific of what doesn't work. What are you trying to do in /system ?
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Hurdet
Senior Member
Senior Member


Joined: 10 May 2003
Posts: 419

PostPosted: Thu Apr 05, 2018 5:09 am    Post subject: Reply with quote

I get this error when try to edit or overwrite /etc/dhcpcd/dhcpcd-hooks/20-dns.conf
Back to top
View user's profile Send private message
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 35761
Location: Switzerland

PostPosted: Mon Apr 09, 2018 8:19 am    Post subject: Reply with quote

I see. You may not have the rights to read or write the file, or write to the folder. Please try setting the file attributes via properties.
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Hurdet
Senior Member
Senior Member


Joined: 10 May 2003
Posts: 419

PostPosted: Mon Apr 09, 2018 8:21 am    Post subject: Reply with quote

I have set up all permission enabled.
Back to top
View user's profile Send private message
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 35761
Location: Switzerland

PostPosted: Mon Apr 09, 2018 8:23 am    Post subject: Reply with quote

From where do you try to copy to /system?
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> Total Commander for Android All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Imprint/Impressum: This site is maintained by Ghisler Software GmbH
Privacy Policy | Datenschutzerklärung | Politique de Confidentialité

Using phpBB © phpBB Group