Page 1 of 1

Re: Changing Partition Permissions Problem

Posted: Fri Jun 26, 2009 3:52 pm
by Fred
mintuser1000,

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

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

Fred

Re: Changing Partition Permissions Problem

Posted: Fri Jun 26, 2009 5:24 pm
by optimize me
You must've missed something. Read it again.

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

Re: Changing Partition Permissions Problem

Posted: Fri Jun 26, 2009 8:42 pm
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

Re: Changing Partition Permissions Problem

Posted: Sat Jun 27, 2009 10:25 am
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.

Re: Changing Partition Permissions Problem

Posted: Sat Jun 27, 2009 10:41 am
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?

Re: Changing Partition Permissions Problem

Posted: Sat Jun 27, 2009 11:23 am
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?

Re: Changing Partition Permissions Problem

Posted: Sat Jun 27, 2009 12:20 pm
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