Changing Partition Permissions Problem

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Fred

Re: Changing Partition Permissions Problem

Post by Fred »

mintuser1000,

You may want to refer to the post below about permissions.

http://forums.linuxmint.com/viewtopic.p ... wn#p158834

Fred
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
optimize me

Re: Changing Partition Permissions Problem

Post by optimize me »

You must've missed something. Read it again.

It's because you don't own the folder.
Fred

Re: Changing Partition Permissions Problem

Post by Fred »

mintuser1000,

I know you are frustrated, but try to keep an open mind. The information you want is indeed in the post I referenced. I'll give you a hint. Look closely at the part about setting ownership and don't modify the way I have the commands structured. They are correct. :-)

Fred
optimize me

Re: Changing Partition Permissions Problem

Post by optimize me »

mintuser1000 wrote:I don't know what user to use in chmod. I don't know what group to use. All I want to do is change it so I can use it with Live Mint to download files. You example assumes I know what user and group to put in the chmod command. Sorry, I have no idea what to put in there.
Fourth result: http://tinyurl.com/nz9vjz
mintuser1000 wrote:All I know is that it's been two days of unproductivity because I can't find a tutorial on google that is competent at explaining the theory behind unix permissions.
First result (but really every result on the first page is more than adequate): http://tinyurl.com/dnjkeo

Remember, though: As stated in Fred's post, the very first step is to change ownership of the file/folder in question.
altair4
Level 20
Level 20
Posts: 11453
Joined: Tue Feb 03, 2009 10:27 am

Re: Changing Partition Permissions Problem

Post by altair4 »

I've been in a confused state for about 2 days now so if I just don't understand the problem please forgive me :wink:

This is what I did:

Boot to Mint Live CD
Double click "Computer" on the desktop
Double Click COMMON ( this is the label of one of my partitions on that computer )

This automatically mounts COMMON to /media/COMMON
Forgetting for a moment what "ls -l /media/COMMON says about it, if you go into nautilus right click /media/COMMON, then Properties, then Permissions you get this:

Owner: Mint - Live session user
Folder Access: Can Create and Delete files.

So I opened up Firefox , found something small to download and saved it to /media/COMMON.

What am I missing?
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
optimize me

Re: Changing Partition Permissions Problem

Post by optimize me »

So, you mean to say that you changed ownership of the file/folder in question?

Did you, by any chance, do that with the chown command? The same chown command Fred talks about as being step number one in his permissions post?
Fred wrote:First ownership. This is an important setting, as it determines who owns and therefore controls the file/folder. We use the "chown" command for this. Changing/setting ownership requires root privileges. Example for a folder:

sudo chown -R fred:fredgrp /home/fred/Data

sudo gives us root privileges.
chown is the ownership command.
-R is the recursive option, to set the entire folder tree the same way.
fred:fredgrp is the owner and group to be set.
/home/fred/Data is the path to the folder tree we are setting.
And you say you figured all that out by yourself, huh?
Fred

Re: Changing Partition Permissions Problem

Post by Fred »

mintuser1000,

I don't guess it matters at this point, if you are happy with the outcome, but partitions don't have a root or permissions. A partition is just a chunk of memory, virtual or real. Only files and folders have permissions when used in Linux file systems, not the partition itself. As far as a partition root, I have no idea what you think that might be.

By-the-way, running from the live CD, you can't permanently change the permissions of the mount point. The live CD is not writable. What you can do is use the -R option, as I showed you in the commands I referenced for you, to make the folder trees and files on the partition you have mounted consistent and recognized by the live cd.

Confusion reigns. :-)

Fred
Locked

Return to “Beginner Questions”