LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

Rep: Reputation: Disabled
writing to folder


HELLO
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
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,683

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
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..

Warning:
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

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

Code:
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,
Code:
sudo -i
passwd
You now have a 'real' root account



Edit
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.
 
  


Reply



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 fachhoch@gmail.com 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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:51 AM.

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