Hi, i have made a partition i want to share access to read/write for all users.
the partition is
/dev/sda9
type: linux native
mount: /DATA
what do i need to do?
Hi, i have made a partition i want to share access to read/write for all users.
the partition is
/dev/sda9
type: linux native
mount: /DATA
what do i need to do?
chgrp users /DATA
chmod g+ws /DATA
thanks, did it this way chmod 777 /DATA is that ok?
I got this error doing it your way
chgrp: changing group of `/DATA’: Operation not permitted
chgrp: changing group of `/DATA': Operation not permitted
Such commands have to be done as root.
Thanks worked that time lol!
There is no good reason to give world write access. This would allow even processes running as nobody to write to files and directories. The number 777 should be banned from Linux usage.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Agreed… doesn’t make sense. Make the directory owned by ‘users’ and
let members of ‘users’ write to it. All users are, by default, members
of the ‘users’ group.
Also make sure the permissions stay there on a reboot when the mount is
redone. You may need to modify /etc/fstab to have those be persistent
on bootup.
Good luck.
ken yap wrote:
> roy1983;1894883 Wrote:
>> thanks, did it this way chmod 777 /DATA is that ok?
>>
>> I got this error doing it your way
>> chgrp: changing group of `/DATA’: Operation not permitted
>
> There is no good reason to give world write access. This would allow
> even processes running as nobody to write to files and directories. The
> number 777 should be banned from Linux usage.
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFJGu6L3s42bA80+9kRAvc6AJ44Y9zfgeyFqinx62CD41nYqSyYcgCeId2U
EQq1k8mmGJ9HtPFIPX2Qo7g=
=2hZH
-----END PGP SIGNATURE-----