Re: [xubuntu-users] file system window read-only

2022-11-08 Thread Alessandro Lin

Hallo,

this work:

Access Window 10 Prompt with Super User (administrator) privileges. The 
access is somewhat nested but it is located.


Command:  powercfg / H off

exit and close the pc.

Restart the pc in Xubuntu.

The Window partition is read - write. Wonderful!

Edit 1 file and close the pc.

Restart the pc in Window 10. Everything is OK.

Edit 1 file and close the pc.

Restart the pc in Xubuntu. Everything is OK.

Regards.



On 06/11/22 15:20, Ralf Mardorf wrote:

On Sun, 2022-11-06 at 08:06 +0100, Marc Coevoet wrote:

Op 5/11/2022 om 19:43 schreef Alessandro Lin:

Hallo,

I have a problem with read-only filesystem.
I describe neatly:
... etc. etc.

/dev/sda3 on /media/alex/B87A648A7A64476A type fuseblk 
(ro,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)


Had the same with a new eternal 2tb disk:

As root

cd /media

chown -R marc .
chgrp -R marc .


Where marc is my user name.



Hi,

I comment on chown etc. at the end of my email. Btw. id 0 is for root.

I suspect that
https://wiki.archlinux.org/title/NTFS-3G#Metadata_kept_in_Windows_cache,_refused_to_mount
is the culprit, however, here's some more guessing:

Even for Ubuntu flavours a starting point might be
https://wiki.archlinux.org/title/udisks#Permissions ,
https://github.com/coldfix/udiskie/wiki/Permissions .

You also might want to google for gvfs, optional for Xfce, but much
likely installed by a default Xubuntu. Maybe google for thunar and
xfdesktop.

Maybe

$ grep rw /etc/udisks2/mount_options.conf.example -A4 -B4
### Simple global overrides
# [defaults]
# # common options, applied to any filesystem, always merged with specific 
filesystem type options
# defaults=ro
# 
allow=exec,noexec,nodev,nosuid,atime,noatime,nodiratime,ro,rw,sync,dirsync,noload

### Specific filesystem type options
# vfat_defaults=uid=$UID,gid=$GID,shortname=mixed,utf8=1,showexec,flush
# 
vfat_allow=uid=$UID,gid=$GID,flush,utf8,shortname,umask,dmask,fmask,codepage,iocharset,usefree,showexec
--


### For the reference, these are the builtin mount options:
# [defaults]
# 
allow=exec,noexec,nodev,nosuid,atime,noatime,nodiratime,relatime,strictatime,lazytime,ro,rw,sync,dirsync,noload,acl,nosymfollow
#
# vfat_defaults=uid=$UID,gid=$GID,shortname=mixed,utf8=1,showexec,flush
# 
vfat_allow=uid=$UID,gid=$GID,flush,utf8,shortname,umask,dmask,fmask,codepage,iocharset,usefree,showexec
#

does help. This is on Arch Linux, but a config must be available by
Xubuntu, too.

I don't know if udisks2 interacts with folder permissions of /media/ or
umask. I don't know how ntfs (IIUC fuseblk is indirectly for ntfs) is
accessed by Linux, since I'm using VMs and wine, no Windows install on
bare metal. IOW if a user has got anyway no write permissions by the
directory, it might mount read only. I don't think so, but you never
know. If it's unwanted that root does access the Windows partition a
group "win" might help, but again even root can't access the ntfs
partition, if it's mounted read only.

FWIW I mount by command line. Gvfs is and empty dummy package on my
machine. I've got udisks etc. installed, but I don't use it.

Regards,
Ralf



--
xubuntu-users mailing list
xubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/xubuntu-users


Re: [xubuntu-users] file system window read-only

2022-11-08 Thread Alessandro Lin

Thank you for the info.

"fast startup" is_not_  enabled in my Window 10 . Box is absent.
But there are also data windows 10 hibernate.

I try the window command  powercfg /H off ( as recommended with the link you 
posted )
but it does not work because in window 10 the super user is disabled by 
default, as in Ubuntu and you have to activate it.

In short, Window 10 has raised great barriers to defend against the intrusion 
of other operating systems.
Maybe the best thing is to delete window 10 and install Wine or something 
similar...

Regards
Alessandro

PS It's too complicated to write plain non-html text with Thunderbird.



On 06/11/22 15:20, Ralf Mardorf wrote:

On Sun, 2022-11-06 at 08:06 +0100, Marc Coevoet wrote:

Op 5/11/2022 om 19:43 schreef Alessandro Lin:

Hallo,

I have a problem with read-only filesystem.
I describe neatly:
... etc. etc.

/dev/sda3 on /media/alex/B87A648A7A64476A type fuseblk 
(ro,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)


Had the same with a new eternal 2tb disk:

As root

cd /media

chown -R marc .
chgrp -R marc .


Where marc is my user name.



Hi,

I comment on chown etc. at the end of my email. Btw. id 0 is for root.

I suspect that
https://wiki.archlinux.org/title/NTFS-3G#Metadata_kept_in_Windows_cache,_refused_to_mount
is the culprit, however, here's some more guessing:

Even for Ubuntu flavours a starting point might be
https://wiki.archlinux.org/title/udisks#Permissions ,
https://github.com/coldfix/udiskie/wiki/Permissions .

You also might want to google for gvfs, optional for Xfce, but much
likely installed by a default Xubuntu. Maybe google for thunar and
xfdesktop.

Maybe

$ grep rw /etc/udisks2/mount_options.conf.example -A4 -B4
### Simple global overrides
# [defaults]
# # common options, applied to any filesystem, always merged with specific 
filesystem type options
# defaults=ro
# 
allow=exec,noexec,nodev,nosuid,atime,noatime,nodiratime,ro,rw,sync,dirsync,noload

### Specific filesystem type options
# vfat_defaults=uid=$UID,gid=$GID,shortname=mixed,utf8=1,showexec,flush
# 
vfat_allow=uid=$UID,gid=$GID,flush,utf8,shortname,umask,dmask,fmask,codepage,iocharset,usefree,showexec
--


### For the reference, these are the builtin mount options:
# [defaults]
# 
allow=exec,noexec,nodev,nosuid,atime,noatime,nodiratime,relatime,strictatime,lazytime,ro,rw,sync,dirsync,noload,acl,nosymfollow
#
# vfat_defaults=uid=$UID,gid=$GID,shortname=mixed,utf8=1,showexec,flush
# 
vfat_allow=uid=$UID,gid=$GID,flush,utf8,shortname,umask,dmask,fmask,codepage,iocharset,usefree,showexec
#

does help. This is on Arch Linux, but a config must be available by
Xubuntu, too.

I don't know if udisks2 interacts with folder permissions of /media/ or
umask. I don't know how ntfs (IIUC fuseblk is indirectly for ntfs) is
accessed by Linux, since I'm using VMs and wine, no Windows install on
bare metal. IOW if a user has got anyway no write permissions by the
directory, it might mount read only. I don't think so, but you never
know. If it's unwanted that root does access the Windows partition a
group "win" might help, but again even root can't access the ntfs
partition, if it's mounted read only.

FWIW I mount by command line. Gvfs is and empty dummy package on my
machine. I've got udisks etc. installed, but I don't use it.

Regards,
Ralf



--
xubuntu-users mailing list
xubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/xubuntu-users


Re: [xubuntu-users] file system window read-only

2022-11-06 Thread Ralf Mardorf
On Sun, 2022-11-06 at 15:20 +0100, Ralf Mardorf wrote:
> I suspect that
> https://wiki.archlinux.org/title/NTFS-3G#Metadata_kept_in_Windows_cache,_refused_to_mount
> is the culprit, however, here's some more guessing [snip]

PS: Don't care about all that guessing, first check your Windows
install. Ensure that "fast startup" is _not_ enabled.

Much likely it is enabled and much likely this is the reason that
Xubuntu mounts the partition read only.

-- 
xubuntu-users mailing list
xubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/xubuntu-users


Re: [xubuntu-users] file system window read-only

2022-11-06 Thread Ralf Mardorf
On Sun, 2022-11-06 at 08:06 +0100, Marc Coevoet wrote:
> Op 5/11/2022 om 19:43 schreef Alessandro Lin:
> > Hallo,
> > 
> > I have a problem with read-only filesystem.
> > I describe neatly:
> 
> > 
> > ... etc. etc.
> > 
> > /dev/sda3 on /media/alex/B87A648A7A64476A type fuseblk 
> > (ro,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)
> > 
> 
> Had the same with a new eternal 2tb disk:
> 
> As root
> 
> cd /media
> 
> chown -R marc .
> chgrp -R marc .
> 
> 
> Where marc is my user name.



Hi,

I comment on chown etc. at the end of my email. Btw. id 0 is for root.

I suspect that
https://wiki.archlinux.org/title/NTFS-3G#Metadata_kept_in_Windows_cache,_refused_to_mount
is the culprit, however, here's some more guessing:

Even for Ubuntu flavours a starting point might be
https://wiki.archlinux.org/title/udisks#Permissions ,
https://github.com/coldfix/udiskie/wiki/Permissions .

You also might want to google for gvfs, optional for Xfce, but much
likely installed by a default Xubuntu. Maybe google for thunar and
xfdesktop.

Maybe

$ grep rw /etc/udisks2/mount_options.conf.example -A4 -B4
### Simple global overrides
# [defaults]
# # common options, applied to any filesystem, always merged with specific 
filesystem type options
# defaults=ro
# 
allow=exec,noexec,nodev,nosuid,atime,noatime,nodiratime,ro,rw,sync,dirsync,noload

### Specific filesystem type options
# vfat_defaults=uid=$UID,gid=$GID,shortname=mixed,utf8=1,showexec,flush
# 
vfat_allow=uid=$UID,gid=$GID,flush,utf8,shortname,umask,dmask,fmask,codepage,iocharset,usefree,showexec
--


### For the reference, these are the builtin mount options:
# [defaults]
# 
allow=exec,noexec,nodev,nosuid,atime,noatime,nodiratime,relatime,strictatime,lazytime,ro,rw,sync,dirsync,noload,acl,nosymfollow
# 
# vfat_defaults=uid=$UID,gid=$GID,shortname=mixed,utf8=1,showexec,flush
# 
vfat_allow=uid=$UID,gid=$GID,flush,utf8,shortname,umask,dmask,fmask,codepage,iocharset,usefree,showexec
#

does help. This is on Arch Linux, but a config must be available by
Xubuntu, too.

I don't know if udisks2 interacts with folder permissions of /media/ or
umask. I don't know how ntfs (IIUC fuseblk is indirectly for ntfs) is
accessed by Linux, since I'm using VMs and wine, no Windows install on
bare metal. IOW if a user has got anyway no write permissions by the
directory, it might mount read only. I don't think so, but you never
know. If it's unwanted that root does access the Windows partition a
group "win" might help, but again even root can't access the ntfs
partition, if it's mounted read only.

FWIW I mount by command line. Gvfs is and empty dummy package on my
machine. I've got udisks etc. installed, but I don't use it.

Regards,
Ralf

-- 
xubuntu-users mailing list
xubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/xubuntu-users


Re: [xubuntu-users] file system window read-only

2022-11-06 Thread Marc Coevoet

Op 5/11/2022 om 19:43 schreef Alessandro Lin:

Hallo,

I have a problem with read-only filesystem.
I describe neatly:




... etc. etc.

/dev/sda3 on /media/alex/B87A648A7A64476A type fuseblk 
(ro,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)



Had the same with a new eternal 2tb disk:

As root

cd /media

chown -R marc .
chgrp -R marc .


Where marc is my user name.

Marc



--
The "Penguin" has arrived - and he's not going away - ever.
For former Apple users: Xubuntu.org (menu's up left)
For former Windows users: Lubuntu.org (menu's down left)


--
xubuntu-users mailing list
xubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/xubuntu-users


Re: [xubuntu-users] file system window read-only

2022-11-05 Thread Ralf Mardorf
Please don't useHTML! HTML emailsarehardto read.
-- 
xubuntu-users mailing list
xubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/xubuntu-users


Re: [xubuntu-users] file system window read-only

2022-11-05 Thread Alex Johns

On 6/11/22 07:43, Alessandro Lin wrote:


Hallo,

I have a problem with read-only filesystem.
I describe neatly:

I installed XUBUNTU 22 on a new desktop.
Windows 10 already pre-installed.

Before:

I created a partition for xubuntu.

I turned off Windows 10 quick start

I disabled Bitlocker and decrypted the disk.

Well, now xubuntu works and also windows 10

Xubuntu 22 does not have a good support for Italian language, while 
Xubuntu 20 had it but it is a thing of little importance.


Now The Windows disk partition is read-only. This is my problem.

List all of the mounted file systems:

/$ mount/

... etc. etc.
/dev/sda3 on /media/alex/B87A648A7A64476A type fuseblk 
(ro,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)
... etc. etc.



The Windows partition /dev/sda3 is read-only.

To have read / write I can try :

sudo mount -o remount /dev/sda3 /media/alex/B87A648A7A64476A


Is correct?

The Windows partition is read-only for some reason.

If I mount it in read-write mode, do any collateral problems arise?

Thank you





my win 10 partition is mounted rw, and has given me no issues.

cheers da kiwi
-- 
xubuntu-users mailing list
xubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/xubuntu-users


[xubuntu-users] file system window read-only

2022-11-05 Thread Alessandro Lin

Hallo,

I have a problem with read-only filesystem.
I describe neatly:

I installed XUBUNTU 22 on a new desktop.
Windows 10 already pre-installed.

Before:

I created a partition for xubuntu.

I turned off Windows 10 quick start

I disabled Bitlocker and decrypted the disk.

Well, now xubuntu works and also windows 10

Xubuntu 22 does not have a good support for Italian language, while 
Xubuntu 20 had it but it is a thing of little importance.


Now The Windows disk partition is read-only. This is my problem.

List all of the mounted file systems:

/$ mount/

... etc. etc.

/dev/sda3 on /media/alex/B87A648A7A64476A type fuseblk 
(ro,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)

... etc. etc.



The Windows partition /dev/sda3 is read-only.

To have read / write I can try :

sudo mount -o remount /dev/sda3 /media/alex/B87A648A7A64476A


Is correct?

The Windows partition is read-only for some reason.

If I mount it in read-write mode, do any collateral problems arise?

Thank you


-- 
xubuntu-users mailing list
xubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/xubuntu-users