can't save to "storage" partition, no permission
I have a 320 GiB HDD with 4 partitions with 1 distro installed on each partition. I also have one large partition for storage.
I can save anything to the large partition because of no permission. How do I get pemission to thie drive? Note: I don't get why it is doing this because I set up a smaller 60 GiB HDD the same way and there were not permission issues. |
You need to give more information.
What filesystem is it on "storage", where is it mounted What are the permissions on the storage mount-dir, including lowerlevel. What groups is your user assigned to. (Any language-freaks outh there - should it be "is" or "are"?) You have 3 distros so you need to go through this on all. |
Quote:
Quote:
Quote:
Funny thing, I only repeated the steps I followed on a 60 GiB drive. I had zero problem saving stuff to the storage partition on that drive. With the success I enjoyed on the 60 GiB drive, I decided to repeat the saems steps, and wind up with a larger storage partition. BUT in this case, I have no permissions. I am wondering, does it matter if I create that partition while boted in one of the distros or if I am boted in the installation medioum on the USB drive? |
Do you have the partition mounted? If so, where?
Quote:
|
Quote:
I don't remember being given any choices during that process that would prevent or grant permission. If memory serves, I am pretty sure that I did the same exact thing when I did this with a 60 gig drive and had no permission issues for saving stuff to the "storage" partition when booted in either of the distros. The 320 GIG drive was used and has major mechanical issues and I am planning to buy a nice new one, but I will want to make sure that when I set up the new one, that I enjoy the same permissions that I have/do with this 60 GIG drive. So, to your point Quote:
Thanks |
Quote:
You indicate you did this previously on another drive. Did you create this data partition during or after the install? Did you have four separate operating systems on the previous drive? So in addition to answering the previous questions which you did not respond to, how did you create the partition? Did you use a LiveCD on a flash drive or CD/DVD? Did you did it from one of the installed Linux systems? The first thing you would need to do is find out what the partition is. Since you have four Linux installs, it would probably be a logical partition so let's use sda6 as an example. You can find this by logging in as root and running the command: fdisk -l(Lower Case Letter L in the command). That will show your partitions and you should be able to identify it by size. Once you know what it is, create a mount point which is basically a directory. For sda6 you would do as root: mkdir /mnt/sda6 Then mount it: mount -t ext4 /dev/sda6 /mnt/sda6 You need to do this for each distribution you have installed. If you want them mounted on boot, you will need entries in each systems /etc/fstab file. |
On the 60 gig, I may have created the additional partitions from the installed distro.
On the 320 gig, I definitely used the live media. Does that make a difference? Also, I don't know how to, or if I am or ever logged in as root. So let me ask this. When I set up the installed version, while in the live media, there was a point during each installation process whn it asked me for a user name and password. Was that a root password or was that just a user? If it was a root password, then am I not logged in as root whenever I log into the computer on boot up? If not, then how do I log in as root? Also, as far as Code:
mkdir /mnt/sda6 Code:
mkdir /mnt/sda6 Thanks much for your responses. |
Quote:
Quote:
Quote:
Quote:
http://www.linuxquestions.org/linux/..._and_explained |
Right, The distros are Ubuntu, Mint(a derivative of Ubuntu), SolydX (a derivative of Mint-Debian), and all use "sudu" followed by the ned to input a pasword.
thanks for the info |
Something occurred to me. I just wanted to make sure we are on the same page. I have no trouble "mounting" the storage drive. I double click on it, and it opens up, and if there were any files in it, I am guessing that I could open them. In fact, if I had opened it prior to running gparted, I would have to choose "unmount" to do anything with it, like delete it, or resize it etc.
So, it looked like most if not all of the advice above is for "mounting" it, when that is not the problem. It just won't let me save anything to it. Is this then, still the same description of tactics to get it where I want it to be? |
Quote:
|
So after getting some advice on another forum, then trying severl scenarios, this is what works.
The storage partition is roughly 200 gig and is at location sda12, so Edit est/fstab by adding the following line Code:
/dev/sda12 /media/ralph/storage ext4 defaults 0 0 to make sure sda12 is mounted Code:
sudo mount -a Code:
sudo chmod 777 /media/ralph/storage Still don't have an answer as to why I did not have to do this with a 60 gig drive I was using. |
Oh My! I just tried my own advice with a new, larger hard drive. As I am adding distros to partitions, I have to edit fstab in each distro to grant permission to the storage drive.
I just found out the hard way the the "/" MUST MUST MUST be at the end of the word "storage" in that last line of code in my previous post. so...run this in terminal to grant permission Code:
sudo chmod 777 /media/(yourname)/storage/ |
All times are GMT -5. The time now is 04:21 PM. |