linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* cannot do chmod
@ 2003-05-28 13:26 Earl R. Lapus
  2003-05-29  1:42 ` Jim C. Brown
  0 siblings, 1 reply; 3+ messages in thread
From: Earl R. Lapus @ 2003-05-28 13:26 UTC (permalink / raw)
  To: linux-admin

Good day...

I need help on this... I mounted my windows partition on
the /mnt/win directory. The strange thing is that there is
no execute permission for the group and others category 
on the /mnt/win directory. So I tried to `chmod -v go+x /mnt/win'
and it printed out that the chmod was successful. BUT when
I do an `ls -l /mnt' the file permissions were unchanged. This is the first
time I encountered this problem and I really have no idea why
this is happening.

The reason why I want to place an execute permission on the /mnt/win
directory is that I want other non-root users to access the windows 
partition. 

Does this have to do with the mount options? If it does, I placed the
contents of my fstab below in case you guys want to find anything wrong
with it. I don't know anything else that might cause this problem. 

[these are the contents of my fstab]

/dev/hda5        swap             swap        defaults         0   0
/dev/hda7        /                ext3        defaults         1   1
/dev/hda6        /home            ext3        defaults         1   2
/dev/hda3        /mnt/win         vfat        defaults         1   0
/dev/cdrom       /mnt/cdrom       iso9660     noauto,owner,ro  0   0
/dev/fd0         /mnt/floppy      auto        noauto,owner     0   0
devpts           /dev/pts         devpts      gid=5,mode=620   0   0
proc             /proc            proc        defaults         0   0


=================================
 There are seven words in this sentence.
=================================



^ permalink raw reply	[flat|nested] 3+ messages in thread
* Re: cannot do chmod
@ 2003-05-29  1:35 Andrew Lister
  0 siblings, 0 replies; 3+ messages in thread
From: Andrew Lister @ 2003-05-29  1:35 UTC (permalink / raw)
  To: elapus; +Cc: linux-admin, linux-admin-owner


Add a umask=0 to the mount options ie:

/dev/hda3               /mnt/win                 vfat    defaults,umask=0     0 0

Andrew




                                                                                                                                                 
                      elapus@ntsp.nec.co.jp                                                                                                      
                      Sent by:                      To:       linux-admin@vger.kernel.org                                                        
                      linux-admin-owner@vger        cc:                                                                                          
                      .kernel.org                   Subject:  cannot do chmod                                                                    
                                                                                                                                                 
                                                                                                                                                 
                      28/05/2003 23:26                                                                                                           
                                                                                                                                                 
                                                                                                                                                 




Good day...

I need help on this... I mounted my windows partition on
the /mnt/win directory. The strange thing is that there is
no execute permission for the group and others category
on the /mnt/win directory. So I tried to `chmod -v go+x /mnt/win'
and it printed out that the chmod was successful. BUT when
I do an `ls -l /mnt' the file permissions were unchanged. This is the first
time I encountered this problem and I really have no idea why
this is happening.

The reason why I want to place an execute permission on the /mnt/win
directory is that I want other non-root users to access the windows
partition.

Does this have to do with the mount options? If it does, I placed the
contents of my fstab below in case you guys want to find anything wrong
with it. I don't know anything else that might cause this problem.

[these are the contents of my fstab]

/dev/hda5        swap             swap        defaults         0   0
/dev/hda7        /                ext3        defaults         1   1
/dev/hda6        /home            ext3        defaults         1   2
/dev/hda3        /mnt/win         vfat        defaults         1   0
/dev/cdrom       /mnt/cdrom       iso9660     noauto,owner,ro  0   0
/dev/fd0         /mnt/floppy      auto        noauto,owner     0   0
devpts           /dev/pts         devpts      gid=5,mode=620   0   0
proc             /proc            proc        defaults         0   0


=================================
 There are seven words in this sentence.
=================================


-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html





--

This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-05-29  1:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-28 13:26 cannot do chmod Earl R. Lapus
2003-05-29  1:42 ` Jim C. Brown
  -- strict thread matches above, loose matches on Subject: below --
2003-05-29  1:35 Andrew Lister

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).