You are not logged in.

#1 2005-09-14 22:12:53

nbcjr
Member
From: BRAZIL!
Registered: 2004-12-04
Posts: 79

Windows partition permissions problem

i have a fat32 partition that i use to be able to see files whenever i'm on windows or linux. my fstab is as follow:

/dev/discs/disc0/part4 /mnt/windows vfat rw,user,auto            0      0

but if i do

[nbcjr@universo ~]$ touch /mnt/windows/lin
touch: cannot touch `/mnt/windows/lin': Permission denied

what's going on?? how do i set this partition to be mounted automatically and to permit any user (or at least my main user) to write any file on it???

thanks!

Offline

#2 2005-09-14 22:23:58

nbcjr
Member
From: BRAZIL!
Registered: 2004-12-04
Posts: 79

Re: Windows partition permissions problem

thanks, whoever decided to make a new thread out of this heheh it's probably better that way.

Offline

#3 2005-09-14 22:37:38

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: Windows partition permissions problem

[whisper]Yes, because otherwise it is called cross-posting and that is very bad wink[/whisper]

Offline

#4 2005-09-14 23:07:34

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: Windows partition permissions problem

I guess my post got lost in the split.

Try adding

umask=0000

before 0 0 to be able to write.

As far as autmounting during boot, the "auto" entry which you already have should have worked.

Offline

#5 2005-09-15 09:00:02

epo
Member
From: Romania , Iasi
Registered: 2005-06-06
Posts: 20

Re: Windows partition permissions problem

I have a vfat partition setup like this in /etc/fstab

/dev/discs/disc0/part6 /mnt/common vfat defaults,users,umask=0,gmask=100 0 0

I put the gmask because of linuxdcpp (sharing a dir on that partition).
Oh, and

gmask=100

means "group = users" for me

Offline

#6 2005-09-15 15:14:28

FUBAR
Member
From: Belgium
Registered: 2004-12-08
Posts: 1,029
Website

Re: Windows partition permissions problem

epo wrote:

I have a vfat partition setup like this in /etc/fstab

/dev/discs/disc0/part6 /mnt/common vfat defaults,users,umask=0,gmask=100 0 0

I put the gmask because of linuxdcpp (sharing a dir on that partition).
Oh, and

gmask=100

means "group = users" for me

/dev/discs/disc0/part6 /mnt/common vfat defaults,users,uid=<username>,gid=users 0 0

Will make the files on /dev/discs/disc0/part6 be owned by <username>:users. That's how I mount my VFAT-partitions since I'm the only one using them anyway.


A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.

Offline

#7 2005-09-17 05:33:38

nbcjr
Member
From: BRAZIL!
Registered: 2004-12-04
Posts: 79

Re: Windows partition permissions problem

thanks a lot guys solved the problem!

Offline

#8 2005-09-30 21:49:46

nbcjr
Member
From: BRAZIL!
Registered: 2004-12-04
Posts: 79

Re: Windows partition permissions problem

hi!

i also have a ntfs partition that sometimes i want to get something from. i mount it as read only, but only root has permission to acess it. i don't know how to solve this.

fstab

/dev/discs/disc0/part1 /mnt/ntfs ntfs ro,user,noauto,unhide 0 0

windows is my fat partition, ntfs is the ntfs one.

[nbcjr@universo mnt]$ ls -lah
total 42K
drwxr-xr-x  10 root  root  248 2005-09-20 02:15 .
drwxr-xr-x  19 root  root  464 2005-09-18 23:07 ..
drwxr-xr-x   2 root  root   48 2005-06-17 02:43 captive-noname
dr-xr-xr-x   2 root  root 2.0K 2005-09-30 12:07 cd
drwxr-xr-x   2 root  root   48 2005-08-24 17:58 dvd
drwxr-xr-x   2 root  root   48 2005-08-24 17:58 fl
drwxr-xr-x   2 root  root   48 2005-06-22 22:00 floppy
dr-x------   1 root  root 8.0K 2005-09-21 23:39 ntfs
drwxr-xr-x   2 root  root   48 2005-09-20 02:15 usb
drwxr-xr-x   9 nbcjr root  32K 1969-12-31 21:00 windows

even after

[root@universo nbcjr]# chmod 755 /mnt/ntfs/
chmod: changing permissions of `/mnt/ntfs/': Read-only file system

it stays like that. thanks a lot!

Offline

#9 2005-09-30 21:55:10

mpie
Member
From: 404 Not found
Registered: 2005-03-06
Posts: 649

Re: Windows partition permissions problem

/dev/discs/disc0/part1 /mnt/ntfs ntfs ro,user,noauto,unhide 0 0 ..


erm dude try umask=000 not uhide

Offline

Board footer

Powered by FluxBB