writing on hard disk on ubuntu

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












I am not able to write on my hard disk ( eg- I am not even able to create a new folder there). In the properties it is written that the owner is root and it has not given writing rights to other users.
We cant login as root in ubuntu.



this is how my hard disk is shown in files , as "Computer" in other locations options



this is what i see when i open hard disk i.e. click on "Computer" option



But every permission is given to root and I cant write or edit.
How can I get the permission to write in the hard disk and if I want to access files in hard disk, what would be the address of files ???







share|improve this question
















  • 1




    Are you expecting it to work like on Windows where anyone can write to the root of the C drive? Linux doesn't work like that. Only the root user can write to the root directory.
    – wjandrea
    May 15 at 19:28














up vote
0
down vote

favorite












I am not able to write on my hard disk ( eg- I am not even able to create a new folder there). In the properties it is written that the owner is root and it has not given writing rights to other users.
We cant login as root in ubuntu.



this is how my hard disk is shown in files , as "Computer" in other locations options



this is what i see when i open hard disk i.e. click on "Computer" option



But every permission is given to root and I cant write or edit.
How can I get the permission to write in the hard disk and if I want to access files in hard disk, what would be the address of files ???







share|improve this question
















  • 1




    Are you expecting it to work like on Windows where anyone can write to the root of the C drive? Linux doesn't work like that. Only the root user can write to the root directory.
    – wjandrea
    May 15 at 19:28












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I am not able to write on my hard disk ( eg- I am not even able to create a new folder there). In the properties it is written that the owner is root and it has not given writing rights to other users.
We cant login as root in ubuntu.



this is how my hard disk is shown in files , as "Computer" in other locations options



this is what i see when i open hard disk i.e. click on "Computer" option



But every permission is given to root and I cant write or edit.
How can I get the permission to write in the hard disk and if I want to access files in hard disk, what would be the address of files ???







share|improve this question












I am not able to write on my hard disk ( eg- I am not even able to create a new folder there). In the properties it is written that the owner is root and it has not given writing rights to other users.
We cant login as root in ubuntu.



this is how my hard disk is shown in files , as "Computer" in other locations options



this is what i see when i open hard disk i.e. click on "Computer" option



But every permission is given to root and I cant write or edit.
How can I get the permission to write in the hard disk and if I want to access files in hard disk, what would be the address of files ???









share|improve this question











share|improve this question




share|improve this question










asked May 15 at 18:44









Mukund Kr Kedia

32




32







  • 1




    Are you expecting it to work like on Windows where anyone can write to the root of the C drive? Linux doesn't work like that. Only the root user can write to the root directory.
    – wjandrea
    May 15 at 19:28












  • 1




    Are you expecting it to work like on Windows where anyone can write to the root of the C drive? Linux doesn't work like that. Only the root user can write to the root directory.
    – wjandrea
    May 15 at 19:28







1




1




Are you expecting it to work like on Windows where anyone can write to the root of the C drive? Linux doesn't work like that. Only the root user can write to the root directory.
– wjandrea
May 15 at 19:28




Are you expecting it to work like on Windows where anyone can write to the root of the C drive? Linux doesn't work like that. Only the root user can write to the root directory.
– wjandrea
May 15 at 19:28










1 Answer
1






active

oldest

votes

















up vote
0
down vote



accepted










It's not Windows, where any user can write into System Dir by just clicking 'Yes' on UAC Prompt.



To access system files and folders as RW, type on terminal or ALT+F2 sudo filemanager /, here I see you're using nautilus, so type



sudo nautilus / -> Enter Password -> Access / files.



To access other files or volume on your computer, click on 'Other Locations' and see if your volume are listed there and if not, type sudo fdisk -l to know volume information. and mount it accordingly.



Note : gksu is recommended over sudo for running GUI applications due to various of factors, however it's removed in latest version of Debian/Ubuntu. In that case use pkexec or gvfs admin backend.






share|improve this answer






















  • Note that it's not a good idea to run graphical apps with sudo. gksudo/gksu is probably the best alternative.
    – wjandrea
    May 16 at 18:35










  • Yes I'm aware of the fact, but now gksu is deprecated. It is removed from Debian, Ubuntu 18.04 and other newer Linux distribution version. However, I'll edit my answer for a better span. Thanks.
    – Vishesh Gautam
    May 16 at 18:41










  • OK, I guess I'm behind the times. What's the best option now, pkexec?
    – wjandrea
    May 16 at 18:42










  • @wjandrea yes, pkexec is what we have now. ^^Also read my updated answer.
    – Vishesh Gautam
    May 16 at 18:48







  • 1




    Here's a little basics about gvfs admin backend : itsfoss.com/gksu-replacement-ubuntu For pkexec, I couldn't found any better information than man pkexec.
    – Vishesh Gautam
    May 16 at 19:11










Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1036656%2fwriting-on-hard-disk-on-ubuntu%23new-answer', 'question_page');

);

Post as a guest






























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
0
down vote



accepted










It's not Windows, where any user can write into System Dir by just clicking 'Yes' on UAC Prompt.



To access system files and folders as RW, type on terminal or ALT+F2 sudo filemanager /, here I see you're using nautilus, so type



sudo nautilus / -> Enter Password -> Access / files.



To access other files or volume on your computer, click on 'Other Locations' and see if your volume are listed there and if not, type sudo fdisk -l to know volume information. and mount it accordingly.



Note : gksu is recommended over sudo for running GUI applications due to various of factors, however it's removed in latest version of Debian/Ubuntu. In that case use pkexec or gvfs admin backend.






share|improve this answer






















  • Note that it's not a good idea to run graphical apps with sudo. gksudo/gksu is probably the best alternative.
    – wjandrea
    May 16 at 18:35










  • Yes I'm aware of the fact, but now gksu is deprecated. It is removed from Debian, Ubuntu 18.04 and other newer Linux distribution version. However, I'll edit my answer for a better span. Thanks.
    – Vishesh Gautam
    May 16 at 18:41










  • OK, I guess I'm behind the times. What's the best option now, pkexec?
    – wjandrea
    May 16 at 18:42










  • @wjandrea yes, pkexec is what we have now. ^^Also read my updated answer.
    – Vishesh Gautam
    May 16 at 18:48







  • 1




    Here's a little basics about gvfs admin backend : itsfoss.com/gksu-replacement-ubuntu For pkexec, I couldn't found any better information than man pkexec.
    – Vishesh Gautam
    May 16 at 19:11














up vote
0
down vote



accepted










It's not Windows, where any user can write into System Dir by just clicking 'Yes' on UAC Prompt.



To access system files and folders as RW, type on terminal or ALT+F2 sudo filemanager /, here I see you're using nautilus, so type



sudo nautilus / -> Enter Password -> Access / files.



To access other files or volume on your computer, click on 'Other Locations' and see if your volume are listed there and if not, type sudo fdisk -l to know volume information. and mount it accordingly.



Note : gksu is recommended over sudo for running GUI applications due to various of factors, however it's removed in latest version of Debian/Ubuntu. In that case use pkexec or gvfs admin backend.






share|improve this answer






















  • Note that it's not a good idea to run graphical apps with sudo. gksudo/gksu is probably the best alternative.
    – wjandrea
    May 16 at 18:35










  • Yes I'm aware of the fact, but now gksu is deprecated. It is removed from Debian, Ubuntu 18.04 and other newer Linux distribution version. However, I'll edit my answer for a better span. Thanks.
    – Vishesh Gautam
    May 16 at 18:41










  • OK, I guess I'm behind the times. What's the best option now, pkexec?
    – wjandrea
    May 16 at 18:42










  • @wjandrea yes, pkexec is what we have now. ^^Also read my updated answer.
    – Vishesh Gautam
    May 16 at 18:48







  • 1




    Here's a little basics about gvfs admin backend : itsfoss.com/gksu-replacement-ubuntu For pkexec, I couldn't found any better information than man pkexec.
    – Vishesh Gautam
    May 16 at 19:11












up vote
0
down vote



accepted







up vote
0
down vote



accepted






It's not Windows, where any user can write into System Dir by just clicking 'Yes' on UAC Prompt.



To access system files and folders as RW, type on terminal or ALT+F2 sudo filemanager /, here I see you're using nautilus, so type



sudo nautilus / -> Enter Password -> Access / files.



To access other files or volume on your computer, click on 'Other Locations' and see if your volume are listed there and if not, type sudo fdisk -l to know volume information. and mount it accordingly.



Note : gksu is recommended over sudo for running GUI applications due to various of factors, however it's removed in latest version of Debian/Ubuntu. In that case use pkexec or gvfs admin backend.






share|improve this answer














It's not Windows, where any user can write into System Dir by just clicking 'Yes' on UAC Prompt.



To access system files and folders as RW, type on terminal or ALT+F2 sudo filemanager /, here I see you're using nautilus, so type



sudo nautilus / -> Enter Password -> Access / files.



To access other files or volume on your computer, click on 'Other Locations' and see if your volume are listed there and if not, type sudo fdisk -l to know volume information. and mount it accordingly.



Note : gksu is recommended over sudo for running GUI applications due to various of factors, however it's removed in latest version of Debian/Ubuntu. In that case use pkexec or gvfs admin backend.







share|improve this answer














share|improve this answer



share|improve this answer








edited May 16 at 18:46

























answered May 15 at 19:42









Vishesh Gautam

36011




36011











  • Note that it's not a good idea to run graphical apps with sudo. gksudo/gksu is probably the best alternative.
    – wjandrea
    May 16 at 18:35










  • Yes I'm aware of the fact, but now gksu is deprecated. It is removed from Debian, Ubuntu 18.04 and other newer Linux distribution version. However, I'll edit my answer for a better span. Thanks.
    – Vishesh Gautam
    May 16 at 18:41










  • OK, I guess I'm behind the times. What's the best option now, pkexec?
    – wjandrea
    May 16 at 18:42










  • @wjandrea yes, pkexec is what we have now. ^^Also read my updated answer.
    – Vishesh Gautam
    May 16 at 18:48







  • 1




    Here's a little basics about gvfs admin backend : itsfoss.com/gksu-replacement-ubuntu For pkexec, I couldn't found any better information than man pkexec.
    – Vishesh Gautam
    May 16 at 19:11
















  • Note that it's not a good idea to run graphical apps with sudo. gksudo/gksu is probably the best alternative.
    – wjandrea
    May 16 at 18:35










  • Yes I'm aware of the fact, but now gksu is deprecated. It is removed from Debian, Ubuntu 18.04 and other newer Linux distribution version. However, I'll edit my answer for a better span. Thanks.
    – Vishesh Gautam
    May 16 at 18:41










  • OK, I guess I'm behind the times. What's the best option now, pkexec?
    – wjandrea
    May 16 at 18:42










  • @wjandrea yes, pkexec is what we have now. ^^Also read my updated answer.
    – Vishesh Gautam
    May 16 at 18:48







  • 1




    Here's a little basics about gvfs admin backend : itsfoss.com/gksu-replacement-ubuntu For pkexec, I couldn't found any better information than man pkexec.
    – Vishesh Gautam
    May 16 at 19:11















Note that it's not a good idea to run graphical apps with sudo. gksudo/gksu is probably the best alternative.
– wjandrea
May 16 at 18:35




Note that it's not a good idea to run graphical apps with sudo. gksudo/gksu is probably the best alternative.
– wjandrea
May 16 at 18:35












Yes I'm aware of the fact, but now gksu is deprecated. It is removed from Debian, Ubuntu 18.04 and other newer Linux distribution version. However, I'll edit my answer for a better span. Thanks.
– Vishesh Gautam
May 16 at 18:41




Yes I'm aware of the fact, but now gksu is deprecated. It is removed from Debian, Ubuntu 18.04 and other newer Linux distribution version. However, I'll edit my answer for a better span. Thanks.
– Vishesh Gautam
May 16 at 18:41












OK, I guess I'm behind the times. What's the best option now, pkexec?
– wjandrea
May 16 at 18:42




OK, I guess I'm behind the times. What's the best option now, pkexec?
– wjandrea
May 16 at 18:42












@wjandrea yes, pkexec is what we have now. ^^Also read my updated answer.
– Vishesh Gautam
May 16 at 18:48





@wjandrea yes, pkexec is what we have now. ^^Also read my updated answer.
– Vishesh Gautam
May 16 at 18:48





1




1




Here's a little basics about gvfs admin backend : itsfoss.com/gksu-replacement-ubuntu For pkexec, I couldn't found any better information than man pkexec.
– Vishesh Gautam
May 16 at 19:11




Here's a little basics about gvfs admin backend : itsfoss.com/gksu-replacement-ubuntu For pkexec, I couldn't found any better information than man pkexec.
– Vishesh Gautam
May 16 at 19:11












 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1036656%2fwriting-on-hard-disk-on-ubuntu%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

Trouble downloading packages list due to a “Hash sum mismatch” error

How do I move numbers in filenames, in a batch renaming operation?