Bug 362052 - When I try to save it as a user in Ubuntu with root access, it fails to save files though I have permissions to edit files and save them
Summary: When I try to save it as a user in Ubuntu with root access, it fails to save ...
Status: RESOLVED WAITINGFORINFO
Alias: None
Product: kdevelop
Classification: Applications
Component: file create (other bugs)
Version First Reported In: 4.90.90
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-21 21:10 UTC by Akshay
Modified: 2016-04-22 07:25 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Image showing the error (778.66 KB, image/png)
2016-04-21 21:11 UTC, Akshay
Details
image showing error on another vm machine (291.80 KB, image/png)
2016-04-21 21:12 UTC, Akshay
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Akshay 2016-04-21 21:10:31 UTC
so if you simply do sudo apt-get install kdevelop -y
and start using kdevelop 4.7 though we have root privileges it will deny from saving in our machine. 

Reproducible: Always

Steps to Reproduce:
1. install fresh vm of ubuntu 15.10
2. sudo apt-get install kdevelop -y
3. start writing basic code like hello world in cpp
4. try saving with ctrl+s and you will see the message that no permission or full disk

Actual Results:  
It actually denied me from saving any files.

Expected Results:  
It should have saved the files.
Comment 1 Akshay 2016-04-21 21:11:21 UTC
Created attachment 98497 [details]
Image showing the error
Comment 2 Akshay 2016-04-21 21:12:41 UTC
Created attachment 98498 [details]
image showing error on another vm machine
Comment 3 Kevin Funk 2016-04-22 07:19:54 UTC
This looks like a user setup issue. Please,
a) never run KDevelop with root
b) make sure you own the folders you're attempting to write to (maybe it is owned by root now b/c you started KDevelop under the root user earlier)
Comment 4 Akshay 2016-04-22 07:25:40 UTC
I had all my permissions set and that I owned the folder before starting Kdevelop.