Re: [Bug 1048059] Re: Adding ACLs to /media/$user does not work

2012-11-22 Thread Shane Pearson
Martin,

I turned off wifi and I'm connected to the router with a network cable.
 Wifi has been slow since 11.10 :-/

The ip address is:  92.85.210.155

On 11/22/2012 10:12 AM, Martin Pitt wrote:
> I'm logged into Jerre's box now, and this is what I can find out without
> root privileges:
> 
> - I confirm that ACLs are broken:
> 
> $ touch test.txt
> $ getfacl test.txt 
> # file: test.txt
> # owner: mpitt
> # group: mpitt
> user::rw-
> group::rw-
> other::r--
> $ setfacl -m u:nv:r test.txt
> setfacl: test.txt: Operation not supported
> 
> No special mount options for root file system:
> /dev/sda1 / ext2 rw,relatime,errors=remount-ro 0 0
> 
> However, it is unusual to actually use ext2. Jerre mentioned that in an
> earlier comment.
> 
> I can create a new ext2 partition here with working ACLs. Even when I do
> 
>   sudo tune2fs -E mount_opts="noacl" /dev/sdb
> 
> on my local test partition, dumpe2fs doesn't change the default mount
> options, but has a new fiield "Mount options", which isn't being
> considered. That smells like another bug, but is not quite related to
> this change.
> 
> Jerre is using the -lowlatency kernel, but as far as I can see, ACL
> support is enabled there for all relevant file systems (grep FS.*ACL
> /boot/config-3.5.0-18-lowlatency).
> 
> For more experiments I need to be able to load scsi_debug and/or do loop
> mounts for further testing, and thus need sudo privileges.
>

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

Title:
  Adding ACLs to /media/$user does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1048059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1048059] Re: Adding ACLs to /media/$user does not work

2012-11-22 Thread Shane Pearson
Sorry Martin,

Not too familiar with this Romtelecom router by Huawei.  Firewall is off
and filtering is off. But I can't find options for ports.

I'm now getting errors accessing websites.. But my iPod Touch is
connecting fine.  My ipod is showing the same ip so I'm gonna shut it
off, restart the router, and restart my computer.

This is the the top part of netstat -l:

Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address   Foreign Address
State
tcp0  0 localhost:ipp   *:*
LISTEN
tcp0  0 *:smtp  *:*
LISTEN
tcp0  0 *:17500 *:*
LISTEN
tcp0  0 Bocephus:domain *:*
LISTEN
tcp0  0 *:ssh   *:* LISTEN

On 11/22/2012 09:59 AM, Martin Pitt wrote:
> Shane Pearson [2012-11-22  6:33 -]:
>> OK, Martin, my ip is 92.84.2.179
> 
> That doesn't seem to work, it can't connect. You might need to open
> port 22 in your router or so.
> 
> But Jerre gave me ssh access, so I can start on his box.
> 
> Thanks!
> 
> Martin
>

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

Title:
  Adding ACLs to /media/$user does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1048059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1048059] Re: Adding ACLs to /media/$user does not work

2012-11-22 Thread Martin Pitt
Shane Pearson [2012-11-22  6:33 -]:
> OK, Martin, my ip is 92.84.2.179

That doesn't seem to work, it can't connect. You might need to open
port 22 in your router or so.

But Jerre gave me ssh access, so I can start on his box.

Thanks!

Martin
-- 
Martin Pitt| http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

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

Title:
  Adding ACLs to /media/$user does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1048059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1048059] Re: Adding ACLs to /media/$user does not work

2012-11-21 Thread Shane Pearson
My system is ext3
This just run from /

$ sudo dumpe2fs -h /dev/sda5 | grep 'mount options'

dumpe2fs 1.42.5 (29-Jul-2012)
Default mount options:(none)


On 11/22/2012 08:24 AM, Jerre Domitilli wrote:
> sudo dumpe2fs -h /dev/sda1 | grep 'mount options'
> dumpe2fs 1.42.5 (29-Jul-2012)
> Default mount options:(none)
> 
> 
> 
> On 11/21/2012 10:02 PM, Martin Pitt wrote:
>> The ubuntu installer never put the "acl" option into /etc/fstab. On my
>> quantal-installed system I have no such option:
>>
>> $ grep acl /proc/mounts /etc/fstab
>> $
>>
>> I don't see any tune2fs in our installers either. So what I suspect is
>> that mkfs enables the option by default these days, but hasn't in the
>> past?
>>
>> My /home file system was created in August 2010, and I get
>>
>> $ sudo dumpe2fs -h /dev/sda5 | grep 'mount options'
>> Default mount options:(none)
>>
>> while my root partition (which I recreate with every install) has
>>
>> Default mount options:user_xattr acl
>>
>> On both file systems I can use ACLs, so the implicit default if the file
>> system does not specify an explicit one seems to work correctly. Can
>> people who are affected by this please run above command on their root
>> file system? (That's the kind of debugging and comparison I would like
>> to do with SSH access...)
>>
>> As a last resort I can still make udisks get along without ACL support,
>> but this would be a bad and incomplete workaround for the root problem.
>> There's certainly other software which wants ACLs to work, so I'd like
>> to get this fixed properly rather.
>>
>

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

Title:
  Adding ACLs to /media/$user does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1048059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1048059] Re: Adding ACLs to /media/$user does not work

2012-11-21 Thread Shane Pearson
Thanks Jerri,

OK, Martin, my ip is 92.84.2.179

Thank you all for your patience. he he

On 11/21/2012 11:37 PM, Jerre Domitilli wrote:
> @ Shane,
> 
> 192.168.1.5 is a private IP address. Try http://whatismyipaddress.com/
> 
> Oddly enough, for some reason my /media/$user folder disappeared and I 
> had to apply the fix again.
> 
> I'm only having problems with this Gateway NV53. Using the same install 
> medium, my IBM Thinkpad r32 and Compaq Evo n610c are not having these 
> issues.
> 
> I have tried creating a new Live USB with Linux Live USB Creator. 
> (Differences this time around, No persistence file, and x64 instead of 
> x86. Issue persists.)
> 
> All systems formatted in EXT2.
> 
> Prior to installing with Ubiquity, disk was partitioned with gparted. 
> Selected "Something Else" during install and used my gparted 
> partitioning / formatting scheme.
> 
> On 11/21/2012 12:02 PM, Shane Pearson wrote:
>> Hey Martin,
>>
>> SSH server is running..  192.168.1.5 is the ip..
>>
>> I'm sure I'm missing something so let me know what I'm forgetting
>> Thanks
>>
>>
>

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

Title:
  Adding ACLs to /media/$user does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1048059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1048059] Re: Adding ACLs to /media/$user does not work

2012-11-21 Thread Jerre Domitilli
sudo dumpe2fs -h /dev/sda1 | grep 'mount options'
dumpe2fs 1.42.5 (29-Jul-2012)
Default mount options:(none)



On 11/21/2012 10:02 PM, Martin Pitt wrote:
> The ubuntu installer never put the "acl" option into /etc/fstab. On my
> quantal-installed system I have no such option:
>
> $ grep acl /proc/mounts /etc/fstab
> $
>
> I don't see any tune2fs in our installers either. So what I suspect is
> that mkfs enables the option by default these days, but hasn't in the
> past?
>
> My /home file system was created in August 2010, and I get
>
> $ sudo dumpe2fs -h /dev/sda5 | grep 'mount options'
> Default mount options:(none)
>
> while my root partition (which I recreate with every install) has
>
> Default mount options:user_xattr acl
>
> On both file systems I can use ACLs, so the implicit default if the file
> system does not specify an explicit one seems to work correctly. Can
> people who are affected by this please run above command on their root
> file system? (That's the kind of debugging and comparison I would like
> to do with SSH access...)
>
> As a last resort I can still make udisks get along without ACL support,
> but this would be a bad and incomplete workaround for the root problem.
> There's certainly other software which wants ACLs to work, so I'd like
> to get this fixed properly rather.
>

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

Title:
  Adding ACLs to /media/$user does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1048059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1048059] Re: Adding ACLs to /media/$user does not work

2012-11-21 Thread Jerre Domitilli
@ Shane,

192.168.1.5 is a private IP address. Try http://whatismyipaddress.com/

Oddly enough, for some reason my /media/$user folder disappeared and I 
had to apply the fix again.

I'm only having problems with this Gateway NV53. Using the same install 
medium, my IBM Thinkpad r32 and Compaq Evo n610c are not having these 
issues.

I have tried creating a new Live USB with Linux Live USB Creator. 
(Differences this time around, No persistence file, and x64 instead of 
x86. Issue persists.)

All systems formatted in EXT2.

Prior to installing with Ubiquity, disk was partitioned with gparted. 
Selected "Something Else" during install and used my gparted 
partitioning / formatting scheme.

On 11/21/2012 12:02 PM, Shane Pearson wrote:
> Hey Martin,
>
> SSH server is running..  192.168.1.5 is the ip..
>
> I'm sure I'm missing something so let me know what I'm forgetting
> Thanks
>
>

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

Title:
  Adding ACLs to /media/$user does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1048059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1048059] Re: Adding ACLs to /media/$user does not work

2012-11-21 Thread Shane Pearson
Hey Martin,

SSH server is running..  192.168.1.5 is the ip..

I'm sure I'm missing something so let me know what I'm forgetting
Thanks

On 11/21/2012 07:45 AM, Martin Pitt wrote:
> Shane Pearson [2012-11-20 18:03 -]:
>> OK, I did it.  For whatever reason I couldn't get wifi with your account
>> so I logged back out and into mine and I have net.  Well, I've have wifi
>> issues since 11.10
> 
> Sounds like you are using a per-user WiFi connection, not a
> system-wide one. You can toggle between the two in the "Edit
> connections.." menu in the network indicator.
> 
>> So I'm a bit lost on how you connect to my netbook. But it's all set up.
>> Just let me know what other info you need.
> 
> You need to install openssh-server, open the port 22 in your router
> for forwarding, and tell me your public IP address, so that I can ssh
> in.
>

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

Title:
  Adding ACLs to /media/$user does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1048059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1048059] Re: Adding ACLs to /media/$user does not work

2012-11-20 Thread Martin Pitt
Shane Pearson [2012-11-20 18:03 -]:
> OK, I did it.  For whatever reason I couldn't get wifi with your account
> so I logged back out and into mine and I have net.  Well, I've have wifi
> issues since 11.10

Sounds like you are using a per-user WiFi connection, not a
system-wide one. You can toggle between the two in the "Edit
connections.." menu in the network indicator.

> So I'm a bit lost on how you connect to my netbook. But it's all set up.
> Just let me know what other info you need.

You need to install openssh-server, open the port 22 in your router
for forwarding, and tell me your public IP address, so that I can ssh
in.

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

Title:
  Adding ACLs to /media/$user does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/1048059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1048059] Re: Adding ACLs to /media/$user does not work

2012-11-20 Thread Shane Pearson
Hey Martin,

OK, I did it.  For whatever reason I couldn't get wifi with your account
so I logged back out and into mine and I have net.  Well, I've have wifi
issues since 11.10

You are welcome to install whatever and do whatever.  Just when I think
I'm Ubuntu savvy, something comes along to let me know that I'm not.

So I'm a bit lost on how you connect to my netbook. But it's all set up.
Just let me know what other info you need.
Thanks again,
Shane

On 11/20/2012 06:54 AM, Martin Pitt wrote:
> Shane Pearson [2012-11-19 18:23 -]:
>> Yes, you can have temp SSH access on my netbook.  I'm just having issues
>> with the ssh-rsa thing.
> 
> Oh, that's not a command. Create an user account for me (e. g.
> "pitti"), and copy the contents of
> https://launchpad.net/~pitti/+sshkeys into
> /home/pitti/.ssh/authorized_keys, then I will be able to log in. As I
> will need sudo to run udisks, please set some password for me and
> create a /home/pitti/password.txt with the password so that I can see
> it once I'm logged in.
> 
> For the record, I might have to install a couple of packages
> (udisks2's build dependencies) to build udisks2 until it's fixed. I
> will remove them after I'm done.
> 
> Thanks!
>

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

Title:
  Adding ACLs to /media/$user does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/1048059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1048059] Re: Adding ACLs to /media/$user does not work

2012-11-19 Thread Martin Pitt
Shane Pearson [2012-11-19 18:23 -]:
> Yes, you can have temp SSH access on my netbook.  I'm just having issues
> with the ssh-rsa thing.

Oh, that's not a command. Create an user account for me (e. g.
"pitti"), and copy the contents of
https://launchpad.net/~pitti/+sshkeys into
/home/pitti/.ssh/authorized_keys, then I will be able to log in. As I
will need sudo to run udisks, please set some password for me and
create a /home/pitti/password.txt with the password so that I can see
it once I'm logged in.

For the record, I might have to install a couple of packages
(udisks2's build dependencies) to build udisks2 until it's fixed. I
will remove them after I'm done.

Thanks!

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

Title:
  Adding ACLs to /media/$user does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/1048059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1048059] Re: Adding ACLs to /media/$user does not work

2012-11-19 Thread Shane Pearson
Hello Martin,

Yes, you can have temp SSH access on my netbook.  I'm just having issues
with the ssh-rsa thing.  Keep getting "command not found". I'll look
into it, but you are welcome to use my computer to see what's up.

Thank you,
Shane

On 11/19/2012 11:54 AM, Martin Pitt wrote:
> Ubuntu kernels do enable ACLs by default for ext2 and ext3 as well. I
> still have absolutely no clue what's wrong on your systems. Is it
> possible that anyone who is affected can allow me temporary SSH access
> to their computer? I need an account which can sudo, but I don't need to
> permanently modify anything.  Please use the second key in
> https://launchpad.net/~pitti/+sshkeys .
>

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

Title:
  Adding ACLs to /media/$user does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/1048059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1048059] Re: Adding ACLs to /media/$user does not work

2012-10-22 Thread James Luscher
Thank you!


>> # Add a folder
>
> sudo mkdir /media/USERNAME
>
>
>> # assign the folder to my user
>
> sudo chown USERNAME.USERNAME /media/USERNAME
>
>
>
This worked perfectly.

James

*
 
“Patience is the companion of wisdom.”
- Saint Augustine
*


On Mon, Oct 22, 2012 at 5:56 PM, Paulo Rafael
wrote:

> Hi there.
>
> the solution below provided by sheutlin worked for me.
>
> Thank you.
>
> Regards
>
> I could fix it by using the method sheutlin recommended:
>
> # Add a folder
> sudo mkdir /media/USERNAME
>
> # assign the folder to my user
> sudo chown USERNAME.USERNAME /media/USERNAME
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1068965).
> https://bugs.launchpad.net/bugs/1048059
>
> Title:
>   Adding ACLs to /media/$user does not work
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/1048059/+subscriptions
>

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

Title:
  Adding ACLs to /media/$user does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/1048059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs