writing on hard disk on ubuntu

Clash 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 ???
permissions hard-drive
add a comment |Â
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 ???
permissions hard-drive
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
add a comment |Â
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 ???
permissions hard-drive
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 ???
permissions hard-drive
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
add a comment |Â
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
add a comment |Â
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.
Note that it's not a good idea to run graphical apps withsudo.gksudo/gksuis 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 thanman pkexec.
â Vishesh Gautam
May 16 at 19:11
add a comment |Â
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.
Note that it's not a good idea to run graphical apps withsudo.gksudo/gksuis 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 thanman pkexec.
â Vishesh Gautam
May 16 at 19:11
add a comment |Â
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.
Note that it's not a good idea to run graphical apps withsudo.gksudo/gksuis 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 thanman pkexec.
â Vishesh Gautam
May 16 at 19:11
add a comment |Â
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.
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.
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 withsudo.gksudo/gksuis 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 thanman pkexec.
â Vishesh Gautam
May 16 at 19:11
add a comment |Â
Note that it's not a good idea to run graphical apps withsudo.gksudo/gksuis 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 thanman 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
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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