Code::Blocks Forums

User forums => Help => Topic started by: alleb on December 28, 2010, 08:12:07 pm

Title: [SOLVED] Permission denied when trying to save file
Post by: alleb on December 28, 2010, 08:12:07 pm
I'm trying to use C::B, have successfully installed it on Ubuntu 10.10, then I started IDE itself. I created a new empty project and tried to save it, but a warning message "Couldn't save project <project name> (Maybe the file is write-protected?)" appeared. Destination folder is on ntfs drive which is mounted on system start to folder /hdd/. Permissions for /hdd/ are drwxr-xr-x, owner is root and group is plugdev(my user is in this group), permissions to all inner folders are dwrxwrx---. I tried to add writing permissions to /hdd/, but it didn't help - just the same thing. I tried searching in internet, but found nothing useful except that once was said that user Code::Blocks must have permissions for writing - but no such user exist. By the way, files in the same directory C::B can't write to can be created, deleted and edited from system terminal, so it seems like IDE issue. Will be very pleased for any help:)
Title: Re: Permission denied when trying to save file
Post by: Jenna on December 28, 2010, 08:32:33 pm
Maybe this helps: http://forums.codeblocks.org/index.php/topic,10735.msg73563.html#msg73563 (http://forums.codeblocks.org/index.php/topic,10735.msg73563.html#msg73563)

Possible explanation here: http://forums.codeblocks.org/index.php/topic,10263.msg70971.html#msg70971 (http://forums.codeblocks.org/index.php/topic,10263.msg70971.html#msg70971)
Title: Re: [SOLVED] Permission denied when trying to save file
Post by: alleb on December 28, 2010, 09:21:21 pm
jens, thanks a lot, problem is solved:)