Re: [fsug-tvm] Re: chmod in ntfs/fat file system
file permissions won't work on mounted files systems like FAT32. Use ACL s instead On Sat, Mar 6, 2010 at 9:08 AM, Shino Jacob wrote: > 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. > > On Tue, Mar 2, 2010 at 3:02 PM, et wrote: > > 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=0000 0 > > > > As you can see, the same properties work for both fat and ntfs file > > systems. Try these exact settings. > > > > > > > > On Feb 28, 8:23 pm, Shino Jacob wrote: > >> 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 , but still > same. > >> I am using ubuntu 9.1 > >> Is there any additional change in fstab entries? > >> > >> -- > >> Miles to go before I Sleep > > > > -- > > "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-tvm@googlegroups.com > > To unsubscribe from this group, send email to > > ilug-tvm-unsubscr...@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 > > > > > > -- > Miles to go before I Sleep > > -- > "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-tvm@googlegroups.com > To unsubscribe from this group, send email to > ilug-tvm-unsubscr...@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 > -- "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 control your subscription visit http://groups.google.co.in/group/ilug-tvm/subscribe To post to this group, send email to ilug-tvm@googlegroups.com To unsubscribe from this group, send email to ilug-tvm-unsubscr...@googlegroups.com For details visit the google group page: http://groups.google.com/group/ilug-tvm?hl=en
Re: [fsug-tvm] Re: chmod in ntfs/fat file system
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. On Tue, Mar 2, 2010 at 3:02 PM, et wrote: > 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. > > > > On Feb 28, 8:23 pm, Shino Jacob wrote: >> 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 , but still same. >> I am using ubuntu 9.1 >> Is there any additional change in fstab entries? >> >> -- >> Miles to go before I Sleep > > -- > "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-tvm@googlegroups.com > To unsubscribe from this group, send email to > ilug-tvm-unsubscr...@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 > -- Miles to go before I Sleep -- "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-tvm@googlegroups.com To unsubscribe from this group, send email to ilug-tvm-unsubscr...@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
Re: [fsug-tvm] Re: chmod in ntfs/fat file system
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 -- "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-tvm@googlegroups.com To unsubscribe from this group, send email to ilug-tvm-unsubscr...@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
[fsug-tvm] Re: chmod in ntfs/fat file system
Hi, I didn't understand the problem , i think i got similar problem with my pen drive. Can you tell it little bit clearly. On Feb 28, 8:26 pm, Anoop Jacob Thomas wrote: > On Windows file systems, there are no group or other permissions. > > -- > Anoop Jacob Thomas -- "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-tvm@googlegroups.com To unsubscribe from this group, send email to ilug-tvm-unsubscr...@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