! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Gigolo mounts shares read-only
Status:
RESOLVED: INVALID

Comments

Description charlie-tca 2009-05-19 17:26:03 CEST
This bug has been reported on Ubuntu Launchpad as:
 https://bugs.launchpad.net/bugs/377733

Binary package hint: gigolo

Shares mounted with gigolo are always read-only but expected to be read/write. I tried to change permissions of ~/.gvfs but it is impossible. I am happy to provide any further info.

Release: Xubuntu 9.04
Gigolo 0.3.0-0ubuntu1
Comment 1 Enrico Tröger editbugs 2009-05-19 18:52:22 CEST
Gigolo doesn't specify any permissions when mounting shares. More exactly, it only asks GVfs to mount a specific URI.

I assume that your share (are we talking about Samba shares?) is mounted read-only by GVfs. You can verify this by mounting it directly with GVfs on the command line:

gvfs-mount smb://username@hostname/share

and then check how it is mounted.

Please don't mess with the permissions of ~/.gvfs, this is a FUSE mountpoint, created by gvfs-fuse to provide access to GVfs resources for legacy apps. And changing the permissions of this mountpoint most probably will fail.

It'd be nice if you could provide more information like what exactly you are trying to mount (click on the connection in Gigolo, choose 'Copy URI' and paste it here). And please report whether things will change when you mount the resource with the above mentioned command.
Comment 2 Foxy 2009-05-19 21:55:20 CEST
Thanks a lot for the respond. You are right, gvfs-mount mounts it read-only as well. I actually try to mount shares on Windows7 RC. One partition is FAT32, another is EXT3, mounted on Win7 using an open source ext2/ext3 driver.

I tried to mount partitions on Ubuntu. Ext3 partition mounts read-write OK but FAT32 fails to mount. 

I guess all this is not Gigolo problem, but if you have any advice I will appreciate it.
Comment 3 Enrico Tröger editbugs 2009-05-26 19:03:36 CEST
It depends how you mount the partitions.
To mount a FAT partitions read-write on Linux, one way is to specify the uid and gid of the user who should be able to write to the partition, an example /etc/fstab entry could look like this:

UUID=0C5A-7C94 /mnt/hdb1 vfat rw,umask=0002,exec,uid=1000,gid=1000,user 0 0

where 1000 is the uid and gid for your user. You maybe need to adjust these values as well as the first two parts (device name and mount point).

There are probably other solutions too but all this is far away from the scope of Gigolo :).

Bug #5374

Reported by:
charlie-tca
Reported on: 2009-05-19
Last modified on: 2009-07-14

People

Assignee:
Enrico Tröger
CC List:
2 users

Version

Version:
unspecified

Attachments

Additional information