LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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


Reply
  Search this Thread
Old 06-19-2012, 12:33 PM   #1
YogeshDhari
LQ Newbie
 
Registered: Jun 2012
Posts: 1

Rep: Reputation: Disabled
Question File permissions is not changing in ubuntu 12.04LTS


I have Installed ubuntu 12.04LTS 64 bit and mounted the drive
and tried to run

sudo chmod 777 try.txt

no error has been reported and no file permission has been changed, even i tried by GUI
 
Old 06-19-2012, 01:38 PM   #2
honeybadger
Member
 
Registered: Aug 2007
Location: India
Distribution: Slackware (mainly) and then a lot of others...
Posts: 855

Rep: Reputation: Disabled
Hi Yogesh, first of all when you say mounted the drive does it mean pen drive? Is it formatted with fat or vfat for that matter? In any case the fat or vfat file systems do not have any file permissions on them. If this is not the case and you are using one of the linux filesystems like ext4 or simillar then use 'lsattr filename.txt' if anything shows up (anything with 'i' or a simillar alphabet then you can use 'chattr filename.txt' to change the attributes.
Since we do not know what is happening I have given you some pointers. Hope this helps.
And welcome to LQ
 
  


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
.bin file install failed on Ubuntu 10.04LTS but worked on Ubuntu 11.10 wh33t Linux - Software 8 01-18-2012 01:51 PM
File Sharing between Window 7 Starter and Ubuntu system running 10.04LTS and 11.04 GJQ Linux - Newbie 4 06-08-2011 10:23 AM
changing default file permissions upon file creation ceci2 Linux - Newbie 7 10-01-2009 07:27 AM
What is changing my file permissions? lamekain Linux - Security 10 12-08-2003 04:22 AM
Changing file permissions on a SAMBA file share apenney Linux - Software 0 02-11-2002 04:42 PM

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

All times are GMT -5. The time now is 02:59 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