Reply
Thread Tools
Posts: 98 | Thanked: 20 times | Joined on Jan 2012
#1
Ok this is the quest i want to change ownership under MyDocs

(home/user/MyDocs/data)

im logged as SU and this is my command

Code:
# chown -R root.root ./data
and i cant terminal returns "operation not permitted" for each file/folder

what can i do?

Last edited by eltoffer; 2012-02-24 at 17:40.
 
Guest | Posts: n/a | Thanked: 0 times | Joined on
#2
Originally Posted by eltoffer View Post
Ok this is the quest i want to change ownership under MyDocs

(home/user/MyDocs/data)

im logged as SU and this is my command

Code:
# chown -R root.root ./data
and i cant terminal returns "operation not permitted" for each file/folder

what can i do?
after devel-su (to become root, as you apparently did)
issue command develsh for higher priviledges. That should do it!
 

The Following User Says Thank You to For This Useful Post:
Posts: 177 | Thanked: 199 times | Joined on Nov 2007 @ Concepcion, Chile
#3
because vfat/fat/fat32/etc do not support owner, group or acl in general
__________________
User:rlinfati
 

The Following 2 Users Say Thank You to rlinfati For This Useful Post:
Posts: 98 | Thanked: 20 times | Joined on Jan 2012
#4
Nop

Code:
~ $ devel-su
password:
~ # develsh
~ # cd /home/user/MyDocs/
~ # chown -R root:root ./data
chown ./data... :operation not permitted
 
Posts: 98 | Thanked: 20 times | Joined on Jan 2012
#5
Originally Posted by rlinfati View Post
because vfat/fat/fat32/etc do not support owner, group or acl in general
so what can i do for change ownership to a folder? o i just CANT?
 
Posts: 177 | Thanked: 199 times | Joined on Nov 2007 @ Concepcion, Chile
#6
Originally Posted by eltoffer View Post
so what can i do for change ownership to a folder? o i just CANT?
you can not

why you wanna do that ?
__________________
User:rlinfati
 
Posts: 98 | Thanked: 20 times | Joined on Jan 2012
#7
im trying to deb a pkg from my phone, (for testing) do you know if it is also possible?
 
Posts: 245 | Thanked: 915 times | Joined on Feb 2012
#8
Remember to always use devel-su -s /bin/develsh when you want to go root - otherwise you often actually lose capabilities from before you switched to root.

Also, as was already said, the MyDocs folder is on a FAT32 partition, which doesn't support users/groups/permissions at all, so you need to move your files to somewhere else (e.g. /home/user) instead. However, I haven't been able to run dpkg -b successfully anyway, so if that's what you're trying to do it probably isn't going to work.
 

The Following User Says Thank You to itsnotabigtruck For This Useful Post:
Posts: 98 | Thanked: 20 times | Joined on Jan 2012
#9
Originally Posted by itsnotabigtruck View Post

Also, as was already said, the MyDocs folder is on a FAT32 partition, which doesn't support users/groups/permissions at all, so you need to move your files to somewhere else (e.g. /home/user) instead. However, I haven't been able to run dpkg -b successfully anyway, so if that's what you're trying to do it probably isn't going to work.
thanks it works but as you said i cant deb thanks anyway, so the only way to deb is through a pc?
 
Posts: 245 | Thanked: 915 times | Joined on Feb 2012
#10
Originally Posted by eltoffer View Post
thanks it works but as you said i cant deb thanks anyway, so the only way to deb is through a pc?
Yeah. Your best bet is to set up the Harmattan Platform SDK (Scratchbox) on a Debian/Ubuntu install - if you use something else, make a virtual machine. You can then put together a source package and use dpkg-buildpackage to compile it into a .deb. However, that's a lot more complicated of course - I don't think there's a good solution for making "quick and dirty" .debs.

(On the other hand, there's a lot of half-baked .debs for Maemo - it's probably a good thing if people start using the more official tools in order to make high quality .debs)
 
Reply


 
Forum Jump


All times are GMT. The time now is 05:00.