![]() |
Reading file system on desktop
Hi
I have an SD card with a cloned OS on it and I have placed the card into my desktop. I'm running Ubuntu but I am quite new to all this, how do I open a folder that has its permissions set by the N810? Ubuntu is saying that I don't have permissions to enter the home/user/ folder on the SD card, I guess because it doesn't belong to this install of Ubuntu. How do I authorise? Thanks Steve |
Re: Reading file system on desktop
If you clone the OS on SD card, it has a Linux filesystem with permissions.
The /home/user folder has the owner "user". This name "user" is mapped to a number in the system, e.g. 1000. If your user on Ubuntu is mapped to the same number, then the folder will appear to be owned by you, otherwise not. As root you can read everything. You can also change the permissions of /home/user and the files in there as root, so that other users can read/write it. But as it is now, the /home/user on your SD card does not belong to the user that you are on your Ubuntu. That's why you get "permission denied". If /media/disk is the mountpoint of the SD, you could do something like this as root: Code:
chmod -R o+w /media/disk/home/user |
Re: Reading file system on desktop
Thanks for the help, at the terminal I am getting:
cannot access o+w no such file or directory Any ideas? |
Re: Reading file system on desktop
Tried again with:
sudo chmod -R o+w /media/disk-1/home/user and am getting permission denied. |
Re: Reading file system on desktop
Made a new user and it worked, thank you.
|
All times are GMT. The time now is 04:59. |
vBulletin® Version 3.8.8