Please reproduce your error on a second machine before posting, and check the error by running without saved changes or extra modules (See FAQ No. 13, "How to report a bug"). For unstable Porteus versions (alpha, beta, rc) please use the relevant thread in our "Development" section.
-
PaulBy
- Contributor

- Posts: 266
- Joined: 14 Feb 2012, 13:14
- Distribution: Porteus 3.2 KDE
- Location: Belarus
Post#1
by PaulBy » 13 Aug 2013, 21:22
Dear, Brokenman and Fanthom
I noticed that usb flash disk with file system ntfs don't mount under guest-users. Mistake message:
Code: Select all
An error occurred while accessing '16G', the system responded: The requested operation has failed.: Error mounting: mount exited with exit code 1: helper failed with:
Error opening '/dev/sdd1': Permission denied
Failed to mount '/dev/sdd1': Permission denied
Please check '/dev/sdd1' and the ntfs-3g binary permissions,
and the mounting user ID. More explanation is provided at
http://tuxera.com/community/ntfs-3g-faq/#unprivileged
Under root-user mount successfully
vfat filesystem successfuly mount under all users
What to do
Prteus-2.1 x64 KDE final
REPO with my Porteus packages - http://yadi.sk/d/wJFyFih_4v48w
PaulBy
-
PaulBy
- Contributor

- Posts: 266
- Joined: 14 Feb 2012, 13:14
- Distribution: Porteus 3.2 KDE
- Location: Belarus
Post#2
by PaulBy » 13 Aug 2013, 21:44
setuid bit
# chmod u+s /bin/ntfs-3g
# chmod u+s /sbin/mount.ntfs-3g
don't solve problem

REPO with my Porteus packages - http://yadi.sk/d/wJFyFih_4v48w
PaulBy
-
brokenman
- Site Admin

- Posts: 6104
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
-
Contact:
Post#3
by brokenman » 14 Aug 2013, 01:50
Please try this. Install a package called udevil (perhaps in slackyd) and then try udevil mount /path/to/source /path/to/target
How do i become super user?
Wear your underpants on the outside and put on a cape.
brokenman
-
PaulBy
- Contributor

- Posts: 266
- Joined: 14 Feb 2012, 13:14
- Distribution: Porteus 3.2 KDE
- Location: Belarus
Post#4
by PaulBy » 14 Aug 2013, 06:48
brokenman wrote:Please try this. Install a package called udevil (perhaps in slackyd) and then try udevil mount /path/to/source /path/to/target
Hello Brokenman
Problem dont solve
Mistake message : /mnt not an allowable mount directory

REPO with my Porteus packages - http://yadi.sk/d/wJFyFih_4v48w
PaulBy
-
fanthom
- Moderator Team

- Posts: 5622
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
-
Contact:
Post#5
by fanthom » 14 Aug 2013, 12:15
in 2.1 final we have introduced an udev rule to mount everything under /mnt. seems that ntfs-3g needs extra tweaking and i'm working on it.
temporary solution:
please edit /sbin/udev/fstab/update and change line 31 to:
Code: Select all
elif [ "$FS" = ntfs ]; then echo "not working for now"
EDIT:\\
seems that the only solution may be migration to udisks2 which brings 2 extra bugs (one is strictly kde4 related):
https://bugs.kde.org/show_bug.cgi?id=310335
EDIT2:\\
recompiled udisks with a patch provided by the arch linux guys (thanks!) and everything is ok now. will push an update later today so you can download it through the PSC -> updates.
Please add [Solved] to your thread title if the solution was found.
fanthom
-
PaulBy
- Contributor

- Posts: 266
- Joined: 14 Feb 2012, 13:14
- Distribution: Porteus 3.2 KDE
- Location: Belarus
Post#6
by PaulBy » 14 Aug 2013, 18:37
I tried Porteus-MATE-x64. All work on all users, the problem, seems, only KDE Desktop

REPO with my Porteus packages - http://yadi.sk/d/wJFyFih_4v48w
PaulBy
-
fanthom
- Moderator Team

- Posts: 5622
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
-
Contact:
Post#7
by fanthom » 14 Aug 2013, 18:52
I tried Porteus-MATE-x64. All work on all users
and this is the bug i mentioned in my previous post (it breaks 'noauto' and 'nohd' cheatcodes).
KDE4 mounts ntfs removable devices without problems with the patch i pushed to updates.
Please add [Solved] to your thread title if the solution was found.
fanthom
-
PaulBy
- Contributor

- Posts: 266
- Joined: 14 Feb 2012, 13:14
- Distribution: Porteus 3.2 KDE
- Location: Belarus
Post#8
by PaulBy » 14 Aug 2013, 18:59
fanthom wrote:
temporary solution:
please edit /sbin/udev/fstab/update and change line 31 to:
Code: Select all
elif [ "$FS" = ntfs ]; then echo "not working for now"
Dear, Fanthom
Thank you very much for the solution of the problem
Everything worked under all users with the desktop

REPO with my Porteus packages - http://yadi.sk/d/wJFyFih_4v48w
PaulBy