Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-22-2013, 12:51 AM   #1
LQ Newbie
Registered: Jul 2013
Posts: 9

Rep: Reputation: Disabled
writing to folder

I have a number of volumes listed to the top left of my file manager.(214 GB fielsystem,data, Cent OS,)I can't write to any of these volumes.I get an error saying "you cannot change the contents of that folder." I'm dual booting my pc with CENTOS.

Thank You
Old 08-22-2013, 01:30 AM   #2
Senior Member
Registered: Oct 2008
Distribution: Debian Jessie / sid
Posts: 1,471

Rep: Reputation: 444Reputation: 444Reputation: 444Reputation: 444Reputation: 444
I guess you are not the owner of the folder..

I see you are using Ubuntu, its UIDs start at 1000 where as CentOS start at 500
so your first ( and I guess Only user ) on each install are 'miss matched'
easiest way to get round this is make them match..

The below assumes the above to be true and that you want to work with files you 'own' on each distro
If that is not the case, more info required

in CentOS

Do not login..
instead go to a console ( ctrl+alt+F1 ) and login as root

figure out UID/GID's
a quick way to confirm the UID/GID is

ls -l -n /home /path/to/volume/home
assuming Ubuntu account is 1000..

usermod -u 1000 <username>
groupmod -g 1000 <your group, probably same as username>
now your CentOS UID/GID will be in-sync with the Ubuntu's

of course you could do it the other way round, in Ubuntu change to 500
This is going to be a tiny bit 'harder', as you won't have a real root account..
login as yourself,
sudo -i
You now have a 'real' root account

Oh, logout of root ( exit or ctrl+d ) and get back to graphical Login with (ctrl+)alt+f7 ( sometimes f8 or f9 )

Last edited by Firerat; 08-22-2013 at 01:37 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
writing to temp folder Linux - Newbie 1 05-14-2012 05:14 PM
writing a game - what is the linux folder layout? jarro_2783 Linux - General 11 07-08-2006 07:20 AM
anonymous folder writing with vsftpd thomas.jt Linux - Networking 3 10-31-2005 08:18 PM
writing windows share folder boToo Linux - Newbie 2 06-09-2005 10:30 AM
Writing to a shared home folder confused_bof Linux - Networking 5 05-18-2004 06:50 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:49 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration