We have problems with files creation in a share, when files or dirs are created (either via ADM, nfs or in ssh root shell) they receive 000 permissions.
This happens in a single share only on /volume1, other subdir create files with accessible permissions.
We checked umask and looks fine, we found no place where this is overridden.
root@AS6204R-EB47:/volume1/NuovoArchivio # umask
0022
root@AS6204R-EB47:/volume1/NuovoArchivio # umask -S
u=rwx,g=rx,o=rx
Files and directories created with 000 permission
-
- Posts: 15
- youtube meble na wymiar Warszawa
- Joined: Thu Aug 06, 2020 3:51 pm
- Nazar78
- Posts: 2085
- Joined: Wed Jul 17, 2019 10:21 pm
- Location: Singapore
- Contact:
Re: Files and directories created with 000 permission
This is strange. Your umask seems correct but this is as though the umask was set to 0777. Please check the logs and/or dmesg if there's any particular error with your data mount /dev/md1 or /volume1.
I would suggest you to open a ticket with Asustor Support for assistance.
I would suggest you to open a ticket with Asustor Support for assistance.
AS5304T - 16GB DDR4 - ADM-OS modded on 2GB RAM
Internal:
- 4x10TB Toshiba RAID10 Ext4-Journal=Off
External 5 Bay USB3:
- 4x2TB Seagate modded RAID0 Btrfs-Compression
- 480GB Intel SSD for modded dm-cache (initramfs auto update patch) and Apps
When posting, consider checking the box "Notify me when a reply is posted" to get faster response
Internal:
- 4x10TB Toshiba RAID10 Ext4-Journal=Off
External 5 Bay USB3:
- 4x2TB Seagate modded RAID0 Btrfs-Compression
- 480GB Intel SSD for modded dm-cache (initramfs auto update patch) and Apps
When posting, consider checking the box "Notify me when a reply is posted" to get faster response
- orion
- Posts: 3485
- Joined: Wed May 29, 2013 11:09 am
Re: Files and directories created with 000 permission
I'm confused. "/volume1" is volume linked/mounted directory. Do you mean that you created a shared directory "NuovoArchivio" (under ADM Access Control), then you created a file, called "test1" under this shared directory, and got 000 permission?maxxer wrote: This happens in a single share only on /volume1, other subdir create files with accessible permissions.
-
- Posts: 15
- Joined: Thu Aug 06, 2020 3:51 pm
Re: Files and directories created with 000 permission
Yes, exactly.
According to mount command /volume1 is the mountpoint for /dev/md1
According to mount command /volume1 is the mountpoint for /dev/md1
- orion
- Posts: 3485
- Joined: Wed May 29, 2013 11:09 am
Re: Files and directories created with 000 permission
Mine is just working fine. Can you post screenshot pictures here?maxxer wrote:Yes, exactly.
According to mount command /volume1 is the mountpoint for /dev/md1
- ADM file explorer, create "test1" under NuovoArchivio.
- Picture where you see 000 permission.
- ADM file explorer, select "test1", right click mouse button, select "properties", select permission.
-
- Posts: 15
- Joined: Thu Aug 06, 2020 3:51 pm
Re: Files and directories created with 000 permission
Code: Select all
root@AS6204R-EB47:/volume1/NuovoArchivio # touch prova
root@AS6204R-EB47:/volume1/NuovoArchivio # ls -la prova
---------- 1 root root 0 Aug 31 12:18 prova
It's all working fine on other shares, only this one is problematic.
- orion
- Posts: 3485
- Joined: Wed May 29, 2013 11:09 am
Re: Files and directories created with 000 permission
I don't join AD domain. So I cannot test your case. Anyway, can you post effective permission about admin (ADM web -> File Explorer -> select "prova" -> Properties -> permission -> Effective permission -> select "admin" user)? I guess you might remove all permissions under your domain PC on that directory.
If it's the only problematic directory, it might be an easy way to remove the shared directory, then create it again.
If it's the only problematic directory, it might be an easy way to remove the shared directory, then create it again.