LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Closed Thread
  Search this Thread
Old 06-23-2014, 01:53 AM   #1
ganesan_p
Member
 
Registered: Jun 2014
Posts: 37

Rep: Reputation: Disabled
partitio0n permission


hi ,
this is ganesh . i tried to change partition permission but i cant able to change it . i have four partition in my cf card . all the partitions are read write permissions .i have to change some partitions are read only but i can't able to do it ..please give solutions ..

i was following this way but not used:

1)chmod -R 444 /partition/path/name
2)chown
3)umask 277
3)change umask inside /etc/profile

please give the solutions....

thanks and regards,
ganesan p
 
Old 06-23-2014, 09:06 AM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 7,332

Rep: Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407
You haven't posted enough detail to get serious help. What partitions? where are they mounted? system files? user files? Put an entry in the /etc/fstab file to make it read-only. Lots of examples online for that.
 
Old 06-23-2014, 09:29 AM   #3
ganesan_p
Member
 
Registered: Jun 2014
Posts: 37

Original Poster
Rep: Reputation: Disabled
hi,
i have four partitions in my pendrive for flashing os. all partitions are read and write permission for oweners(brw-------). i have to change some partitions are read only . but i don't know how to do it please give the solutions.

regards,
ganesan p

---------- Post added 06-23-14 at 08:29 AM ----------

i have already tried this method but it is not working.

i used,
1.chmod 777 partition_path_name
2.chmod -R 777 partition_path_name
3. chmod u+r partition_path_name

after putting this commands i checked the file permission using ls -l command that time only it's telling like changing file permission like br------ .then i restart and checked using ls -l command that time it is showing brw----- .


thanks and regards,
ganesan p
 
Old 06-23-2014, 09:30 AM   #4
ganesan_p
Member
 
Registered: Jun 2014
Posts: 37

Original Poster
Rep: Reputation: Disabled
hi,
my partition like this,
1. ls -lrt


brw------- 1 root root 1, 8 Jun 12 17:44 hd0t77
brw------- 1 root root 1, 7 Jun 12 17:44 hd0t78
brw------- 1 root root 1, 6 Jun 12 17:44 hd0t79
brw------- 1 root root 1, 5 Jun 12 17:44 hd0t8


2. id


uid=0(root) gid=0(root) groups=1(bin),3(sys),4(adm),5(tty)

chmod is working good for my file and directory but it is not working for partitions.

thanks and regards,
ganesan p
 
Old 06-23-2014, 03:42 PM   #5
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 12,446

Rep: Reputation: 3324Reputation: 3324Reputation: 3324Reputation: 3324Reputation: 3324Reputation: 3324Reputation: 3324Reputation: 3324Reputation: 3324Reputation: 3324Reputation: 3324
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

--jeremy
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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] ext4 - permission to create/modify a file without 'delete' permission BeachHead Linux - General 4 06-08-2014 08:34 PM
File & Folder Permission and Ownership permission error in Cloud storage. rhcekumaran Linux - Newbie 3 06-14-2013 05:41 AM
mkdir throws Permission Denied error in a directoy even with root ownership and 777 permission surajchalukya Linux - Security 14 09-03-2012 09:34 AM
group permission the sticky bit permission comes in capital 'S' pkishorenayak Linux - Newbie 1 04-11-2008 06:04 PM
'permission denied" inspite of right permission flags on network drive anirudhvij Linux - Enterprise 8 05-22-2007 06:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:41 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration