Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

cannot move files to second sata hard drive

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
hthi
Posts: 213
Joined: 2015-05-09 15:43
Has thanked: 1 time

cannot move files to second sata hard drive

#1 Post by hthi »

debian 8 64bit
gparted

Done this:
connected one more sata hdd to the desktop
formatted the hdd using gparted
I have to enter sodu psswd in order to start gparted

If I right click in nautilus and copy a file on the system hdd, then I cannot move it to the second hdd. If I right click then paste is greyed. I cannot create a new folder either.
On other gnulinux systems, I have not encountered this matter.
A window also prompts me to mount the second hdd and enter the sudo psswd.
After that files stays not movable to the second hdd.

Nautilus permission properties about the second hdd says
owner root access create delete files
group root access access files
others access access files.

You cannot select options

How do I format a hdd such that I can use it for files?
Is it an extra security property on debian 8 64bit?

Thank you.

Dai_trying
Posts: 1100
Joined: 2016-01-07 12:25
Has thanked: 5 times
Been thanked: 16 times

Re: cannot move files to second sata hard drive

#2 Post by Dai_trying »

You can change the ownership of the mounted system using the following command

Code: Select all

sudo chown username:username mountpoint
and entering your password.
You will need to substitute "username" with your own username and substitute "mountpoint" with your mountpoint name, mountpoint name could be either the name (if given one) or UUID but can be determined by looking in the output of df to see the mountpoint("Mounted on" column) of your newly created hdd (must be mounted first)

HTH

hthi
Posts: 213
Joined: 2015-05-09 15:43
Has thanked: 1 time

Re: cannot move files to second sata hard drive

#3 Post by hthi »

Thank you. I could not get

Code: Select all

sudo chown username:username mountpoint
to work. Probably because I could not discover the correct user name.

I started

Code: Select all

gksudo nautilus
Then I right clicked the second hdd.
I could then make the same settings in permissions as in the computer hdd.
After that, I can move files to the second sata hdd.

Tell me, if there are implications about setting permissions using that command?

User avatar
phenest
Posts: 1702
Joined: 2010-03-09 09:38
Location: The Matrix

Re: cannot move files to second sata hard drive

#4 Post by phenest »

The username you're looking for is your own.
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D

hthi
Posts: 213
Joined: 2015-05-09 15:43
Has thanked: 1 time

Re: cannot move files to second sata hard drive

#5 Post by hthi »

If it says

Code: Select all

you@computer:~$
then the user name is 'you'?

Then does one write?

Code: Select all

sudo chown you:you 'mountpoint'
Or

Code: Select all

sudo chown username:you 'mountpoint'

User avatar
phenest
Posts: 1702
Joined: 2010-03-09 09:38
Location: The Matrix

Re: cannot move files to second sata hard drive

#6 Post by phenest »

hthi wrote:If it says

Code: Select all

you@computer:~$
then the user name is 'you'?
Correct.
hthi wrote:Then does one write?

Code: Select all

sudo chown you:you 'mountpoint'
This one.
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D

hthi
Posts: 213
Joined: 2015-05-09 15:43
Has thanked: 1 time

Re: cannot move files to second sata hard drive

#7 Post by hthi »

Thank you.

Code: Select all

sudo chown you:you 'mountpoint'
Made no error messages.

Post Reply