LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-29-2011, 12:04 AM   #1
janakiramulu
Member
 
Registered: Jan 2011
Location: mangalore
Distribution: ubuntu
Posts: 167

Rep: Reputation: 0
permissions of filesystems


how to get the permissions of any filesystems
---------------------------------------------------
what does it mean?
"permission denied while opening filesystem"

through commands can we give/get permissions of file systems
 
Old 01-29-2011, 01:06 AM   #2
yooy
Senior Member
 
Registered: Dec 2009
Posts: 1,387

Rep: Reputation: 174Reputation: 174
Have you tried opening filesystem as root?

i have tried with thunar and when i got to the top of current filesysten i could right click and there was "filesystem properties dialog"
 
Old 01-29-2011, 01:48 AM   #3
rizzy
Member
 
Registered: Mar 2004
Distribution: Debian
Posts: 285

Rep: Reputation: 69
Code:
permission denied while opening filesystem
It means your login doesn't have either read,write or execute access to the data. Access can be give to you by ether root or owner.
Read on the whole permissions subject:
http://wiki.debian.org/Permissions

read man pages too, type in terminal:
man chmod
man chown
 
Old 01-29-2011, 02:58 AM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
What type of filesystem are you talking about? Is it a pen drive? Do you need to mount it?

An NTFS or FAT32 filesystem doesn't contain linux permissions, so you will need to add man mount.vfat and man mount.ntfs to your reading list. Look at the uid, gid, fmask and dmask options which determine the permissions for files and directories on the entire filesystem.

From your description, you may be trying to change the permissions of a system directory or of the root partition. The answer is simply don't. Regular users shouldn't have write access to these areas.

Last edited by jschiwal; 01-29-2011 at 02:59 AM.
 
Old 01-29-2011, 03:32 AM   #5
ashwinipatankar
Member
 
Registered: Oct 2009
Location: Bangalore, India
Distribution: Fedora
Posts: 32

Rep: Reputation: 10
for permissions:
Case 1: for files
$ls -l
sample o/p

-rw-rw-r-- 1 ashwini ashwini 170803 Jan 29 14:27 shell-20110129-6.ogv
drwxrwxr-x 2 ashwini ashwini 4096 Dec 28 14:08 sketchbook

now the left most column shows d, r, w, x that means: directory, read, write, and execute. for root, user and the user who created(I am not sure about the third one). Here for changing the permissions you can use "chmod" command.

Case 2: for file systems
When you mount file systems , they can be mounted as read only, read write and read write execute mode. If you are having some executable files like shell script on a non-executable mounted file systems then you can not execute the shell script. For such cases, you will have to either modify /etc/fstab or you will have to check the options in mount command through which you are mounting the file system. If you are using ubuntu then you can install some application which will take care of this graphically.
 
  


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
Looking for help understanding filesystems and permissions brockangelo Linux - Server 1 03-15-2009 12:36 PM
Howto: Permissions and ownership on FAT and NTFS filesystems openSauce Linux - Newbie 8 03-09-2009 11:52 AM
Setting permissions for filesystems TazG Linux - Newbie 7 06-25-2004 03:12 PM
windows filesystems vs. linux filesystems irfanhab General 8 05-25-2004 07:21 AM
filesystems thesnaggle Linux - General 1 10-28-2003 12:12 PM

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

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