writing in linux
-
wrote on 7 Jul 2018, 09:50 last edited by
Hi, it's me again,
I try to work unter linux mint.I have downloaded from qt-server.
When I want to work on a project (imported from windows), there was always the hint that there were no writing rights on different files.No problem, I changed on all with chmod 1777. Even on cmakelists.txt.Now I can load and compile my project but when I want to change sth. in cmakelists.txt i have the same error again: can not save cmakelists.txt.
Where do I have to change which parameter?
Thank you experts! -
Where have you put your project code (what directory)?
Are you working as root (superuser)?
-
wrote on 7 Jul 2018, 11:56 last edited by
@sierdzio said in writing in linux:
Where have you put your project code (what directory)?
Are you working as root (superuser)?
project code is under /home/my name/code
no not working as root
I could start qt with sudo but I think there should be an other way!
Qt is on /home/myname/qt too. -
Hi,
How exactly are copying the files between Windows and Linux ?
-
wrote on 7 Jul 2018, 13:23 last edited by
@SGaist
I copied complete directory with dolphin, could have done it with mc as well.It is on an other partition,same PC.
But I found the solution myself:
i had to change owner of my project directory
chown -r username:groupdirectory
in mc there is a button which does that for you.
@SGaist may you have a look to my audiooutput question in a few minutes -
wrote on 8 Jul 2018, 12:21 last edited by
Hey there. Since it looks like you're copying these files from an NTFS partition I'd like to suggest installing ntfs-3g and using it instead for mounting NTFS drives as it will allow you to write on those drives too. The default NTFS driver "assumes" that the owner of files and directories on an NTFS partition is root.
-
wrote on 8 Jul 2018, 13:22 last edited by
no, I prefer copying the directory to linux,this way nothing will be changed on my original files under windows.But I solved it already!
-
You should rather consider using git for that. That will handle the line ending conversion for you and you'll have a better management of your code history.
1/8