LinuxMCE Forums

General => Installation issues => Topic started by: mechuccio on March 07, 2011, 05:46:35 pm

Title: root permission on external hdd
Post by: mechuccio on March 07, 2011, 05:46:35 pm
Hi all,

I've connected my external disk to my LMCE 8.10 setup and chose for the option "use linux folder settings"
I then moved all my files to the user1 folder and now I have a problem.
I can access all files on my linux setup but I can't use the disk on my windows computer anymore.
I can see my files but my windows computer tells me I don't have the right permissions to access them.
When I enter KDE desktop and open file explorer I can't move these files back to the root of my external disk as I don't have root permissions on KDE.

I'm really stuck here, I need to use those files on my windows computer so I need to find a way to gain root permission in KDE in order to move the files back. Changing the rights on the user1 folder would be good as well. As long as I'm able to move my files back to the root.

Any help is greatly appreciated!

Thanks in advance
Title: Re: root permission on external hdd
Post by: posde on March 07, 2011, 05:58:56 pm
What filesystem do you have on your drive
Title: Re: root permission on external hdd
Post by: JoakimL on March 07, 2011, 07:05:20 pm
To gain root access just Open a terminal window in KDE and type
 sudo -s
Then type your password

To change authorisation:
 cd /home/user_1
 chmod 777 *

(This is a crude way, but I'll work)

/Joakim
Title: Re: root permission on external hdd
Post by: mechuccio on March 07, 2011, 07:35:06 pm
Thanks for your replies.
I use the NTFS file system (it's a 1TB disk which is filled for 95% so I could not change that before I added it to my lmce setup).

I tried the chmod 777 .* and chmod 777 * after entering su modus in terminal.
The chmod 777 *. seems to work (no error) but with the 777 * command I get the error message
Quote
cannot operate on dangling symlink '10WADS External (sdf1) on dcer [43]

When I open File explorer in KDE and check the user rights for the folders nothing seems to have changed.

Is there maybe a command to open the file explorer as root? Than I would be able to just move the folders back to root as I did in the first place when moving them to the user_1 folder.
Title: Re: root permission on external hdd
Post by: mechuccio on March 07, 2011, 08:27:24 pm
Oh it did work!
After the chmod command I plugged the disk on my windows machine and now was able to remove the read only mark on all folders. Thanks! I'm able to use my files again which makes me very happy :D