How can I change permissions on external drives?
![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
24
down vote
favorite
I wanted to change permissions on my external drives that are automounted however I have tried by sudo nautilus and then going to gui and permissions and changing it however it does not let me.
I ran the ls -l and get
drwx------ 1 xbmc xbmc
the gui shows below.
owner xbmc
folder access create and delete files
file access ---
Group xbmc
folder access none
file access ---
others
folder access none
file access ---
how can I change it so that everyone has permission to access the drive and ALL folders/files inside of it. I am trying to get plexmedia server running and I cant see my drives via the webpage manage to add it to my source to be able to stream my content.
I want to change the "others" access so that I can access all my drives on the /media path to get read and write for all my folders from anywhere.
you can see my drives that are mounted here (external drives are #18,19,20) http://paste2.org/p/1754386
permissions usb-drive files fat32
add a comment |Â
up vote
24
down vote
favorite
I wanted to change permissions on my external drives that are automounted however I have tried by sudo nautilus and then going to gui and permissions and changing it however it does not let me.
I ran the ls -l and get
drwx------ 1 xbmc xbmc
the gui shows below.
owner xbmc
folder access create and delete files
file access ---
Group xbmc
folder access none
file access ---
others
folder access none
file access ---
how can I change it so that everyone has permission to access the drive and ALL folders/files inside of it. I am trying to get plexmedia server running and I cant see my drives via the webpage manage to add it to my source to be able to stream my content.
I want to change the "others" access so that I can access all my drives on the /media path to get read and write for all my folders from anywhere.
you can see my drives that are mounted here (external drives are #18,19,20) http://paste2.org/p/1754386
permissions usb-drive files fat32
add a comment |Â
up vote
24
down vote
favorite
up vote
24
down vote
favorite
I wanted to change permissions on my external drives that are automounted however I have tried by sudo nautilus and then going to gui and permissions and changing it however it does not let me.
I ran the ls -l and get
drwx------ 1 xbmc xbmc
the gui shows below.
owner xbmc
folder access create and delete files
file access ---
Group xbmc
folder access none
file access ---
others
folder access none
file access ---
how can I change it so that everyone has permission to access the drive and ALL folders/files inside of it. I am trying to get plexmedia server running and I cant see my drives via the webpage manage to add it to my source to be able to stream my content.
I want to change the "others" access so that I can access all my drives on the /media path to get read and write for all my folders from anywhere.
you can see my drives that are mounted here (external drives are #18,19,20) http://paste2.org/p/1754386
permissions usb-drive files fat32
I wanted to change permissions on my external drives that are automounted however I have tried by sudo nautilus and then going to gui and permissions and changing it however it does not let me.
I ran the ls -l and get
drwx------ 1 xbmc xbmc
the gui shows below.
owner xbmc
folder access create and delete files
file access ---
Group xbmc
folder access none
file access ---
others
folder access none
file access ---
how can I change it so that everyone has permission to access the drive and ALL folders/files inside of it. I am trying to get plexmedia server running and I cant see my drives via the webpage manage to add it to my source to be able to stream my content.
I want to change the "others" access so that I can access all my drives on the /media path to get read and write for all my folders from anywhere.
you can see my drives that are mounted here (external drives are #18,19,20) http://paste2.org/p/1754386
permissions usb-drive files fat32
permissions usb-drive files fat32
edited Nov 2 '11 at 15:27
dpb
4,90911545
4,90911545
asked Nov 2 '11 at 15:13
rflores2323
121113
121113
add a comment |Â
add a comment |Â
6 Answers
6
active
oldest
votes
up vote
10
down vote
After I purchased a new computer, I needed to get my thumb drives working on it.
Here's the procedure:
Open "Disk Utility", and look for your device, and click on it. This will let you be sure you know the correct filesystem type and device name for it. In my case, it was 'ext4' and '/dev/sdb1' respectively. Next: Decide what you want to call your thumb drive. I called mine 'USB16-C', but you choose your own name. Before closing Disk Utility, click unmount. And USER should be your login name.
Then run steps 2 to 4 in a terminal window.
sudo mkdir -p /media/USB16-C
sudo mount -t ext4 -o rw /dev/sdb1 /media/USB16-C
sudo chown -R USER:USER /media/USB16-C
Now my thumb drive is accessible, and it automatically connects when I reboot too.
This answer restricts needlessly to Ext4. And the ownership on mount points aren't stable this way (you'll have to edit/etc/fstab
to do this properly).
â gertvdijk
Jul 15 '13 at 8:43
2
Usechmod 1777 [MOUNTPOINT]
instead ot that chown, so it works for all users. The 1 is supposed to prevent other users from deleting your files.
â basic6
Oct 27 '17 at 9:31
add a comment |Â
up vote
5
down vote
The answer below is actual only for obsolete releases. Modern releases such as 14.04 LTS and newer do not have PySDM package.
I was having a hard time solving the problem and this solution worked for me.
PySDM is a Storage Device Manager that allows full customization of hard disk mountpoints without manually access to fstab.
It also allows the creation of udev rules for dynamic configuration of storage devices
- install physical storage device manager:
sudo apt-get install pysdm
- open storage device manger:
sudo pysdm
- choose your required drives
- press assist
- uncheck open as read only
- check
owner user of file system
and write your username:remon
- press ok
- press apply
- umount Drive
- mount it
Note:
if you can't change files to binary executable, go to special files and check permit execution of files as binaries, and go to step 7.
this worked great for my issue. I have been fighting this for some time and even updating privledges from console/root didnt always help. using the app to set things up has worked since.
â Kendrick
Sep 2 '12 at 18:32
2
sudo apt-get install pysdm ;;; E: Unable to locate package pysdm
â user391339
Dec 11 '14 at 19:14
@user391339 According to this answer pysdm is now obsolete and should no longer be used.
â Maximillian Laumeister
Aug 30 '15 at 0:13
add a comment |Â
up vote
3
down vote
By default, I think it mounts it as the logged in desktop user. You will want to mount instead through the "mount" command or in he fstab:
At command line:
sudo mkdir /mnt/sdd1
Edit /etc/fstab and add to the end:
/dev/sdd1 /mnt/sdd1 fuseblk defaults,umask=022 0 0
Then at the command line (to process the /etc/fstab file again):
mount -a
There are a lot of ways to do this, more intelligent ways, etc, but the long story is that you can't get the behavior you want with chmod (especially if the filesystem is a FAT filesystem that has no native concept of permissions).
If you are interested the mount man page gives a lot of information on the subject.
That doesnt always work even if it is true that it is mounte by the user. ubuntu has gotten confused several times on perms of my shares. I have set 774 and had the users group added to the folders and still nothing worked quite right if ubuntu automounted it.
â Kendrick
Sep 2 '12 at 18:34
Sorry, I don't understand what you are saying. The answer I gave is a correct answer (one of many possible solutions) given the question. If you are having a problem, post a new question. If you link to it here in a comment, I can help you out over there. Good luck!
â dpb
Sep 18 '12 at 19:21
add a comment |Â
up vote
3
down vote
If your external drive is portable HDD or flash drive then it is good option to edit fstab. Because it is permanent and your drive will not connect always. If you want to mount your drive with write permission then unmount your drive first (right click on drive and unmount) or:
umount '/media/Expansion Drive'
Now mount with write permission:
mount -o rw /dev/sdXY /media/External_drive
You must create the directory first:
sudo mkdir -p /media/External_drive
Hope this will help.
add a comment |Â
up vote
0
down vote
@VinayKrPrajapat Your solution worked but it should be specified that you should select the specific drive path not all at once as that may effect your boot up.
Example:
cd /mnt/sdc
sudo chmod -R a+rx *
Just selecting /media or /mnt would effect all drives including the boot disk which could cause problems.
add a comment |Â
up vote
-1
down vote
Simplest one is here you only need to go to the media folder and change permissions. Follow below to commands.
cd /media/
sudo chmod -R a+rX *
And it's done.
Tried that and it just about broke my ability to boot. Can I reverse the command?
â Christopher
Feb 17 '17 at 19:17
add a comment |Â
6 Answers
6
active
oldest
votes
6 Answers
6
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
10
down vote
After I purchased a new computer, I needed to get my thumb drives working on it.
Here's the procedure:
Open "Disk Utility", and look for your device, and click on it. This will let you be sure you know the correct filesystem type and device name for it. In my case, it was 'ext4' and '/dev/sdb1' respectively. Next: Decide what you want to call your thumb drive. I called mine 'USB16-C', but you choose your own name. Before closing Disk Utility, click unmount. And USER should be your login name.
Then run steps 2 to 4 in a terminal window.
sudo mkdir -p /media/USB16-C
sudo mount -t ext4 -o rw /dev/sdb1 /media/USB16-C
sudo chown -R USER:USER /media/USB16-C
Now my thumb drive is accessible, and it automatically connects when I reboot too.
This answer restricts needlessly to Ext4. And the ownership on mount points aren't stable this way (you'll have to edit/etc/fstab
to do this properly).
â gertvdijk
Jul 15 '13 at 8:43
2
Usechmod 1777 [MOUNTPOINT]
instead ot that chown, so it works for all users. The 1 is supposed to prevent other users from deleting your files.
â basic6
Oct 27 '17 at 9:31
add a comment |Â
up vote
10
down vote
After I purchased a new computer, I needed to get my thumb drives working on it.
Here's the procedure:
Open "Disk Utility", and look for your device, and click on it. This will let you be sure you know the correct filesystem type and device name for it. In my case, it was 'ext4' and '/dev/sdb1' respectively. Next: Decide what you want to call your thumb drive. I called mine 'USB16-C', but you choose your own name. Before closing Disk Utility, click unmount. And USER should be your login name.
Then run steps 2 to 4 in a terminal window.
sudo mkdir -p /media/USB16-C
sudo mount -t ext4 -o rw /dev/sdb1 /media/USB16-C
sudo chown -R USER:USER /media/USB16-C
Now my thumb drive is accessible, and it automatically connects when I reboot too.
This answer restricts needlessly to Ext4. And the ownership on mount points aren't stable this way (you'll have to edit/etc/fstab
to do this properly).
â gertvdijk
Jul 15 '13 at 8:43
2
Usechmod 1777 [MOUNTPOINT]
instead ot that chown, so it works for all users. The 1 is supposed to prevent other users from deleting your files.
â basic6
Oct 27 '17 at 9:31
add a comment |Â
up vote
10
down vote
up vote
10
down vote
After I purchased a new computer, I needed to get my thumb drives working on it.
Here's the procedure:
Open "Disk Utility", and look for your device, and click on it. This will let you be sure you know the correct filesystem type and device name for it. In my case, it was 'ext4' and '/dev/sdb1' respectively. Next: Decide what you want to call your thumb drive. I called mine 'USB16-C', but you choose your own name. Before closing Disk Utility, click unmount. And USER should be your login name.
Then run steps 2 to 4 in a terminal window.
sudo mkdir -p /media/USB16-C
sudo mount -t ext4 -o rw /dev/sdb1 /media/USB16-C
sudo chown -R USER:USER /media/USB16-C
Now my thumb drive is accessible, and it automatically connects when I reboot too.
After I purchased a new computer, I needed to get my thumb drives working on it.
Here's the procedure:
Open "Disk Utility", and look for your device, and click on it. This will let you be sure you know the correct filesystem type and device name for it. In my case, it was 'ext4' and '/dev/sdb1' respectively. Next: Decide what you want to call your thumb drive. I called mine 'USB16-C', but you choose your own name. Before closing Disk Utility, click unmount. And USER should be your login name.
Then run steps 2 to 4 in a terminal window.
sudo mkdir -p /media/USB16-C
sudo mount -t ext4 -o rw /dev/sdb1 /media/USB16-C
sudo chown -R USER:USER /media/USB16-C
Now my thumb drive is accessible, and it automatically connects when I reboot too.
edited Jul 15 '13 at 8:41
answered Apr 3 '13 at 1:49
![](https://i.stack.imgur.com/StVFy.jpg?s=32&g=1)
![](https://i.stack.imgur.com/StVFy.jpg?s=32&g=1)
Clay Ferguson
34637
34637
This answer restricts needlessly to Ext4. And the ownership on mount points aren't stable this way (you'll have to edit/etc/fstab
to do this properly).
â gertvdijk
Jul 15 '13 at 8:43
2
Usechmod 1777 [MOUNTPOINT]
instead ot that chown, so it works for all users. The 1 is supposed to prevent other users from deleting your files.
â basic6
Oct 27 '17 at 9:31
add a comment |Â
This answer restricts needlessly to Ext4. And the ownership on mount points aren't stable this way (you'll have to edit/etc/fstab
to do this properly).
â gertvdijk
Jul 15 '13 at 8:43
2
Usechmod 1777 [MOUNTPOINT]
instead ot that chown, so it works for all users. The 1 is supposed to prevent other users from deleting your files.
â basic6
Oct 27 '17 at 9:31
This answer restricts needlessly to Ext4. And the ownership on mount points aren't stable this way (you'll have to edit
/etc/fstab
to do this properly).â gertvdijk
Jul 15 '13 at 8:43
This answer restricts needlessly to Ext4. And the ownership on mount points aren't stable this way (you'll have to edit
/etc/fstab
to do this properly).â gertvdijk
Jul 15 '13 at 8:43
2
2
Use
chmod 1777 [MOUNTPOINT]
instead ot that chown, so it works for all users. The 1 is supposed to prevent other users from deleting your files.â basic6
Oct 27 '17 at 9:31
Use
chmod 1777 [MOUNTPOINT]
instead ot that chown, so it works for all users. The 1 is supposed to prevent other users from deleting your files.â basic6
Oct 27 '17 at 9:31
add a comment |Â
up vote
5
down vote
The answer below is actual only for obsolete releases. Modern releases such as 14.04 LTS and newer do not have PySDM package.
I was having a hard time solving the problem and this solution worked for me.
PySDM is a Storage Device Manager that allows full customization of hard disk mountpoints without manually access to fstab.
It also allows the creation of udev rules for dynamic configuration of storage devices
- install physical storage device manager:
sudo apt-get install pysdm
- open storage device manger:
sudo pysdm
- choose your required drives
- press assist
- uncheck open as read only
- check
owner user of file system
and write your username:remon
- press ok
- press apply
- umount Drive
- mount it
Note:
if you can't change files to binary executable, go to special files and check permit execution of files as binaries, and go to step 7.
this worked great for my issue. I have been fighting this for some time and even updating privledges from console/root didnt always help. using the app to set things up has worked since.
â Kendrick
Sep 2 '12 at 18:32
2
sudo apt-get install pysdm ;;; E: Unable to locate package pysdm
â user391339
Dec 11 '14 at 19:14
@user391339 According to this answer pysdm is now obsolete and should no longer be used.
â Maximillian Laumeister
Aug 30 '15 at 0:13
add a comment |Â
up vote
5
down vote
The answer below is actual only for obsolete releases. Modern releases such as 14.04 LTS and newer do not have PySDM package.
I was having a hard time solving the problem and this solution worked for me.
PySDM is a Storage Device Manager that allows full customization of hard disk mountpoints without manually access to fstab.
It also allows the creation of udev rules for dynamic configuration of storage devices
- install physical storage device manager:
sudo apt-get install pysdm
- open storage device manger:
sudo pysdm
- choose your required drives
- press assist
- uncheck open as read only
- check
owner user of file system
and write your username:remon
- press ok
- press apply
- umount Drive
- mount it
Note:
if you can't change files to binary executable, go to special files and check permit execution of files as binaries, and go to step 7.
this worked great for my issue. I have been fighting this for some time and even updating privledges from console/root didnt always help. using the app to set things up has worked since.
â Kendrick
Sep 2 '12 at 18:32
2
sudo apt-get install pysdm ;;; E: Unable to locate package pysdm
â user391339
Dec 11 '14 at 19:14
@user391339 According to this answer pysdm is now obsolete and should no longer be used.
â Maximillian Laumeister
Aug 30 '15 at 0:13
add a comment |Â
up vote
5
down vote
up vote
5
down vote
The answer below is actual only for obsolete releases. Modern releases such as 14.04 LTS and newer do not have PySDM package.
I was having a hard time solving the problem and this solution worked for me.
PySDM is a Storage Device Manager that allows full customization of hard disk mountpoints without manually access to fstab.
It also allows the creation of udev rules for dynamic configuration of storage devices
- install physical storage device manager:
sudo apt-get install pysdm
- open storage device manger:
sudo pysdm
- choose your required drives
- press assist
- uncheck open as read only
- check
owner user of file system
and write your username:remon
- press ok
- press apply
- umount Drive
- mount it
Note:
if you can't change files to binary executable, go to special files and check permit execution of files as binaries, and go to step 7.
The answer below is actual only for obsolete releases. Modern releases such as 14.04 LTS and newer do not have PySDM package.
I was having a hard time solving the problem and this solution worked for me.
PySDM is a Storage Device Manager that allows full customization of hard disk mountpoints without manually access to fstab.
It also allows the creation of udev rules for dynamic configuration of storage devices
- install physical storage device manager:
sudo apt-get install pysdm
- open storage device manger:
sudo pysdm
- choose your required drives
- press assist
- uncheck open as read only
- check
owner user of file system
and write your username:remon
- press ok
- press apply
- umount Drive
- mount it
Note:
if you can't change files to binary executable, go to special files and check permit execution of files as binaries, and go to step 7.
edited Mar 23 at 14:55
N0rbert
16.4k33376
16.4k33376
answered Mar 18 '12 at 13:50
Remon
7711
7711
this worked great for my issue. I have been fighting this for some time and even updating privledges from console/root didnt always help. using the app to set things up has worked since.
â Kendrick
Sep 2 '12 at 18:32
2
sudo apt-get install pysdm ;;; E: Unable to locate package pysdm
â user391339
Dec 11 '14 at 19:14
@user391339 According to this answer pysdm is now obsolete and should no longer be used.
â Maximillian Laumeister
Aug 30 '15 at 0:13
add a comment |Â
this worked great for my issue. I have been fighting this for some time and even updating privledges from console/root didnt always help. using the app to set things up has worked since.
â Kendrick
Sep 2 '12 at 18:32
2
sudo apt-get install pysdm ;;; E: Unable to locate package pysdm
â user391339
Dec 11 '14 at 19:14
@user391339 According to this answer pysdm is now obsolete and should no longer be used.
â Maximillian Laumeister
Aug 30 '15 at 0:13
this worked great for my issue. I have been fighting this for some time and even updating privledges from console/root didnt always help. using the app to set things up has worked since.
â Kendrick
Sep 2 '12 at 18:32
this worked great for my issue. I have been fighting this for some time and even updating privledges from console/root didnt always help. using the app to set things up has worked since.
â Kendrick
Sep 2 '12 at 18:32
2
2
sudo apt-get install pysdm ;;; E: Unable to locate package pysdm
â user391339
Dec 11 '14 at 19:14
sudo apt-get install pysdm ;;; E: Unable to locate package pysdm
â user391339
Dec 11 '14 at 19:14
@user391339 According to this answer pysdm is now obsolete and should no longer be used.
â Maximillian Laumeister
Aug 30 '15 at 0:13
@user391339 According to this answer pysdm is now obsolete and should no longer be used.
â Maximillian Laumeister
Aug 30 '15 at 0:13
add a comment |Â
up vote
3
down vote
By default, I think it mounts it as the logged in desktop user. You will want to mount instead through the "mount" command or in he fstab:
At command line:
sudo mkdir /mnt/sdd1
Edit /etc/fstab and add to the end:
/dev/sdd1 /mnt/sdd1 fuseblk defaults,umask=022 0 0
Then at the command line (to process the /etc/fstab file again):
mount -a
There are a lot of ways to do this, more intelligent ways, etc, but the long story is that you can't get the behavior you want with chmod (especially if the filesystem is a FAT filesystem that has no native concept of permissions).
If you are interested the mount man page gives a lot of information on the subject.
That doesnt always work even if it is true that it is mounte by the user. ubuntu has gotten confused several times on perms of my shares. I have set 774 and had the users group added to the folders and still nothing worked quite right if ubuntu automounted it.
â Kendrick
Sep 2 '12 at 18:34
Sorry, I don't understand what you are saying. The answer I gave is a correct answer (one of many possible solutions) given the question. If you are having a problem, post a new question. If you link to it here in a comment, I can help you out over there. Good luck!
â dpb
Sep 18 '12 at 19:21
add a comment |Â
up vote
3
down vote
By default, I think it mounts it as the logged in desktop user. You will want to mount instead through the "mount" command or in he fstab:
At command line:
sudo mkdir /mnt/sdd1
Edit /etc/fstab and add to the end:
/dev/sdd1 /mnt/sdd1 fuseblk defaults,umask=022 0 0
Then at the command line (to process the /etc/fstab file again):
mount -a
There are a lot of ways to do this, more intelligent ways, etc, but the long story is that you can't get the behavior you want with chmod (especially if the filesystem is a FAT filesystem that has no native concept of permissions).
If you are interested the mount man page gives a lot of information on the subject.
That doesnt always work even if it is true that it is mounte by the user. ubuntu has gotten confused several times on perms of my shares. I have set 774 and had the users group added to the folders and still nothing worked quite right if ubuntu automounted it.
â Kendrick
Sep 2 '12 at 18:34
Sorry, I don't understand what you are saying. The answer I gave is a correct answer (one of many possible solutions) given the question. If you are having a problem, post a new question. If you link to it here in a comment, I can help you out over there. Good luck!
â dpb
Sep 18 '12 at 19:21
add a comment |Â
up vote
3
down vote
up vote
3
down vote
By default, I think it mounts it as the logged in desktop user. You will want to mount instead through the "mount" command or in he fstab:
At command line:
sudo mkdir /mnt/sdd1
Edit /etc/fstab and add to the end:
/dev/sdd1 /mnt/sdd1 fuseblk defaults,umask=022 0 0
Then at the command line (to process the /etc/fstab file again):
mount -a
There are a lot of ways to do this, more intelligent ways, etc, but the long story is that you can't get the behavior you want with chmod (especially if the filesystem is a FAT filesystem that has no native concept of permissions).
If you are interested the mount man page gives a lot of information on the subject.
By default, I think it mounts it as the logged in desktop user. You will want to mount instead through the "mount" command or in he fstab:
At command line:
sudo mkdir /mnt/sdd1
Edit /etc/fstab and add to the end:
/dev/sdd1 /mnt/sdd1 fuseblk defaults,umask=022 0 0
Then at the command line (to process the /etc/fstab file again):
mount -a
There are a lot of ways to do this, more intelligent ways, etc, but the long story is that you can't get the behavior you want with chmod (especially if the filesystem is a FAT filesystem that has no native concept of permissions).
If you are interested the mount man page gives a lot of information on the subject.
answered Nov 2 '11 at 15:25
dpb
4,90911545
4,90911545
That doesnt always work even if it is true that it is mounte by the user. ubuntu has gotten confused several times on perms of my shares. I have set 774 and had the users group added to the folders and still nothing worked quite right if ubuntu automounted it.
â Kendrick
Sep 2 '12 at 18:34
Sorry, I don't understand what you are saying. The answer I gave is a correct answer (one of many possible solutions) given the question. If you are having a problem, post a new question. If you link to it here in a comment, I can help you out over there. Good luck!
â dpb
Sep 18 '12 at 19:21
add a comment |Â
That doesnt always work even if it is true that it is mounte by the user. ubuntu has gotten confused several times on perms of my shares. I have set 774 and had the users group added to the folders and still nothing worked quite right if ubuntu automounted it.
â Kendrick
Sep 2 '12 at 18:34
Sorry, I don't understand what you are saying. The answer I gave is a correct answer (one of many possible solutions) given the question. If you are having a problem, post a new question. If you link to it here in a comment, I can help you out over there. Good luck!
â dpb
Sep 18 '12 at 19:21
That doesnt always work even if it is true that it is mounte by the user. ubuntu has gotten confused several times on perms of my shares. I have set 774 and had the users group added to the folders and still nothing worked quite right if ubuntu automounted it.
â Kendrick
Sep 2 '12 at 18:34
That doesnt always work even if it is true that it is mounte by the user. ubuntu has gotten confused several times on perms of my shares. I have set 774 and had the users group added to the folders and still nothing worked quite right if ubuntu automounted it.
â Kendrick
Sep 2 '12 at 18:34
Sorry, I don't understand what you are saying. The answer I gave is a correct answer (one of many possible solutions) given the question. If you are having a problem, post a new question. If you link to it here in a comment, I can help you out over there. Good luck!
â dpb
Sep 18 '12 at 19:21
Sorry, I don't understand what you are saying. The answer I gave is a correct answer (one of many possible solutions) given the question. If you are having a problem, post a new question. If you link to it here in a comment, I can help you out over there. Good luck!
â dpb
Sep 18 '12 at 19:21
add a comment |Â
up vote
3
down vote
If your external drive is portable HDD or flash drive then it is good option to edit fstab. Because it is permanent and your drive will not connect always. If you want to mount your drive with write permission then unmount your drive first (right click on drive and unmount) or:
umount '/media/Expansion Drive'
Now mount with write permission:
mount -o rw /dev/sdXY /media/External_drive
You must create the directory first:
sudo mkdir -p /media/External_drive
Hope this will help.
add a comment |Â
up vote
3
down vote
If your external drive is portable HDD or flash drive then it is good option to edit fstab. Because it is permanent and your drive will not connect always. If you want to mount your drive with write permission then unmount your drive first (right click on drive and unmount) or:
umount '/media/Expansion Drive'
Now mount with write permission:
mount -o rw /dev/sdXY /media/External_drive
You must create the directory first:
sudo mkdir -p /media/External_drive
Hope this will help.
add a comment |Â
up vote
3
down vote
up vote
3
down vote
If your external drive is portable HDD or flash drive then it is good option to edit fstab. Because it is permanent and your drive will not connect always. If you want to mount your drive with write permission then unmount your drive first (right click on drive and unmount) or:
umount '/media/Expansion Drive'
Now mount with write permission:
mount -o rw /dev/sdXY /media/External_drive
You must create the directory first:
sudo mkdir -p /media/External_drive
Hope this will help.
If your external drive is portable HDD or flash drive then it is good option to edit fstab. Because it is permanent and your drive will not connect always. If you want to mount your drive with write permission then unmount your drive first (right click on drive and unmount) or:
umount '/media/Expansion Drive'
Now mount with write permission:
mount -o rw /dev/sdXY /media/External_drive
You must create the directory first:
sudo mkdir -p /media/External_drive
Hope this will help.
edited Jul 25 '13 at 12:39
![](https://i.stack.imgur.com/UNXE2.png?s=32&g=1)
![](https://i.stack.imgur.com/UNXE2.png?s=32&g=1)
Eric Carvalho
40.1k17109143
40.1k17109143
answered Nov 2 '11 at 15:59
shantanu
4,391104886
4,391104886
add a comment |Â
add a comment |Â
up vote
0
down vote
@VinayKrPrajapat Your solution worked but it should be specified that you should select the specific drive path not all at once as that may effect your boot up.
Example:
cd /mnt/sdc
sudo chmod -R a+rx *
Just selecting /media or /mnt would effect all drives including the boot disk which could cause problems.
add a comment |Â
up vote
0
down vote
@VinayKrPrajapat Your solution worked but it should be specified that you should select the specific drive path not all at once as that may effect your boot up.
Example:
cd /mnt/sdc
sudo chmod -R a+rx *
Just selecting /media or /mnt would effect all drives including the boot disk which could cause problems.
add a comment |Â
up vote
0
down vote
up vote
0
down vote
@VinayKrPrajapat Your solution worked but it should be specified that you should select the specific drive path not all at once as that may effect your boot up.
Example:
cd /mnt/sdc
sudo chmod -R a+rx *
Just selecting /media or /mnt would effect all drives including the boot disk which could cause problems.
@VinayKrPrajapat Your solution worked but it should be specified that you should select the specific drive path not all at once as that may effect your boot up.
Example:
cd /mnt/sdc
sudo chmod -R a+rx *
Just selecting /media or /mnt would effect all drives including the boot disk which could cause problems.
edited Mar 25 at 4:33
answered Mar 24 at 1:58
![](https://lh4.googleusercontent.com/-uz0pVzPQm7k/AAAAAAAAAAI/AAAAAAAADf0/eZvrDzhZX0o/photo.jpg?sz=32)
![](https://lh4.googleusercontent.com/-uz0pVzPQm7k/AAAAAAAAAAI/AAAAAAAADf0/eZvrDzhZX0o/photo.jpg?sz=32)
Mike Maurer
11
11
add a comment |Â
add a comment |Â
up vote
-1
down vote
Simplest one is here you only need to go to the media folder and change permissions. Follow below to commands.
cd /media/
sudo chmod -R a+rX *
And it's done.
Tried that and it just about broke my ability to boot. Can I reverse the command?
â Christopher
Feb 17 '17 at 19:17
add a comment |Â
up vote
-1
down vote
Simplest one is here you only need to go to the media folder and change permissions. Follow below to commands.
cd /media/
sudo chmod -R a+rX *
And it's done.
Tried that and it just about broke my ability to boot. Can I reverse the command?
â Christopher
Feb 17 '17 at 19:17
add a comment |Â
up vote
-1
down vote
up vote
-1
down vote
Simplest one is here you only need to go to the media folder and change permissions. Follow below to commands.
cd /media/
sudo chmod -R a+rX *
And it's done.
Simplest one is here you only need to go to the media folder and change permissions. Follow below to commands.
cd /media/
sudo chmod -R a+rX *
And it's done.
edited Apr 6 '16 at 7:44
techraf
2,75291935
2,75291935
answered Apr 6 '16 at 5:54
VinayKrPrajapat
11
11
Tried that and it just about broke my ability to boot. Can I reverse the command?
â Christopher
Feb 17 '17 at 19:17
add a comment |Â
Tried that and it just about broke my ability to boot. Can I reverse the command?
â Christopher
Feb 17 '17 at 19:17
Tried that and it just about broke my ability to boot. Can I reverse the command?
â Christopher
Feb 17 '17 at 19:17
Tried that and it just about broke my ability to boot. Can I reverse the command?
â Christopher
Feb 17 '17 at 19:17
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%2f74806%2fhow-can-i-change-permissions-on-external-drives%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