gvfs does not recognize write permission correctly

Bug #307530 reported by C. Heindl
20
Affects Status Importance Assigned to Milestone
gvfs
Fix Released
Medium
nautilus (Ubuntu)
Fix Released
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: gvfs

Situation:
Connected to a remote machine via SFTP as 'root'.

Problem:
I can't (over)write files, owned by other users than root (and the permission of that files are not world writeable). But i should be able to it.
(f.e. with kio-plugins it was never a problem)

System:
Ubuntu 8.10 (intrepid), 32-bit

Related branches

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, the issue is similar to http://bugzilla.gnome.org/show_bug.cgi?id=449397

Changed in gvfs:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: New → Triaged
Changed in gvfs:
status: Unknown → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

upstream fixed the bug now

"2009-03-05 Alexander Larsson <email address hidden>

        Bug 449397 – misinterpreted uid over ssh

        * libnautilus-private/nautilus-file-private.h:
        * libnautilus-private/nautilus-file.c:
        Use the gvfs reported owner/group names instead of the local
        uid/gui mapping. This allows remote shares to report the correct
        names.

This "fixes" the issue, in that we're not using the wrong table to look up the
name. Instead we let the gvfs backend supply the name.

However, currently the sftp backend doesn't report a name which means we'll
report the owner by uid/gid instead of username/groupname. I don't know if its
possible to do a name lookup of for remote uids via sftp."

Changed in gvfs:
status: Triaged → Fix Committed
Changed in gvfs:
status: Confirmed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nautilus - 1:2.25.93-0ubuntu1

---------------
nautilus (1:2.25.93-0ubuntu1) jaunty; urgency=low

  * New upstream version:
    - Use ConsoleKit to make sure we only autorun on active sessions
      (lp: #222643)
    - Never show unmount if we show an eject menu item
    - Show the gvfs reported owner/group names (lp: #307530)
    - Don't allow changing default app for folders
    - Fix "can't unmount same location twice" bug
    - Don't write translated icon names (lp: #336679)
    - Really fix crasher on renaming (lp: #321359)
    - Correctly store geometry (lp: #326276)
    - Correctly recognize desktop files which have comments (lp: #337408)

 -- Sebastien Bacher <email address hidden> Wed, 11 Mar 2009 11:43:58 +0100

Changed in nautilus:
status: Fix Committed → Fix Released
Changed in gvfs:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.