Debian This forum is for the discussion of Debian Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
07-24-2004, 08:41 AM
|
#1
|
|
Member
Registered: Apr 2004
Posts: 509
Rep:
|
can't change directory permissions
I dual boot sarge/win2k. I share a fat32 partition which I use for data including email. Problem is, I can only access this partition as root. chmod and chown just wont work. Of course I try to run those comands as root.
Here is the directory:
-----------------
ls - lsd
32 drwxr--r-- 15 root root 32768 Dec 31 1969 /data
------------------
Here is the /etc/fstab entry:
------------------
/dev/hda6 /data vfat defaults,user 0 0
------------------
Any ideas?
|
|
|
|
07-24-2004, 09:16 AM
|
#2
|
|
Member
Registered: Jul 2004
Location: Czech Republic - Roudnice nad Labem
Distribution: Debian
Posts: 253
Rep:
|
/dev/hda6 /data vfat umask=0,quiet,user 0 0
|
|
|
|
07-24-2004, 09:47 AM
|
#3
|
|
Member
Registered: Apr 2004
Posts: 509
Original Poster
Rep:
|
Seems to work, thank you.
|
|
|
|
07-24-2004, 10:30 AM
|
#4
|
|
Member
Registered: Jul 2004
Location: Greece
Distribution: FreeBSD 6.2/widows[not 8 legs nor black]
Posts: 123
Rep:
|
i just found the same problem, but mine is rwxr-xr-x. may we have to log on as root and change the permissions
|
|
|
|
07-24-2004, 10:45 AM
|
#5
|
|
Member
Registered: Jul 2004
Location: Czech Republic - Roudnice nad Labem
Distribution: Debian
Posts: 253
Rep:
|
First of all: Fat or FAT32 does not support permissions or files owner. So you can not use chmod or chown command. Permissions, what you see is done by masking certain bits with umask option at mount.
So you can use option:
umask=0 for masking 0 bits
gid - default group
uid - default user
quiet - not report any error (it's useful for midnight commander, it'll eliminate errors caused by copying (respectively doing chmod command after copy))
|
|
|
|
07-24-2004, 11:02 AM
|
#6
|
|
Senior Member
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597
Rep:
|
Vookimedlo, thanks for explaining what the quiet option does in practice. I also use mc and I've wondered about the error messages.
One question though, the man page for mount says that user option implies noexec, nosuid, and nodev. Now, does this mean that I should add the exec option to fstab if I want to execute windows binaries using wine?
|
|
|
|
07-24-2004, 11:21 AM
|
#7
|
|
Member
Registered: Jul 2004
Location: Czech Republic - Roudnice nad Labem
Distribution: Debian
Posts: 253
Rep:
|
I don't know exactly because I don't use Wine. But here is my opinion. I think that exec is irrelevant for windows binary format since kernel doesn't have support to get run such files.
So you have to use something like: wine program
and it doesn't matter if exec or noexec is defined. the file is normally read by wine program.
What do you think about it?
|
|
|
|
07-24-2004, 01:20 PM
|
#8
|
|
Senior Member
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597
Rep:
|
Quote:
|
What do you think about it?
|
Makes sense to me.
I had some Wine-related problems earlier when trying to launch programs from ntfs partition but I think they were due to umask, uid, and gid settings. Now Wine seems to work as expected (without exec option in fstab). I'll try the fstab line you suggest above when I'll have access to a computer that dual boots between Debian and vfat partition.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 12:46 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|