LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 11-14-2010, 08:44 AM   #16
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208

Quote:
Originally Posted by jay73 View Post
Reformatting a partition typically discards any write permissions you had before.
I don't understand. AFAIK (since reformatting deleted any files) the only permissions are the ones set by the mount command which changes the permissions on the mount point directory if necessary (they are restored on unmounting).

AFAIK the permissions set by the mount command are derived from the command line and/or fstab and not from the file system itself which is permissions-agnostic.

Have I misunderstood?
 
Old 11-14-2010, 11:00 AM   #17
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
The point is that a reformatted partition is owned by root; given default 755 permissions, only root has read (4), write (2) and execute (1) permissions; the group owner and others have only read(4) and execute(1) permissions. If you use chown to promote a regular user, (s)he acquires all three types of permission.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Mounting ext4 partition rusyd Gentoo 3 08-22-2010 02:09 AM
[SOLVED] Space available on ext4 partition jbcoats Linux - General 2 05-15-2010 03:27 AM
ext4 and / partition Pedroski Linux - Hardware 7 11-04-2009 07:44 PM
Ext4 partition corrupted by resized NTFS Vista C:\ partition? graviton-boson Linux - Newbie 2 03-16-2009 01:26 PM
partition formatted on each new installation? timsch75 Linux - Newbie 2 03-01-2004 11:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 10:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration