Re: permissions problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mike McCarty wrote:
> Gerhard Magnus wrote:
>> I'm running FC5 and gnome on a machine dual booting with Windows and
>> would like to read from/write to a Windows vfat partition.  I've added
>> this line to /etc/fstab:
>>
>> /dev/sdb1   /mnt/win   vfat    rw,noatime,uid=500,gid=500,user   0 0
>>
>> Then, also as root:
>>
>> mkdir /mnt/win
>> chmod 777 /mnt/win
> 
> I believe that 755 is good enough. The mount point itself does not
> need to be writable.
> 
Do the setting of the mount point before the file system is mounted
affect anything? At lease for vfat partitions, the permissions are
changed by the mount command.

[root@mikkel rules.d]# ls -ld /mnt/windows
drwxrwxrwx  26 root root 32768 Dec 31  1969 /mnt/windows/
[root@mikkel rules.d]# umount /mnt/windows
[root@mikkel rules.d]# ls -ld /mnt/windows
drwxr-xr-x  2 root root 4096 Feb 26  2005 /mnt/windows/
[root@mikkel rules.d]# mount /mnt/windows
[root@mikkel rules.d]# ls -ld /mnt/windows
drwxrwxrwx  26 root root 32768 Dec 31  1969 /mnt/windows/

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux