chmod in ntfs/fat file system

31 views
Skip to first unread message

Shino Jacob

unread,
Feb 28, 2010, 10:23:17 AM2/28/10
to ilug...@googlegroups.com
Hi,
I am not able to set chmod in my FAT and ntfs file system.
Whatever I set is not reflected. I tried to umask to 0000, but still same.
I am using ubuntu 9.1
Is there any additional change in fstab entries?


--
Miles to go before I Sleep

Anoop Jacob Thomas

unread,
Feb 28, 2010, 10:26:06 AM2/28/10
to ilug...@googlegroups.com
On Windows file systems, there are no group or other permissions.

--
Anoop Jacob Thomas

Deepak

unread,
Mar 1, 2010, 6:05:26 AM3/1/10
to Free Software Users Group, Thiruvananthapuram
Hi,
I didn't understand the problem , i think i got similar problem with
my pen drive. Can you tell it little bit clearly.

Syam Krishnan

unread,
Mar 1, 2010, 7:40:42 AM3/1/10
to ilug...@googlegroups.com
On 03/01/2010 04:35 PM, Deepak wrote:
> Hi,
> I didn't understand the problem , i think i got similar problem with
> my pen drive. Can you tell it little bit clearly.
>
The metadata about a file - ownership permissions, executable flag etc.
are not supported by all filesystems. The FAT32 filesystem (the one
common on older Windows systems) that's commonly used in pen drives
doesn't support any of these.

Syam

et

unread,
Mar 2, 2010, 4:32:03 AM3/2/10
to Free Software Users Group, Thiruvananthapuram
Hi,
I had the same problem. It always showed a 'permission denied'
error while trying to execute files in fat and ntfs partitions.
Anyways after some editing over the fstab entries, i could
successfully run files on any partition.

Here is an example entry from my current fstab file. (I'm also using
Ubuntu 9.10) :

/dev/sda1 /media/M$ ntfs-3g
defaults,user,exec,uid=1000,gid=100,umask=000 0 0
/dev/sda5 /media/MEDIA vfat
defaults,user,exec,uid=1000,gid=100,umask=000 0 0

As you can see, the same properties work for both fat and ntfs file
systems. Try these exact settings.

Shino Jacob

unread,
Mar 5, 2010, 10:38:59 PM3/5/10
to ilug...@googlegroups.com
I tried the umask=000, which worked, I was sure that , it was due to
umask, but didnt know fstab has the facility to give it.
Thanks a ton for the help.

> --
> "Freedom is the only law".
> "Freedom Unplugged"
> http://www.ilug-tvm.org
>
> You received this message because you are subscribed to the Google
> Groups "ilug-tvm" group.
> To post to this group, send email to ilug...@googlegroups.com
> To unsubscribe from this group, send email to
> ilug-tvm-u...@googlegroups.com
>
> For details visit the website: www.ilug-tvm.org or the google group page: http://groups.google.com/group/ilug-tvm?hl=en

sunil s

unread,
Mar 13, 2010, 9:26:02 AM3/13/10
to ilug...@googlegroups.com
file permissions won't work on mounted files systems like FAT32.  Use ACL s instead
Reply all
Reply to author
Forward
0 new messages