← Back to team overview

pyneighborhood team mailing list archive

Re: [Bug 685989] Re: pyNeighborhood changes folder permissions

 

Hi Linus, thanks.

Do you mean to mount backup-share in pyNeighborhood?

Actually this is a pretty simple problem / bug. PyNeighborhood seems to
adopt the privileges of the parent folder for the mounted sub-folder,
overwriting the privileges of the folder itself. Where there aren't any
differences between the privileges for the parent and the folder, it doesn't
affect it. Where the parent is owned by root rather than the user account it
changes the privileges and causes a problem. The user can't write to the
share.

Allowing pyNeighborhood to use its own folder works ok as it's owned by the
user, but changing the location of the mount point to say /mnt/backups
causes a problem because - with user privileges for /mnt/backups,
pyneighborhood overwrites those with those of /mnt i.e. root. Possibly
because it is recreating the /mnt/backups folder? The user cannot then write
to the share.

Try those locations, with the rights I have mentioned and see if the problem
reproduces.


On 6 December 2010 23:21, Linus Hoppe <685989@xxxxxxxxxxxxxxxxxx> wrote:

> Couldn't reproduce the error. Can you please try the latest version from
> PPA. This version fixes some permission-errors and shows several debug-
> messages in the mainwindow. Please report any messages.
>
> Besides, we need more information to fix a possible bug. please mount
> the backup-share and post the output of 'mount'. Please describe how you
> would mount the share manually.
>
>
> ** Changed in: pyneighborhood
>       Status: New => Incomplete
>
> ** Changed in: pyneighborhood
>   Importance: Undecided => Medium
>
> ** Changed in: pyneighborhood
>     Assignee: (unassigned) => Linus Hoppe (linus-hoppe)
>
> --
> You received this bug notification because you are a direct subscriber
> of the bug.
> https://bugs.launchpad.net/bugs/685989
>
> Title:
>  pyNeighborhood changes folder permissions
>
> Status in pyNeighborhood:
>   Incomplete
>
> Bug description:
>  I am running Ubuntu 10.10 and using pyNeighborhood to map a network folder
> Backups to a folder in my Home folder. With my network password set, I can
> write to the Backups folder.
>
> When pyNeighborhood maps Backups to eg /mnt/Backups then Backups is owned
> by Root, and I cannot write to it.
>
> If I change the ownership of /mnt/Backups, and give read/write access to my
> account, then pyNeighborhood changes ownership to root when it maps the
> network folder, and I cannot write to /mnt/Backups.
>
> How can I configure pyNeighborhood to allow me to write to Backups, as I
> can if I set the share up without pyNeighborhood?
>
> This is a common problem as I have seen it described in many places,
> however the fix of using a folder in the Home directory doesn't work for me
> as I wish to backup my Home directory to the network folder.
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/pyneighborhood/+bug/685989/+subscribe
>

-- 
You received this bug notification because you are a member of
pyNeighborhood, which is subscribed to pyneighborhood.
https://bugs.launchpad.net/bugs/685989

Title:
  pyNeighborhood changes folder permissions

Status in pyNeighborhood:
  Incomplete

Bug description:
  I am running Ubuntu 10.10 and using pyNeighborhood to map a network folder Backups to a folder in my Home folder. With my network password set, I can write to the Backups folder.

When pyNeighborhood maps Backups to eg /mnt/Backups then Backups is owned by Root, and I cannot write to it. 

If I change the ownership of /mnt/Backups, and give read/write access to my account, then pyNeighborhood changes ownership to root when it maps the network folder, and I cannot write to /mnt/Backups. 

How can I configure pyNeighborhood to allow me to write to Backups, as I can if I set the share up without pyNeighborhood?

This is a common problem as I have seen it described in many places, however the fix of using a folder in the Home directory doesn't work for me as I wish to backup my Home directory to the network folder. 





Follow ups

References