Secondary SATA hard drive no longer accessible after upgrade to Ubuntu 17 [closed]
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
1
down vote
favorite
I am on a dual boot machine and recently upgraded from Ubuntu 16 to Ubuntu 17. I have a 1 TB FAT32 SATA drive that was shared with Windows on Ubuntu 16 (D: on Windows, /media/willem/... on Ubuntu).
When I upgraded to 17, this device became more difficult to deal with. Many of the options in gparted are now greyed out for this device, and mounting has a new set of challenges. I can mount via:
sudo mount /dev/sda1 /dos
But now only root is able to write to this drive. Attempting to change ownership via:
sudo chown -R willem:willem /dos
results in a set of errors:
changing ownership of '/dos': Operation not permitted
changing ownership of '/dos/$RECYCLE.BIN': Operation not permitted
...
I can read and modify files on this device as root but non-root users have only read permissions. All files creates by root on this drive have permissions set as 755. Trying:
sudo chmod 644 file.txt
does not change the permissions away from 755 but does not raise errors either.
Any suggestions for how to mount/configure this secondary drive properly?
Update:
Updating /etc/fstab
settings from this post now allows all users read/write access to the SATA drive. Files created with Ubuntu are readable but not writeable in Windows. Files created in Windows are readable and writeable in Ubuntu. This is such a minor inconvenience that it's hardly worth bothering with. If there is a more elegant solution, or insight into why it suddenly changed when updating to Ubuntu 17, please let me know. Otherwise I'll close this thread out...
permissions hard-drive 17.10 fstab automount
closed as too broad by David Foerster, Eric Carvalho, waltinator, user68186, Byte Commander Mar 17 at 20:18
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
add a comment |Â
up vote
1
down vote
favorite
I am on a dual boot machine and recently upgraded from Ubuntu 16 to Ubuntu 17. I have a 1 TB FAT32 SATA drive that was shared with Windows on Ubuntu 16 (D: on Windows, /media/willem/... on Ubuntu).
When I upgraded to 17, this device became more difficult to deal with. Many of the options in gparted are now greyed out for this device, and mounting has a new set of challenges. I can mount via:
sudo mount /dev/sda1 /dos
But now only root is able to write to this drive. Attempting to change ownership via:
sudo chown -R willem:willem /dos
results in a set of errors:
changing ownership of '/dos': Operation not permitted
changing ownership of '/dos/$RECYCLE.BIN': Operation not permitted
...
I can read and modify files on this device as root but non-root users have only read permissions. All files creates by root on this drive have permissions set as 755. Trying:
sudo chmod 644 file.txt
does not change the permissions away from 755 but does not raise errors either.
Any suggestions for how to mount/configure this secondary drive properly?
Update:
Updating /etc/fstab
settings from this post now allows all users read/write access to the SATA drive. Files created with Ubuntu are readable but not writeable in Windows. Files created in Windows are readable and writeable in Ubuntu. This is such a minor inconvenience that it's hardly worth bothering with. If there is a more elegant solution, or insight into why it suddenly changed when updating to Ubuntu 17, please let me know. Otherwise I'll close this thread out...
permissions hard-drive 17.10 fstab automount
closed as too broad by David Foerster, Eric Carvalho, waltinator, user68186, Byte Commander Mar 17 at 20:18
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
Welcome to Ask Ubuntu! Your issue appears to be two-fold: (1) You can't mount the NTFS partition the same way as before any longer. Could you please edit your question to explain how exactly you tried to do that, what happened instead. Please include all encountered warning or error messages verbatim and entirely. (2) You can't set permissions or ownership on the NTFS partition. Both of them are solvable but they're independent (albeit related) issues. â¦
â David Foerster
Feb 25 at 9:21
WeâÂÂre sorry, but Ask Ubuntu is not a forum, but a Question & Answer site: it works best if you ask one question, so you can receive one answer. When you ask multiple questions, you need to find one expert versed in multiple areas, which becomes unlikelier the more questions you put into, well, one question! ;-) So please, split up your question into multiple questions and drop me a comment so I can answer one of your questions.
â David Foerster
Feb 25 at 9:21
1
Possible duplicate of Mount NTFS partition at startup, with non-root user as owner
â user68186
Mar 16 at 16:04
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I am on a dual boot machine and recently upgraded from Ubuntu 16 to Ubuntu 17. I have a 1 TB FAT32 SATA drive that was shared with Windows on Ubuntu 16 (D: on Windows, /media/willem/... on Ubuntu).
When I upgraded to 17, this device became more difficult to deal with. Many of the options in gparted are now greyed out for this device, and mounting has a new set of challenges. I can mount via:
sudo mount /dev/sda1 /dos
But now only root is able to write to this drive. Attempting to change ownership via:
sudo chown -R willem:willem /dos
results in a set of errors:
changing ownership of '/dos': Operation not permitted
changing ownership of '/dos/$RECYCLE.BIN': Operation not permitted
...
I can read and modify files on this device as root but non-root users have only read permissions. All files creates by root on this drive have permissions set as 755. Trying:
sudo chmod 644 file.txt
does not change the permissions away from 755 but does not raise errors either.
Any suggestions for how to mount/configure this secondary drive properly?
Update:
Updating /etc/fstab
settings from this post now allows all users read/write access to the SATA drive. Files created with Ubuntu are readable but not writeable in Windows. Files created in Windows are readable and writeable in Ubuntu. This is such a minor inconvenience that it's hardly worth bothering with. If there is a more elegant solution, or insight into why it suddenly changed when updating to Ubuntu 17, please let me know. Otherwise I'll close this thread out...
permissions hard-drive 17.10 fstab automount
I am on a dual boot machine and recently upgraded from Ubuntu 16 to Ubuntu 17. I have a 1 TB FAT32 SATA drive that was shared with Windows on Ubuntu 16 (D: on Windows, /media/willem/... on Ubuntu).
When I upgraded to 17, this device became more difficult to deal with. Many of the options in gparted are now greyed out for this device, and mounting has a new set of challenges. I can mount via:
sudo mount /dev/sda1 /dos
But now only root is able to write to this drive. Attempting to change ownership via:
sudo chown -R willem:willem /dos
results in a set of errors:
changing ownership of '/dos': Operation not permitted
changing ownership of '/dos/$RECYCLE.BIN': Operation not permitted
...
I can read and modify files on this device as root but non-root users have only read permissions. All files creates by root on this drive have permissions set as 755. Trying:
sudo chmod 644 file.txt
does not change the permissions away from 755 but does not raise errors either.
Any suggestions for how to mount/configure this secondary drive properly?
Update:
Updating /etc/fstab
settings from this post now allows all users read/write access to the SATA drive. Files created with Ubuntu are readable but not writeable in Windows. Files created in Windows are readable and writeable in Ubuntu. This is such a minor inconvenience that it's hardly worth bothering with. If there is a more elegant solution, or insight into why it suddenly changed when updating to Ubuntu 17, please let me know. Otherwise I'll close this thread out...
permissions hard-drive 17.10 fstab automount
permissions hard-drive 17.10 fstab automount
edited Feb 25 at 9:03
Drakonoved
7421515
7421515
asked Feb 25 at 6:24
willem
64
64
closed as too broad by David Foerster, Eric Carvalho, waltinator, user68186, Byte Commander Mar 17 at 20:18
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
closed as too broad by David Foerster, Eric Carvalho, waltinator, user68186, Byte Commander Mar 17 at 20:18
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
Welcome to Ask Ubuntu! Your issue appears to be two-fold: (1) You can't mount the NTFS partition the same way as before any longer. Could you please edit your question to explain how exactly you tried to do that, what happened instead. Please include all encountered warning or error messages verbatim and entirely. (2) You can't set permissions or ownership on the NTFS partition. Both of them are solvable but they're independent (albeit related) issues. â¦
â David Foerster
Feb 25 at 9:21
WeâÂÂre sorry, but Ask Ubuntu is not a forum, but a Question & Answer site: it works best if you ask one question, so you can receive one answer. When you ask multiple questions, you need to find one expert versed in multiple areas, which becomes unlikelier the more questions you put into, well, one question! ;-) So please, split up your question into multiple questions and drop me a comment so I can answer one of your questions.
â David Foerster
Feb 25 at 9:21
1
Possible duplicate of Mount NTFS partition at startup, with non-root user as owner
â user68186
Mar 16 at 16:04
add a comment |Â
Welcome to Ask Ubuntu! Your issue appears to be two-fold: (1) You can't mount the NTFS partition the same way as before any longer. Could you please edit your question to explain how exactly you tried to do that, what happened instead. Please include all encountered warning or error messages verbatim and entirely. (2) You can't set permissions or ownership on the NTFS partition. Both of them are solvable but they're independent (albeit related) issues. â¦
â David Foerster
Feb 25 at 9:21
WeâÂÂre sorry, but Ask Ubuntu is not a forum, but a Question & Answer site: it works best if you ask one question, so you can receive one answer. When you ask multiple questions, you need to find one expert versed in multiple areas, which becomes unlikelier the more questions you put into, well, one question! ;-) So please, split up your question into multiple questions and drop me a comment so I can answer one of your questions.
â David Foerster
Feb 25 at 9:21
1
Possible duplicate of Mount NTFS partition at startup, with non-root user as owner
â user68186
Mar 16 at 16:04
Welcome to Ask Ubuntu! Your issue appears to be two-fold: (1) You can't mount the NTFS partition the same way as before any longer. Could you please edit your question to explain how exactly you tried to do that, what happened instead. Please include all encountered warning or error messages verbatim and entirely. (2) You can't set permissions or ownership on the NTFS partition. Both of them are solvable but they're independent (albeit related) issues. â¦
â David Foerster
Feb 25 at 9:21
Welcome to Ask Ubuntu! Your issue appears to be two-fold: (1) You can't mount the NTFS partition the same way as before any longer. Could you please edit your question to explain how exactly you tried to do that, what happened instead. Please include all encountered warning or error messages verbatim and entirely. (2) You can't set permissions or ownership on the NTFS partition. Both of them are solvable but they're independent (albeit related) issues. â¦
â David Foerster
Feb 25 at 9:21
WeâÂÂre sorry, but Ask Ubuntu is not a forum, but a Question & Answer site: it works best if you ask one question, so you can receive one answer. When you ask multiple questions, you need to find one expert versed in multiple areas, which becomes unlikelier the more questions you put into, well, one question! ;-) So please, split up your question into multiple questions and drop me a comment so I can answer one of your questions.
â David Foerster
Feb 25 at 9:21
WeâÂÂre sorry, but Ask Ubuntu is not a forum, but a Question & Answer site: it works best if you ask one question, so you can receive one answer. When you ask multiple questions, you need to find one expert versed in multiple areas, which becomes unlikelier the more questions you put into, well, one question! ;-) So please, split up your question into multiple questions and drop me a comment so I can answer one of your questions.
â David Foerster
Feb 25 at 9:21
1
1
Possible duplicate of Mount NTFS partition at startup, with non-root user as owner
â user68186
Mar 16 at 16:04
Possible duplicate of Mount NTFS partition at startup, with non-root user as owner
â user68186
Mar 16 at 16:04
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
accepted
I was able to mount this drive with the proper permissions by formatting the drive to NTFS from Windows (was FAT32) and then adding the following line to /etc/fstab, inspired from this post:
/dev/sda1 /media/dos ntfs nls=iso8859-1,permissions,users,auto,exec
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
I was able to mount this drive with the proper permissions by formatting the drive to NTFS from Windows (was FAT32) and then adding the following line to /etc/fstab, inspired from this post:
/dev/sda1 /media/dos ntfs nls=iso8859-1,permissions,users,auto,exec
add a comment |Â
up vote
0
down vote
accepted
I was able to mount this drive with the proper permissions by formatting the drive to NTFS from Windows (was FAT32) and then adding the following line to /etc/fstab, inspired from this post:
/dev/sda1 /media/dos ntfs nls=iso8859-1,permissions,users,auto,exec
add a comment |Â
up vote
0
down vote
accepted
up vote
0
down vote
accepted
I was able to mount this drive with the proper permissions by formatting the drive to NTFS from Windows (was FAT32) and then adding the following line to /etc/fstab, inspired from this post:
/dev/sda1 /media/dos ntfs nls=iso8859-1,permissions,users,auto,exec
I was able to mount this drive with the proper permissions by formatting the drive to NTFS from Windows (was FAT32) and then adding the following line to /etc/fstab, inspired from this post:
/dev/sda1 /media/dos ntfs nls=iso8859-1,permissions,users,auto,exec
answered Feb 25 at 16:38
willem
64
64
add a comment |Â
add a comment |Â
Welcome to Ask Ubuntu! Your issue appears to be two-fold: (1) You can't mount the NTFS partition the same way as before any longer. Could you please edit your question to explain how exactly you tried to do that, what happened instead. Please include all encountered warning or error messages verbatim and entirely. (2) You can't set permissions or ownership on the NTFS partition. Both of them are solvable but they're independent (albeit related) issues. â¦
â David Foerster
Feb 25 at 9:21
WeâÂÂre sorry, but Ask Ubuntu is not a forum, but a Question & Answer site: it works best if you ask one question, so you can receive one answer. When you ask multiple questions, you need to find one expert versed in multiple areas, which becomes unlikelier the more questions you put into, well, one question! ;-) So please, split up your question into multiple questions and drop me a comment so I can answer one of your questions.
â David Foerster
Feb 25 at 9:21
1
Possible duplicate of Mount NTFS partition at startup, with non-root user as owner
â user68186
Mar 16 at 16:04