Commit f98d2edb authored by Alexander Larsson's avatar Alexander Larsson Committed by Alexander Larsson

Try to set permissions on remote shares. (#520572)

2008-03-06  Alexander Larsson  <alexl@redhat.com>

        * libnautilus-private/nautilus-file.c:
        (nautilus_file_can_set_permissions):
	Try to set permissions on remote shares. (#520572)


svn path=/trunk/; revision=13887
parent 2f7dafcf
2008-03-06 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-file.c:
(nautilus_file_can_set_permissions):
Try to set permissions on remote shares. (#520572)
2008-03-06 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-autorun.c (_g_mount_guess_content_type):
......
......@@ -4134,7 +4134,8 @@ nautilus_file_can_set_permissions (NautilusFile *file)
{
uid_t user_id;
if (file->details->uid != -1) {
if (file->details->uid != -1 &&
nautilus_file_is_local (file)) {
/* Check the user. */
user_id = geteuid();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment